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

testObjectResolver fails for Serial Marshaller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.CR4
    • None
    • Serial
    • None
    • Medium

      <failure message="expected:<org.jboss.test.marshalling.SimpleMarshallerTests$TestSerializable@0> but was:<17>" type="java.lang.AssertionError">java.lang.AssertionError: expected:<org.jboss.test.marshalling.SimpleMarshallerTests$TestSerializable@0> but was:<17>
      at org.testng.AssertJUnit.fail(AssertJUnit.java:55)
      at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:360)
      at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:76)
      at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:84)
      at org.jboss.test.marshalling.SimpleMarshallerTests$50.runRead(SimpleMarshallerTests.java:1753)
      at org.jboss.test.marshalling.TestBase.runReadWriteTest(TestBase.java:120)
      at org.jboss.test.marshalling.SimpleMarshallerTests.testObjectResolver(SimpleMarshallerTests.java:1743)
      </failure>
      <system-out>Read Configuration = org.jboss.marshalling.MarshallingConfiguration@65e757b7: objectResolver=<org.jboss.test.marshalling.SimpleMarshallerTests$TestObjectResolver@372fe3a5> creator=<org.jboss.marshalling.reflect.SunReflectiveCreator@7f157b41> instanceCount=256 classCount=64 bufferSize=512 version=-1
      Marshaller = org.jboss.marshalling.serial.SerialMarshaller@290a81f1 (version set to -1)
      writeReplace() visited
      Write Configuration = org.jboss.marshalling.MarshallingConfiguration@3b7fd72f: objectResolver=<org.jboss.test.marshalling.SimpleMarshallerTests$TestObjectResolver@372fe3a5> creator=<org.jboss.marshalling.reflect.SunReflectiveCreator@7f157b41> instanceCount=256 classCount=64 bufferSize=512 version=-1
      Unmarshaller = org.jboss.marshalling.serial.SerialUnmarshaller@46086d2d (version set to -1)
      </system-out>

            johnbailey_jira John Bailey (Inactive)
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: