ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1178) NPE in GridCacheProcessor.onKernalStop()
Date Fri, 31 Jul 2015 07:30:04 GMT
Alexey Kuznetsov created IGNITE-1178:
----------------------------------------

             Summary: NPE in GridCacheProcessor.onKernalStop()
                 Key: IGNITE-1178
                 URL: https://issues.apache.org/jira/browse/IGNITE-1178
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.1.4
            Reporter: Alexey Kuznetsov
             Fix For: ignite-1.4


If user start node with incorrectly configured cache type metadata for JdbcPojoStore NPE is
raised in onKernalStop. See attached stacktrace:
{code}
org.apache.ignite.IgniteCheckedException: Failed to initialize property
'exceptionOid' for key class 'class
org.apache.ignite.examples.algofusion.ExceptionMasterKey' and value class
'class org.apache.ignite.examples.algofusion.ExceptionMaster'. Make sure
that one of these classes contains respective getter method or field.
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.buildClassProperty(GridQueryProcessor.java:1342)
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.processClassMeta(GridQueryProcessor.java:1148)
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.initializeCache(GridQueryProcessor.java:149)
        at
org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:249)
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:922)
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.onKernalStart(GridCacheProcessor.java:779)
        at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:829)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1538)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1405)
        at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:931)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:477)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:458)
        at org.apache.ignite.Ignition.start(Ignition.java:321)
        at org.apache.ignite.examples.algofusion.AlgoDB.main(AlgoDB.java:89)
[15:45:29,007][ERROR][main][IgniteKernal] Failed to pre-stop processor:
GridProcessorAdapter []
java.lang.NullPointerException
        at
org.apache.ignite.internal.processors.cache.GridCacheEventManager.isRecordable(GridCacheEventManager.java:342)
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.onKernalStop(GridCacheProcessor.java:1089)
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.onKernalStop(GridCacheProcessor.java:896)
        at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:1706)
        at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:1650)
        at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:852)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1538)
        at
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1405)
        at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:931)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:477)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:458)
        at org.apache.ignite.Ignition.start(Ignition.java:321)
        at org.apache.ignite.examples.algofusion.AlgoDB.main(AlgoDB.java:89)
[15:45:29] Ignite node stopped wih ERRORS [uptime=00:00:02:515]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message