Uploaded image for project: 'JBoss Enterprise Data Grid'
  1. JBoss Enterprise Data Grid
  2. EDG-6

NPE in CacheLoaderInterceptor

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Migrated to another ITS
    • Affects Version/s: EDG 6.0.0 Beta
    • Fix Version/s: EDG 6.0.0 Beta
    • Component/s: Infinispan
    • Labels:
      None

      Description

      a NPE occurs on startup of 4 nodes

      16:13:15,731 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (pool-5-thread-44) ISPN000136: Execution error: java.lang.NullPointerException
      	at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:149) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeededAndUpdateStats(CacheLoaderInterceptor.java:218) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.interceptors.CacheLoaderInterceptor.visitGetKeyValueCommand(CacheLoaderInterceptor.java:90) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:133) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:90) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:133) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:90) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:61) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:119) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
      	at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:201) [infinispan-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]
              ...
      

      this is because the initialisation code:

         @Start(priority = 15)
         protected void startInterceptor() {
            loader = clm.getCacheLoader();
         }
      

      happens after the causing call...

      it's happening on test1
      the tracelogs are quite big: http://www.qa.jboss.com/~mlinhard/run21.zip
      (I'll try to keep them on this location as long as this JIRA is relevant)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              NadirX Tristan Tarrant
              Reporter:
              mlinhard Michal Linhard (Inactive)
              Archiver:
              samahaja Sagar Mahajan

                Dates

                Created:
                Updated:
                Resolved:
                Archived: