[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster-devel] XmlBlaster internal error



Hello Dmitriy,
I tried to reproduce the error but I could not get the behaviour. You say the publisher had always the same public sessionId. Where they running simultaneously ? Note that having several instances of the same sessions (you get this by specifying the same public sessionId on several instances of the client) leads to unpredictable results (see the client.failsafe requirement on that).


Another question is the abnormal termination of the subscriber: did you deliberately terminate them or did you get an error ? If you got an error, what was the error ?

I tried with a CTRL-C both before and after subscribing but nothing strange happened.

Regards
Michele


Dmitriy Kolasnikov wrote:
Hello,

The following error has occured when I was trying to publish a message. Basically, I was running HelloWorldPublish with the persistent mode on and the same session ID on every connection. After being abnormally terminated several times, the subscriber was up and running. I decided to restart the HelloWorldPublish and the error occurred right after the the TopicProperty has been added on the first publish.

------------Error Message------------
ERROR HelloWorldPublish] XmlBlasterException serverSideException=true node=[xmlBlaster_10_10_10_113_3412] location=[RequestBroker-/node/xmlBlaster_10_10_10_113_3412]
java.lang.NullPointerException
stackTrace=java.lang.NullPointerException
	at org.xmlBlaster.engine.TopicHandler.invokeCallback(TopicHandler.java:939)
	at org.xmlBlaster.engine.TopicHandler.publish(TopicHandler.java:576)
	at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1581)
	at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1411)
	at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1405)
	at org.xmlBlaster.engine.XmlBlasterImpl.publishArr(XmlBlasterImpl.java:205)
	at org.xmlBlaster.protocol.corba.ServerImpl.publishArr(ServerImpl.java:144)
	at org.xmlBlaster.protocol.corba.serverIdl.ServerPOATie.publishArr(ServerPOATie.java:63)
	at org.xmlBlaster.protocol.corba.serverIdl.ServerPOA._invoke(ServerPOA.java:96)
	at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:247)
	at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:496)
	at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:635)
errorCode=internal.nullpointer message=errorCode=internal.publish: An internal error occurred when processing a publish() request. /node/xmlBlaster_10_10_10_113_3412/client/TEST/2
	at org.xmlBlaster.util.XmlBlasterException.convert(XmlBlasterException.java:643)
	at org.xmlBlaster.util.XmlBlasterException.convert(XmlBlasterException.java:632)
	at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1601)
	at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1411)
	at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1405)
	at org.xmlBlaster.engine.XmlBlasterImpl.publishArr(XmlBlasterImpl.java:205)
	at org.xmlBlaster.protocol.corba.ServerImpl.publishArr(ServerImpl.java:144)
	at org.xmlBlaster.protocol.corba.serverIdl.ServerPOATie.publishArr(ServerPOATie.java:63)
	at org.xmlBlaster.protocol.corba.serverIdl.ServerPOA._invoke(ServerPOA.java:96)
	at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:247)
	at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:496)
	at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:635)
versionInfo=version=0.849,os.name=Windows 2000,os.version=5.0,java.vm.vendor=Sun Microsystems Inc.,java.vm.version=1.4.1_03-b02,os.arch=x86,build.timestamp=07/21/2003 09:25 AM,build.java.vendor=Sun Microsystems Inc.,build.java.version=1.4.1_03
errorCode description=A null pointer is an xmlBlaster internal programming error, please post it to the mailing list.
--------End of Error Message------------

Can someone point out what might cause such error?


Thank you,

Dmitriy Kolasnikov




--
Michele Laghi
mailto:laghi at swissinfo.org
tel. +46 8 7492952 / mob. +46 70 4103964
http://www.geocities.com/laghi2000
http://www.xmlBlaster.org