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

SimpleMarshallerTests.testConcurrentHashMap fails on JDK8

    XMLWordPrintable

Details

    Description

      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:367)
      at java.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1443)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.jboss.marshalling.reflect.SerializableClass.callReadObject(SerializableClass.java:312)
      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)

      Attachments

        Issue Links

          Activity

            People

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: