[jboss-jira] [JBoss JIRA] (AS7-4889) Subsequent create/close of javax.naming.Context leads to IllegalStateException
Miroslav Novak (JIRA)
jira-events at lists.jboss.org
Mon May 28 07:39:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-4889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696476#comment-12696476 ]
Miroslav Novak commented on AS7-4889:
-------------------------------------
I hit this issue in EAP 6 ER8 and didn't try with AS7. I'm just building latest AS7 and will try again. It seems that this exception is just logged and not thrown.
> Subsequent create/close of javax.naming.Context leads to IllegalStateException
> -------------------------------------------------------------------------------
>
> Key: AS7-4889
> URL: https://issues.jboss.org/browse/AS7-4889
> Project: Application Server 7
> Issue Type: Bug
> Components: Remoting
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Miroslav Novak
> Assignee: David Lloyd
> Priority: Minor
> Fix For: 7.1.3.Final (EAP)
>
> Attachments: FunnyLookUpTest.java
>
>
> When standalone client tries to create/close javax.naming.Context multiple times in a row then IllegalStateException will occur.
> Exception:
> {code}
> ERROR: A channel event listener threw an exception
> java.lang.IllegalStateException
> at org.xnio.Buffers$4.getResource(Buffers.java:1782)
> at org.xnio.Buffers$4.getResource(Buffers.java:1768)
> at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:84)
> at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:72)
> at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:45)
> at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
> at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189)
> at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103)
> at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
> at org.xnio.nio.NioHandle.run(NioHandle.java:90)
> at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)
> {code}
> I hit this problem for 28th iteration. There is 500ms sleep between subsequent tries.
> Reproducer attached. I'm setting lower priority because this is not common use case.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list