[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
Fri May 25 04:02:47 EDT 2012


Miroslav Novak created AS7-4889:
-----------------------------------

             Summary: 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)


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