Error on Flash Builder 4.7

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

jeff
Posts: 14
Joined: 18 Jan 2013, 06:42
Contact:

Error on Flash Builder 4.7

Postby jeff » 15 Mar 2013, 11:49

TypeError: Error #2007: Parameter value must be non-null.
at flash.utils::ByteArray/writeUTF()
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/binEncode_UTF_STRING()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:716]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/encodeObject()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:355]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/obj2bin()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:72]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/object2binary()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:56]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/encodeObject()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:395]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/obj2bin()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:72]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/object2binary()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:56]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/encodeObject()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:395]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/obj2bin()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:72]
at com.smartfoxserver.v2.protocol.serialization::DefaultSFSDataSerializer/object2binary()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/protocol/serialization/DefaultSFSDataSerializer.as:56]
at com.smartfoxserver.v2.entities.data::SFSObject/toBinary()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/entities/data/SFSObject.as:150]
at com.smartfoxserver.v2.core::SFSIOHandler/onDataWrite()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/core/SFSIOHandler.as:285]
at com.smartfoxserver.v2.core::SFSProtocolCodec/onPacketWrite()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/core/SFSProtocolCodec.as:73]
at com.smartfoxserver.v2.bitswarm::BitSwarmClient/send()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/bitswarm/BitSwarmClient.as:268]
at com.smartfoxserver.v2::SmartFox/send()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/SmartFox.as:1648]
at openspace::OpenSpaceMap/onOpenSpaceInitialized()[D:\Compass\Ceria Dunia\Flash Source\src\openspace\OpenSpaceMap.as:138]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.smartfoxserver.openspace.components.flash::OpenSpace/forwardEvent()
at com.smartfoxserver.openspace.engine.control::OpenSpaceController2X/completeInit()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer/OpenSpace/Client/Classes/src/com/smartfoxserver/openspace/engine/control/OpenSpaceController2X.as:1927]
at com.smartfoxserver.openspace.engine.control::OpenSpaceController2X/onExtensionResponse()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer/OpenSpace/Client/Classes/src/com/smartfoxserver/openspace/engine/control/OpenSpaceController2X.as:1478]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.smartfoxserver.v2.controllers::ExtensionController/handleMessage()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/controllers/ExtensionController.as:43]
at com.smartfoxserver.v2.core::SFSProtocolCodec/dispatchRequest()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/core/SFSProtocolCodec.as:150]
at com.smartfoxserver.v2.core::SFSProtocolCodec/onPacketRead()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/core/SFSProtocolCodec.as:54]
at com.smartfoxserver.v2.core::SFSIOHandler/handlePacketData()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/core/SFSIOHandler.as:252]
at com.smartfoxserver.v2.core::SFSIOHandler/onDataRead()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/core/SFSIOHandler.as:111]
at com.smartfoxserver.v2.bitswarm::BitSwarmClient/onSocketData()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/bitswarm/BitSwarmClient.as:456]


I randomly get this kind of error when I compile in Flash Builder 4.7
any idea on this?
User avatar
Bax
Site Admin
Posts: 4332
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Error on Flash Builder 4.7

Postby Bax » 17 Mar 2013, 11:07

The error seems to generate at this line of your code:

Code: Select all

at openspace::OpenSpaceMap/onOpenSpaceInitialized()[D:\Compass\Ceria Dunia\Flash Source\src\openspace\OpenSpaceMap.as:138]

Can you please review it?
Paolo Bax
The SmartFoxServer Team

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 3 guests