[mod_cluster-dev] nullpointer exception while updating cluster status

Paul Ferraro paul.ferraro at redhat.com
Tue Jul 28 11:40:12 EDT 2009


This looks like the result of a partition merge.  The merging of 2
partitions creates a situation where a former singleton master might be
in the middle of rpcs on the new singleton master, whose responses are
being handled correctly.  JIRA filed here:
https://jira.jboss.org/jira/browse/MODCLUSTER-85

I presume that this stream of NPEs only occurs for a brief period.  Is
that correct?

On Mon, 2009-07-27 at 21:27 +0200, Marek Goldmann wrote:
> Hi,
> 
> I got today a NullPointerException:
> 
> java.lang.NullPointerException at  
> org.jboss.modcluster.ha.HAModClusterService 
> $ 
> ClusteredCatalinaEventHandler 
> .updateClusterStatus(HAModClusterService.java:896) at  
> org.jboss.modcluster.ha.HAModClusterService 
> $ClusteredCatalinaEventHandler.status(HAModClusterService.java:836) at  
> org.jboss.modcluster.ha.HAModClusterService 
> $ClusteredCatalinaEventHandler.status(HAModClusterService.java:781) at  
> org 
> .jboss 
> .modcluster 
> .CatalinaEventHandlerAdapter 
> .lifecycleEvent(CatalinaEventHandlerAdapter.java:157) at  
> org 
> .apache 
> .catalina 
> .util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)  
> at  
> org 
> .apache 
> .catalina.core.ContainerBase.backgroundProcess(ContainerBase.java: 
> 1348) at org.apache.catalina.core.ContainerBase 
> $ContainerBackgroundProcessor.processChildren(ContainerBase.java:1612)  
> at org.apache.catalina.core.ContainerBase 
> $ContainerBackgroundProcessor.run(ContainerBase.java:1601) at  
> java.lang.Thread.run(Thread.java:636)
> 
> JBoss AS log is here: http://pastie.org/560597
> 
> What could be the reason for that? I'm using mod_cluster 1.0.0.GA.
> 




More information about the mod_cluster-dev mailing list