Uploaded image for project: 'JBoss Marshalling'
  1. JBoss Marshalling
  2. JBMAR-177

org.jboss.test.marshalling.SimpleMarshallerTests.testConcurrentHashMap failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.4.10.Final
    • Test Suite

      We see failing org.jboss.test.marshalling.SimpleMarshallerTests#testConcurrentHashMap several times with two different exceptions:

      java.lang.IllegalStateException: putFields() may not be called now
      	at org.jboss.marshalling.serial.SerialObjectOutputStream.putFields(SerialObjectOutputStream.java:232)
      	at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1404)
      	at org.jboss.marshalling.serial.SerialMarshaller.writeSerialData(SerialMarshaller.java:293)
      	at org.jboss.marshalling.serial.SerialMarshaller.doWriteObject(SerialMarshaller.java:273)
      	at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58)
      	at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111)
      	at org.jboss.test.marshalling.SimpleMarshallerTests$46.runWrite(SimpleMarshallerTests.java:1350)
      	at org.jboss.test.marshalling.TestBase.runReadWriteTest(TestBase.java:105)
      	at org.jboss.test.marshalling.SimpleMarshallerTests.testConcurrentHashMap(SimpleMarshallerTests.java:1348
      
      java.io.StreamCorruptedException: Unexpected lead byte 0
      	at org.jboss.marshalling.serial.SerialUnmarshaller.badLeadByte(SerialUnmarshaller.java:587)
      	at org.jboss.marshalling.serial.SerialUnmarshaller.doReadObject(SerialUnmarshaller.java:331)
      	at org.jboss.marshalling.serial.BlockUnmarshaller.readObject(BlockUnmarshaller.java:136)
      	at org.jboss.marshalling.serial.BlockUnmarshaller.readObject(BlockUnmarshaller.java:122)
      	at org.jboss.marshalling.MarshallerObjectInputStream.readObjectOverride(MarshallerObjectInputStream.java:53)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
      	at java.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1443)
      	at org.jboss.marshalling.serial.PlainDescriptor.doReadObject(PlainDescriptor.java:94)
      	at org.jboss.marshalling.serial.PlainDescriptor.readSerial(PlainDescriptor.java:68)
      	at org.jboss.marshalling.serial.SerialUnmarshaller.doReadSerialObject(SerialUnmarshaller.java:345)
      	at org.jboss.marshalling.serial.SerialUnmarshaller.doReadObject(SerialUnmarshaller.java:284)
      	at org.jboss.marshalling.serial.SerialUnmarshaller.doReadObject(SerialUnmarshaller.java:74)
      	at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
      	at org.jboss.test.marshalling.SimpleMarshallerTests$46.runRead(SimpleMarshallerTests.java:1356)
      	at org.jboss.test.marshalling.TestBase.runReadWriteTest(TestBase.java:116)
      	at org.jboss.test.marshalling.SimpleMarshallerTests.testConcurrentHashMap(SimpleMarshallerTests.java:1348)
      

            Unassigned Unassigned
            istraka@redhat.com Ivan Straka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: