Problem with Aglets
843793Oct 19 2007 — edited Jul 9 2008Hello,
I'm making an aglet, but i have a big problem to solve.
I'm using a variable String hosts[] and the tahiti show this message
Exception in thread "No.1]" java.lang.NullPointerException
at MobileAgent.run(MobileAgent.java:77)
at com.ibm.aglets.SystemMessage.handle(Unknown Source)
at com.ibm.aglets.AgletThread.run(Unknown Source)
ok, i started the variable String hosts[] = new String[3] then the tahiti show this message
*java.io.IOException: FileNotFound: /aglets/public/[Ljava/lang/String;.class*
at com.ibm.aglets.MAFAgentSystem_AgletsImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.aglets.MAFAgentSystem_AgletsImpl.readData(Unknown Source)
at com.ibm.aglets.MAFAgentSystem_AgletsImpl.fetch_class(Unknown Source)
at com.ibm.maf.atp.ConnectionHandler.handleFetchRequest(Unknown Source)
at com.ibm.maf.atp.ConnectionHandler.handleRequest(Unknown Source)
at com.ibm.maf.atp.ConnectionHandler.handle(Unknown Source)
at com.ibm.maf.atp.ConnectionHandler.run(Unknown Source)
code = 400
com.ibm.maf.MAFExtendedException: INTERNAL ERROR
at com.ibm.maf.atp.MAFAgentSystem_ATPClient.receive_agent0(Unknown Sourc e)
at com.ibm.maf.atp.MAFAgentSystem_ATPClient.access$000(Unknown Source)
at com.ibm.maf.atp.MAFAgentSystem_ATPClient$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.maf.atp.MAFAgentSystem_ATPClient.receive_agent(Unknown Source )
at com.ibm.aglets.LocalAgletRef.dispatch(Unknown Source)
at com.ibm.aglets.LocalAgletRef.dispatch(Unknown Source)
at com.ibm.aglets.LocalAgletRef.dispatch(Unknown Source)
at com.ibm.aglet.Aglet.dispatch(Unknown Source)
at MobileAgent.run(MobileAgent.java:97)
at com.ibm.aglets.SystemMessage.handle(Unknown Source)
at com.ibm.aglets.AgletThread.run(Unknown Source)
atp://bebe:2000, Integrity=DIGEST, Confidentiality=SHORTSECRETKEY, Timeout=0 Mob ileAgent
someone could help me?
thanks.