[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-635) Closing connections without clearing ExceptionListener might cause NPE on remoting
Tim Fox (JIRA)
jira-events at jboss.com
Mon Dec 18 11:35:37 EST 2006
[ http://jira.jboss.com/jira/browse/JBMESSAGING-635?page=comments#action_12348959 ]
Tim Fox commented on JBMESSAGING-635:
-------------------------------------
This is a bug in remoting,
> 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: Clebert Suconic
> 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
More information about the jboss-jira
mailing list