Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-80

InternalCacheEntry marshalling with MarshallerImpl appears to be broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.ALPHA5
    • 4.0.0.ALPHA3
    • Core
    • None

      From MarshallersTest:

      java.io.IOException: Unknown magic number 0
      at org.infinispan.marshall.MarshallerImpl.unmarshallObject(MarshallerImpl.java:545)
      at org.infinispan.marshall.MarshallerImpl.unmarshallInternalCacheEntry(MarshallerImpl.java:581)
      at org.infinispan.marshall.MarshallerImpl.unmarshallObject(MarshallerImpl.java:475)
      at org.infinispan.marshall.MarshallerImpl.unmarshallBucket(MarshallerImpl.java:561)
      at org.infinispan.marshall.MarshallerImpl.unmarshallObject(MarshallerImpl.java:505)
      at org.infinispan.marshall.MarshallerImpl.unmarshallObject(MarshallerImpl.java:444)
      at org.infinispan.marshall.MarshallerImpl.objectFromObjectStream(MarshallerImpl.java:964)
      at org.infinispan.marshall.MarshallerImpl.objectFromByteBuffer(MarshallerImpl.java:982)
      at org.infinispan.marshall.MarshallerImpl.objectFromByteBuffer(MarshallerImpl.java:986)
      at org.infinispan.marshall.MarshallersTest.testBucketMarshalling(MarshallersTest.java:377)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
      at org.testng.TestRunner.runWorkers(TestRunner.java:712)
      at org.testng.TestRunner.privateRun(TestRunner.java:582)
      at org.testng.TestRunner.run(TestRunner.java:477)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
      at org.testng.SuiteRunner.run(SuiteRunner.java:198)
      at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
      at org.testng.TestNG.run(TestNG.java:708)
      at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
      at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)

      Remember that MarshallersTest verifies number of bytes written with different marshallers and until now, it's been disabled due to JBMAR based marshaller having bigger payloads, but this could be changing soon

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: