[infinispan-issues] [JBoss JIRA] (ISPN-1603) NPE on ViewChangedEvent
Sanne Grinovero (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Dec 12 07:28:09 EST 2011
[ https://issues.jboss.org/browse/ISPN-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649938#comment-12649938 ]
Sanne Grinovero commented on ISPN-1603:
---------------------------------------
Ok so if it's harmless that explains why it doesn't affect my test results; still I agree you should not let this happen.
> NPE on ViewChangedEvent
> -----------------------
>
> Key: ISPN-1603
> URL: https://issues.jboss.org/browse/ISPN-1603
> Project: Infinispan
> Issue Type: Bug
> Components: Listeners
> Affects Versions: 5.1.0.CR1
> Reporter: Sanne Grinovero
> Assignee: Dan Berindei
> Fix For: 5.1.0.CR2
>
>
> This seems to happen in backgrous, without really affecting test functionality; at least it seems so.
> Can be observed for example running the testsuite of *Query*.
> {noformat} 2011-12-09 12:18:32,749 ERROR [NAKACK] (Incoming-1,Infinispan-Cluster,Command line test-NodeR-34770) couldn't deliver message [dst: <null>, src: Command line test-NodeQ-7093 (3 headers), size=0 bytes]
> java.lang.RuntimeException: org.infinispan.CacheException: Caught exception [java.lang.NullPointerException] while invoking method [public void org.infinispan.cacheviews.CacheViewsManagerImpl$ViewListener.handleViewChange(org.infinispan.notifications.cachemanagerlistener.event.ViewChangedEvent)] on listener instance: org.infinispan.cacheviews.CacheViewsManagerImpl$ViewListener at 284dbb2f
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:561)
> at org.jgroups.JChannel.up(JChannel.java:716)
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1026)
> at org.jgroups.protocols.FRAG2.up(FRAG2.java:181)
> at org.jgroups.protocols.FC.up(FC.java:499)
> at org.jgroups.protocols.pbcast.GMS.installView(GMS.java:625)
> at org.jgroups.protocols.pbcast.ParticipantGmsImpl.handleViewChange(ParticipantGmsImpl.java:152)
> at org.jgroups.protocols.pbcast.GMS.up(GMS.java:781)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:244)
> at org.jgroups.protocols.UNICAST.up(UNICAST.java:332)
> at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:733)
> at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:561)
> at org.jgroups.protocols.Discovery.up(Discovery.java:354)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1174)
> at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1709)
> at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1686)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.infinispan.CacheException: Caught exception [java.lang.NullPointerException] while invoking method [public void org.infinispan.cacheviews.CacheViewsManagerImpl$ViewListener.handleViewChange(org.infinispan.notifications.cachemanagerlistener.event.ViewChangedEvent)] on listener instance: org.infinispan.cacheviews.CacheViewsManagerImpl$ViewListener at 284dbb2f
> at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:204)
> at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:41)
> at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation.invoke(AbstractListenerImpl.java:220)
> at org.infinispan.notifications.cachemanagerlistener.CacheManagerNotifierImpl.notifyViewChange(CacheManagerNotifierImpl.java:96)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport$NotifyViewChange.emitNotification(JGroupsTransport.java:461)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.viewAccepted(JGroupsTransport.java:517)
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:519)
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:558)
> ... 18 more
> Caused by: java.lang.NullPointerException
> at org.infinispan.cacheviews.CacheViewsManagerImpl.handleNewView(CacheViewsManagerImpl.java:549)
> at org.infinispan.cacheviews.CacheViewsManagerImpl.access$1200(CacheViewsManagerImpl.java:95)
> at org.infinispan.cacheviews.CacheViewsManagerImpl$ViewListener.handleViewChange(CacheViewsManagerImpl.java:845)
> 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:597)
> at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:199)
> ... 25 more
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list