ID:1669907
 
Resolved
On reboot, client vars didn't fully initialize.
BYOND Version:507
Operating System:Windows 8 Pro 64-bit
Web Browser:Chrome 37.0.2062.102
Applies to:Webclient
Status: Resolved (507.1254)

This issue has been resolved.
When a game reboots, the interface is loaded and the map is drawn. However, code working with client objects breaks with errors like:

runtime error: Cannot read .some_variable

It's not even null.some_variable, it just starts with that dot. This happens even if there's an if(client) before the variable access attempt.

This is fixed when the page is refreshed.
Can you provide a snippet of the code in question?
I'm trying to test this, but the web client won't get past this upon server reboot:
// etc.
Version: 507, 498
Activating key in key message
Key activated
Getting key after key message
(3 times) Key received
This is with a project that doesn't have any code. The client won't start loading unless I refresh, which defeats the purpose.

edit: If I don't use the default skin, it seems to reboot properly.

Luckily, Super Saiyan X's Balls reboots successfully with the webclient, and I was able get this error upon rebooting:
/*
1
2
runtime error: Cannot read .name
proc name: New (/client/New)
source file: Balls of Reaction.dm,8
usr: null
src: Kaiochao (/client)
call stack:
Kaiochao (/client): New()
*/


// added to the very top of Balls of Reaction.dm:
client
var obj/o = new /obj { name = "test" }

New()
world.log << 1
. = ..()
world.log << 2
world.log << o.name // line 8

I also tried this in Login(), getting the same errror.
/*
1
2
runtime error: Cannot read .name
proc name: Login (/mob/Login)
source file: Balls of Reaction.dm,13
usr: Kaiochao (/mob)
src: Kaiochao (/mob)
call stack:
Kaiochao (/mob): Login()
*/

client
var obj/o = new /obj { name = "test" }

New()
world.log << 1
. = ..()
world.log << 2

mob
Login()
..()
spawn(10)
world.log << client.o.name


The error is not present with Dream Seeker.

It looks like objects created in /client variable initialization aren't being managed properly in the world.
Lummox JR resolved issue with message:
On reboot, client vars didn't fully initialize.