[
http://jira.jboss.com/jira/browse/JBMESSAGING-635?page=all ]
Clebert Suconic updated JBMESSAGING-635:
----------------------------------------
Attachment: jboss-remoting.jar
Closing connections without clearing ExceptionListener might cause
NPE on remoting
----------------------------------------------------------------------------------
Key: JBMESSAGING-635
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-635
Project: JBoss Messaging
Issue Type: Bug
Components: JMS Remoting
Affects Versions: 1.0.1.GA
Reporter: Clebert Suconic
Assigned To: Tyronne Wickramarathne
Fix For: 1.0.2.CR1
Attachments: jboss-remoting.jar
This leads into exception:
for (int i=0;i<100;i++)
{
Connection conn = factoryServer1.createConnection();
conn.setExceptionListener(new LocalListener());
conn.close();
}
This is the exception:
java.lang.NullPointerException
at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:114)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
I don't know if we should setException(null) on ConnectionAspect:handleClose or if we
should look up for a bug on remoting
--
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