[
http://jira.jboss.com/jira/browse/JBESB-527?page=comments#action_12360668 ]
Kevin Conner commented on JBESB-527:
------------------------------------
The NPE seen by Tom is different to the one generated by the filter code.
Tom's NPE is happening because an IO exception has during the processing of a
NamingContext on one thread while a second thread is also accessing the same context.
This appears to be a race condition in the AS code caused by its caching of the contexts.
NullPointerException while load testing jboss messaging
-------------------------------------------------------
Key: JBESB-527
URL:
http://jira.jboss.com/jira/browse/JBESB-527
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.2 Milestone Release 2
Environment: Mac OS X 10.4.9, java 1.5.0_07, using jsbossesb-server built from
trunk
Reporter: Tom Cunningham
Assigned To: Mark Little
Was load testing the new jboss-messaging components, and I built the trunk
jbossesb-server. Deployed the HelloWorldAction quickstart example and then loadtested
it, and after about a minute, I started getting an infrequent NullPointerException.
13:05:04,379 ERROR [JmsGatewayListener] Courier
<org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.deliverAsync(Message) FAILED
org.jboss.soa.esb.couriers.CourierException: java.lang.NullPointerException
at org.jboss.internal.soa.esb.couriers.JmsCourier.deliver(JmsCourier.java:147)
at
org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.deliver(TwoWayCourierImpl.java:158)
at
org.jboss.soa.esb.listeners.gateway.JmsGatewayListener.doRun(JmsGatewayListener.java:163)
at
org.jboss.soa.esb.listeners.lifecycle.AbstractThreadedManagedLifecycle.run(AbstractThreadedManagedLifecycle.java:115)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.NullPointerException
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at
org.jboss.internal.soa.esb.couriers.JmsCourier.createMessageProducer(JmsCourier.java:251)
at org.jboss.internal.soa.esb.couriers.JmsCourier.deliver(JmsCourier.java:143)
... 4 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira