getParentExtension() problem
Posted: 27 Dec 2010, 21:25
ClassName t = (ClassName)getParentExtension();
t.sendGameTimer();
this returns an error
and when i request this
t.getGameTimer();
the above also returns a null pointer exception;
what should i do?
t.sendGameTimer();
this returns an error
Code: Select all
trollers.ExtensionController -
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
Description: Error while handling client request in extension: { Ext: Tombola, T
ype: JAVA, Lev: ZONE, { Zone: ZoneName}, {} }
Extension Cmd: ready
+--- --- ---+
Stack Trace:
+--- --- ---+
GameCommandRequests.handleClientRequest(GameCommandRequests.java:30)
com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.j
and when i request this
t.getGameTimer();
the above also returns a null pointer exception;
what should i do?