[
https://jira.jboss.org/jira/browse/ISPN-79?page=com.atlassian.jira.plugin...
]
Galder Zamarreño commented on ISPN-79:
--------------------------------------
This comes from trying to marshall MarshalledValue with the home grown marshaller that
throws:
org.infinispan.CacheException: Unable to marshall value
GlobalTransaction:<127.0.0.1:12345>:24
at org.infinispan.marshall.MarshalledValue.serialize(MarshalledValue.java:94)
at org.infinispan.marshall.MarshalledValue.getRaw(MarshalledValue.java:152)
at
org.infinispan.marshall.MarshallerImpl.marshallMarshalledValue(MarshallerImpl.java:271)
at org.infinispan.marshall.MarshallerImpl.marshallObject(MarshallerImpl.java:182)
at org.infinispan.marshall.MarshallerImpl.objectToObjectStream(MarshallerImpl.java:947)
at org.infinispan.marshall.MarshallerImpl.objectToBuffer(MarshallerImpl.java:974)
at org.infinispan.marshall.MarshallerImpl.objectToByteBuffer(MarshallerImpl.java:155)
at
org.infinispan.marshall.MarshallersTest.marshallAndAssertEquality(MarshallersTest.java:391)
at
org.infinispan.marshall.MarshallersTest.checkEqualityAndSize(MarshallersTest.java:385)
at
org.infinispan.marshall.MarshallersTest.testMarshalledValueMarshalling(MarshallersTest.java:160)
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)
Caused by: java.io.NotSerializableException:
org.infinispan.remoting.transport.jgroups.JGroupsAddress
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at
org.infinispan.transaction.xa.GlobalTransaction.writeExternal(GlobalTransaction.java:90)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at org.infinispan.marshall.MarshalledValue.serialize(MarshalledValue.java:86)
... 31 more
I believe once MarshalleValue uses marshaller, JGroupsAddress will be able to be
marshalled correctly but not while using JDK classes.
MarshalledValue.serialize/deserialize should be using Marshaller, not
JDK classes
---------------------------------------------------------------------------------
Key: ISPN-79
URL:
https://jira.jboss.org/jira/browse/ISPN-79
Project: Infinispan
Issue Type: Task
Affects Versions: 4.0.0.ALPHA3
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 4.0.0.BETA1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira