[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-141) Marshaller should start before Transport
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Thu Jul 23 06:39:29 EDT 2009
[ https://jira.jboss.org/jira/browse/ISPN-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreno resolved ISPN-141.
-----------------------------------
Resolution: Done
> Marshaller should start before Transport
> ----------------------------------------
>
> Key: ISPN-141
> URL: https://jira.jboss.org/jira/browse/ISPN-141
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 4.0.0.ALPHA6
> Reporter: Galder Zamarreno
> Assignee: Galder Zamarreno
> Fix For: 4.0.0.BETA1
>
> Attachments: mylyn-context.zip
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> Actually, just run the tests locally with some TRACE logging and there appears to be a race condition between the @Start phases of Transport and Marshaller:
> 2009-07-23 12:08:12,300 5718 TRACE [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] (Incoming-1,Infinispan-Cluster,localhost.localdomain-45973:) Problems invoking command.
> java.lang.NullPointerException
> at org.infinispan.marshall.jboss.JBossMarshaller$2.initialValue(JBossMarshaller.java:87)
> ...
> 2009-07-23 12:08:12,334 5752 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (main:) Cache local address is localhost.localdomain-45973
> 2009-07-23 12:08:12,335 5753 DEBUG [org.infinispan.marshall.jboss.JBossMarshaller] (main:) Using JBoss Marshalling based marshaller.
> Basically, JGroups transport is starting before Marshaller whereas it should be the other way around. Currently, both start methods where using priority=10.
> Changing marshaller's priority to 9 appears to solve the issue
--
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
More information about the infinispan-issues
mailing list