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

testExternalizerAnnotation fails for Serial marshaller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 1.2.0.CR4
    • None
    • Serial
    • None

      The error is:

      <failure message="org.jboss.marshalling.serial.ExternalizedObject cannot be cast to org.jboss.test.marshalling.SimpleMarshallerTests$TestExternalizerWithAnnotation" type="java.lang.ClassCastException">java.lang.ClassCastException: org.jboss.marshalling.serial.ExternalizedObject cannot be cast to org.jboss.test.marshalling.SimpleMarshallerTests$TestExternalizerWithAnnotation
      at org.jboss.test.marshalling.SimpleMarshallerTests$44.runRead(SimpleMarshallerTests.java:1320)
      at org.jboss.test.marshalling.TestBase.runReadWriteTest(TestBase.java:127)
      at org.jboss.test.marshalling.SimpleMarshallerTests.testExternalizerAnnotation(SimpleMarshallerTests.java:1305)
      </failure>
      <system-out>Read Configuration = org.jboss.marshalling.MarshallingConfiguration@ee31e33: classExternalizerFactory=<org.jboss.marshalling.AnnotationClassExternalizerFactory@60d3ade7> creator=<org.jboss.marshalling.reflect.SunReflectiveCreator@39b8d6f7> instanceCount=256 classCount=64 bufferSize=512 version=-1
      Marshaller = org.jboss.marshalling.serial.SerialMarshaller@693e4a5a (version set to -1)
      Write Configuration = org.jboss.marshalling.MarshallingConfiguration@7121fd61: classExternalizerFactory=<org.jboss.marshalling.AnnotationClassExternalizerFactory@6e82254d> creator=<org.jboss.marshalling.reflect.SunReflectiveCreator@39b8d6f7> instanceCount=256 classCount=64 bufferSize=512 version=-1
      Unmarshaller = org.jboss.marshalling.serial.SerialUnmarshaller@225f1ae9 (version set to -1)
      </system-out>

      Disabling the test for now.

              Unassigned Unassigned
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: