]
Galder Zamarreño updated ISPN-1221:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Infinispan throwing misleading exception when river.jar is not
present
----------------------------------------------------------------------
Key: ISPN-1221
URL:
https://issues.jboss.org/browse/ISPN-1221
Project: Infinispan
Issue Type: Bug
Components: Marshalling
Affects Versions: 5.0.0.CR7
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Priority: Minor
Fix For: 5.0.0.FINAL
If JBoss Marshalling cannot find the River jar, the Infinispan code throws an NPE:
{code}Caused by: java.lang.NullPointerException
at
org.infinispan.marshall.jboss.GenericJBossMarshaller$1.initialValue(GenericJBossMarshaller.java:75)
at
org.infinispan.marshall.jboss.GenericJBossMarshaller$1.initialValue(GenericJBossMarshaller.java:71)
at java.lang.ThreadLocal.setInitialValue(Unknown Source)
at java.lang.ThreadLocal.get(Unknown Source)
at
org.infinispan.marshall.jboss.GenericJBossMarshaller.startObjectOutput(GenericJBossMarshaller.java:130)
at
org.infinispan.marshall.VersionAwareMarshaller.startObjectOutput(VersionAwareMarshaller.java:126)
at
org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:91)
at
org.infinispan.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:31)
at
org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:22){code}
This should not happen. Instead return a more meaningful exception.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: