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

Re: [xmlblaster] Does XPATH filter apply to ClientTags?





TRACE [TopicHandler-/node/xmlBlaster_192_168_0_6_3412/topic/INFO] Sending of
message from /node/xmlBlaster_192_168_0_6_3412/client/bschuhma/-3 to
/node/xmlBlaster_192_168_0_6_3412/client/bschuhma/-2 failed:
java.lang.NullPointerException
CALL [MsgErrorHandler-/node/xmlBlaster_192_168_0_6_3412/client/bschuhma/-2]
Error handling started: Problems with 0 MsgQueueEntries -
XmlBlasterException serverSideException=true
node=[xmlBlaster_192_168_0_6_3412]
location=[DeliveryManager-callback:/node/xmlBlaster_192_168_0_6_3412/client/
bschuhma/-2]
java.lang.NullPointerException
stackTrace=java.lang.NullPointerException at
org.xmlBlaster.engine.TopicHandler.invokeCallback(TopicHandler.java:1023)
at org.xmlBlaster.engine.TopicHandler.invokeCallback(TopicHandler.java:946)
at org.xmlBlaster.engine.TopicHandler.publish(TopicHandler.java:576) at
org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1542) at
org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1372) at
org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1366) at
org.xmlBlaster.engine.XmlBlasterImpl.publishArr(XmlBlasterImpl.java:205)
...
-----------------------------------------------------


The NPE happening on AccessPlugin exception is not a nice
behaviour, i'll look at it.

Ok , this is fixed now in the current cvs,

best regards,

Marcel

PS: You can play like this to test your content/XPath:

java org.xmlBlaster.Main
java javaclients.HelloWorldPublish -content "<ent_21/><site_2148/><grp_13/><agent_100/>"
java javaclients.HelloWorldSubscribe -oid Hello -filter.type XPathFilter -filter.query "//*[contains(name(),'agent_100')]"