Details
-
Bug
-
Resolution: Obsolete
-
Minor
-
7.0.0.Alpha1
-
None
Description
Occasionally while attempting to build AS 7 using mvn clean install or mvn install, the build will freeze while attempting to execute the ExistingConnectionRemoteProxyControllerTest test (the freeze only occurs after an EOFException occurs during the test). The exception and resulting freeze cannot be reproduced with any regularity. It appears to be the result of some sort of race condition. Below is the stack trace produced when the issue occurs:
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 sec
Running org.jboss.as.controller.test.ExistingConnectionRemoteProxyControllerTest
Case
connected
------------
connected
connected
connected
Mar 6, 2011 3:19:52 PM org.jboss.as.protocol.ConnectionImpl safeHandleMessage
ERROR: Failed to read a message
java.io.EOFException: Read past end of file
at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:126)
at org.jboss.marshalling.SimpleDataInput.readByte(SimpleDataInput.java:214)
at org.jboss.as.protocol.SimpleByteDataInput.readByte(SimpleByteDataInput.java:80)
at org.jboss.as.protocol.mgmt.ManagementRequestHeader.read(ManagementRequestHeader.java:67)
at org.jboss.as.protocol.mgmt.ManagementProtocolHeader.<init>(ManagementProtocolHeader.java:55)
at org.jboss.as.protocol.mgmt.ManagementRequestHeader.<init>(ManagementRequestHeader.java:47)
at org.jboss.as.protocol.mgmt.ManagementHeaderMessageHandler.handle(ManagementHeaderMessageHandler.java:53)
at org.jboss.as.protocol.mgmt.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:59)
at org.jboss.as.protocol.ConnectionImpl.safeHandleMessage(ConnectionImpl.java:254)
at org.jboss.as.protocol.ConnectionImpl$1$1.run(ConnectionImpl.java:213)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Attachments
Issue Links
- is duplicated by
-
JBAS-9241 Test Hang in org.jboss.as.controller.test.ExistingConnectionRemoteProxyControllerTestCase
- Resolved