-
Bug
-
Resolution: Duplicate
-
Major
-
1.4.8.Final
-
None
SerialMarshaller produces the error :
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 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:483)
at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:284)
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:1344)
at org.jboss.test.marshalling.TestBase.runReadWriteTest(TestBase.java:105)
at org.jboss.test.marshalling.SimpleMarshallerTests.testConcurrentHashMap(SimpleMarshallerTests.java:1342)
Caused by: an exception which occurred:
in object java.util.concurrent.ConcurrentHashMap@ca6147a4
when using Java 8
- blocks
-
JBMAR-160 SimpleMarshallerTests.testConcurrentHashMap fails on Java 8
- Resolved