I have tried to run the sample application SimpleApp with its WPersonNamePresence2 widget and a discoverer as stated in the installation instructions on http://contexttoolkit.sourceforge.net/documentation/InstallationGuide.html. (I use the ctk-12292003 release.)
However, after starting the widget the discoverer outputs some scary info about a NullPointerException like this:
id=Discoverer_mr-data_6000
LeaseKeeper <removeLease>
LeasesKeeper <removeLease> new leases ={}
Lease nbTimeSlots = 10000
Lease - start date=Fri Aug 27 16:34:16 CEST 2004
- end=Fri Sep 03 15:14:16 CEST 2004
java.lang.NullPointerException
at context.arch.comm.protocol.HTTPClientSocket.stripReplyProtocol(HTTPClientSocket.java:156)
at context.arch.comm.CommunicationsObject.sendRequest(CommunicationsObject.java:523)
at context.arch.comm.CommunicationsObject.sendRequest(CommunicationsObject.java:607)
at context.arch.comm.CommunicationsObject.handleIncomingRequest(CommunicationsObject.java:882)
at context.arch.comm.protocol.HTTPMulticastUDPSocket.handleIncomingRequest(HTTPMulticastUDPSocket.java:74)
at context.arch.comm.protocol.MulticastUDPSocket.run(MulticastUDPSocket.java:188)
at java.lang.Thread.run(Unknown Source)
HTTPClientSocket stripReplyProtocol Exception: java.lang.NullPointerException
CommunicationsObject handleIncomingRequest(packet) ProtocolException: context.arch.comm.protocol.ProtocolException:
java.lang.NullPointerException
at context.arch.comm.protocol.HTTPClientSocket.stripReplyProtocol(HTTPClientSocket.java:156)
at context.arch.comm.CommunicationsObject.sendRequest(CommunicationsObject.java:523)
I have tried recompiling the Context Toolkit with Java 1.4.2_05 and 1.5.0 beta 2, but the null pointer exception still occur. (Additionally, I tried java 1.3.1_12 but since the toolkit uses classes not included in that release it didn't compile.)
Have anyone encountered this before? and do you know of any solution?
--johan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have tried to run the sample application SimpleApp with its WPersonNamePresence2 widget and a discoverer as stated in the installation instructions on http://contexttoolkit.sourceforge.net/documentation/InstallationGuide.html. (I use the ctk-12292003 release.)
However, after starting the widget the discoverer outputs some scary info about a NullPointerException like this:
id=Discoverer_mr-data_6000
LeaseKeeper <removeLease>
LeasesKeeper <removeLease> new leases ={}
Lease nbTimeSlots = 10000
Lease - start date=Fri Aug 27 16:34:16 CEST 2004
- end=Fri Sep 03 15:14:16 CEST 2004
java.lang.NullPointerException
at context.arch.comm.protocol.HTTPClientSocket.stripReplyProtocol(HTTPClientSocket.java:156)
at context.arch.comm.CommunicationsObject.sendRequest(CommunicationsObject.java:523)
at context.arch.comm.CommunicationsObject.sendRequest(CommunicationsObject.java:607)
at context.arch.comm.CommunicationsObject.handleIncomingRequest(CommunicationsObject.java:882)
at context.arch.comm.protocol.HTTPMulticastUDPSocket.handleIncomingRequest(HTTPMulticastUDPSocket.java:74)
at context.arch.comm.protocol.MulticastUDPSocket.run(MulticastUDPSocket.java:188)
at java.lang.Thread.run(Unknown Source)
HTTPClientSocket stripReplyProtocol Exception: java.lang.NullPointerException
CommunicationsObject handleIncomingRequest(packet) ProtocolException: context.arch.comm.protocol.ProtocolException:
java.lang.NullPointerException
at context.arch.comm.protocol.HTTPClientSocket.stripReplyProtocol(HTTPClientSocket.java:156)
at context.arch.comm.CommunicationsObject.sendRequest(CommunicationsObject.java:523)
I have tried recompiling the Context Toolkit with Java 1.4.2_05 and 1.5.0 beta 2, but the null pointer exception still occur. (Additionally, I tried java 1.3.1_12 but since the toolkit uses classes not included in that release it didn't compile.)
Have anyone encountered this before? and do you know of any solution?
--johan
hello johan,
have a look at my new Thread in this sektion...
Martin