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

Re: [xmlblaster] java.lang.NullPointerException in org.xmlBlaster.engine.dispatch.CbDispatchConnection.doSend



Hi Björn,
I suspect this is due to the change of session name. I have added some
better logging in this case and it will not not authorize instead of
throwing a NPE but the original problem is not solved yet.

If you have the opportunity could you check out the new code from svn,
try it and send back the log ? It would help to track down the original
error.

Regards
Michele

br wrote:
> Hi Michele,
> 
> I get a similar error log, when starting xmlBlaster using the newest
> version.
> 
> Cheers,
> Bjoern
> 
> 
> wrapper  | --> Wrapper Started as Console
> wrapper  | Launching a JVM...
> jvm 1    | Wrapper (Version 3.1.2) http://wrapper.tanukisoftware.org
> jvm 1    |
> jvm 1    | Property: Loading xmlBlaster.properties from directory
> C:\pia\xmlBlasterServer\conf
> jvm 1    | Property: Loading
> \pia\xmlBlasterServer/conf/xmlBlaster.properties from directory
> C:\pia\xmlBlasterServer\conf
> jvm 1    | Property: Loading
> \pia\xmlBlasterServer/conf/xmlBlaster.properties from directory
> C:\pia\xmlBlasterServer\conf
> jvm 1    | Property: Added 12 property pairs
> jvm 1    | Property: Loading
> \pia\xmlBlasterServer/conf/xmlBlaster.properties from directory
> C:\pia\xmlBlasterServer\conf
> jvm 1    | Property: Added 11 property pairs
> jvm 1    |
> jvm 1    |
> --------------------------------------------------------------------------
> jvm 1    | | XmlBlaster cluster node <Forstware> v1.3 #15545M 10/09/2006
> 07:37 PM     |
> jvm 1    | | READY - no keyboard input available
> |
> jvm 1    |
> --------------------------------------------------------------------------
> jvm 1    | java.lang.NullPointerException
> jvm 1    |      at
> org.xmlBlaster.authentication.plugins.htpasswd.HtPasswd.isAuthorized(HtPassw
> d.java:225)
> jvm 1    |      at
> org.xmlBlaster.authentication.plugins.htpasswd.Session.isAuthorized(Session.
> java:133)
> jvm 1    |      at
> org.xmlBlaster.engine.XmlBlasterImpl.importAndAuthorize(XmlBlasterImpl.java:
> 397)
> jvm 1    |      at
> org.xmlBlaster.engine.XmlBlasterImpl.subscribe(XmlBlasterImpl.java:86)
> jvm 1    |      at
> org.xmlBlaster.client.protocol.local.LocalConnection.subscribe(LocalConnecti
> on.java:197)
> jvm 1    |      at
> org.xmlBlaster.client.dispatch.ClientDispatchConnection.subscribe(ClientDisp
> atchConnection.java:282)
> jvm 1    |      at
> org.xmlBlaster.client.dispatch.ClientDispatchConnection.doSend(ClientDispatc
> hConnection.java:150)
> jvm 1    |      at
> org.xmlBlaster.util.dispatch.DispatchConnection.send(DispatchConnection.java
> :231)
> jvm 1    |      at
> org.xmlBlaster.util.dispatch.DispatchConnectionsHandler.send(DispatchConnect
> ionsHandler.java:430)
> jvm 1    |      at
> org.xmlBlaster.util.dispatch.DispatchWorker.run(DispatchWorker.java:160)
> jvm 1    |      at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.ja
> va:727)
> jvm 1    |      at java.lang.Thread.run(Thread.java:595)
> jvm 1    | java.lang.Exception: Stack trace
> jvm 1    |      at java.lang.Thread.dumpStack(Thread.java:1158)
> jvm 1    |      at
> org.xmlBlaster.client.ClientErrorHandler.handleError(ClientErrorHandler.java
> :77)
> jvm 1    |      at
> org.xmlBlaster.util.dispatch.DispatchManager.givingUpDelivery(DispatchManage
> r.java:348)
> jvm 1    |      at
> org.xmlBlaster.util.dispatch.DispatchManager.internalError(DispatchManager.j
> ava:867)
> jvm 1    |      at
> org.xmlBlaster.util.dispatch.DispatchManager.handleWorkerException(DispatchM
> anager.java:459)
> jvm 1    |      at
> org.xmlBlaster.util.dispatch.DispatchWorker.run(DispatchWorker.java:193)
> jvm 1    |      at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.ja
> va:727)
> jvm 1    |      at java.lang.Thread.run(Thread.java:595)
> wrapper  | CTRL-C trapped.  Shutting down.
> wrapper  | CTRL-C trapped.  Forcing immediate shutdown.
> wrapper  | JVM did not exit on request, terminated
> wrapper  | CTRL-C trapped.  Forcing immediate shutdown.
> wrapper  | <-- Wrapper Stopped 
> 
>