LoadVars creating an error on ServerSide!

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
Francois
Posts: 35
Joined: 15 Mar 2006, 14:00

LoadVars creating an error on ServerSide!

Post by Francois »

Code: Select all

Exception in thread "loadvar_1" java.lang.NullPointerException
        at it.gotoandplay.smartfoxserver.lib.http.LoadVars.run(LoadVars.java:196
)
        at java.lang.Thread.run(Unknown Source)
here is what i get when i try to run this...

Code: Select all

	// LoadVars
	var send_lv = new LoadVars();
	send_lv.action = "clear";
	send_lv.send(LOADVARS_URL, LOADVARS_METHOD);
Any idea? Thanks!
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Hello,
thanks for reporting, there's a bug with the way the send() method handles the end of the communication with the remote server.

Here we provide the fix

Installation:
Simply copy the mainLib.as file to the Server/lib/ folder and restart your extension.

Hope this helps :)
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply