java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z

classic Classic list List threaded Threaded
2 messages Options
jack jack
Reply | Threaded
Open this post in threaded view
|

java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z

This post has NOT been accepted by the mailing list yet.
hi everyone,when I start my ignite,there is a Exception accured,what's the reason? anyone please help me ,below is the
Exception Stack:
2016-03-06 10:21:47
[ERROR]-[Thread: grid-nio-worker-1-#58%null%]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Caught unhandled exception in NIO worker thread (restart the node).
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

2016-03-06 10:21:47
[ERROR]-[Thread: grid-nio-worker-0-#57%null%]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Caught unhandled exception in NIO worker thread (restart the node).
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

2016-03-06 10:21:47
[ERROR]-[Thread: grid-nio-worker-0-#57%null%]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Runtime error caught during grid runnable execution: GridWorker [name=grid-nio-worker-0, gridName=null, finished=false, isCancelled=false, hashCode=1447198216, interrupted=false, runner=grid-nio-worker-0-#57%null%]
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)
Exception in thread "grid-nio-worker-0-#57%null%" java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)

2016-03-06 10:21:47
[ERROR]-[Thread: grid-nio-worker-1-#58%null%]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Runtime error caught during grid runnable execution: GridWorker [name=grid-nio-worker-1, gridName=null, finished=false, isCancelled=false, hashCode=1754667260, interrupted=false, runner=grid-nio-worker-1-#58%null%]
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)
Exception in thread "grid-nio-worker-1-#58%null%" java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

2016-03-06 10:21:48
[ERROR]-[Thread: grid-nio-worker-2-#59%null%]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Caught unhandled exception in NIO worker thread (restart the node).
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

2016-03-06 10:21:48
[ERROR]-[Thread: grid-nio-worker-2-#59%null%]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Runtime error caught during grid runnable execution: GridWorker [name=grid-nio-worker-2, gridName=null, finished=false, isCancelled=false, hashCode=840756561, interrupted=false, runner=grid-nio-worker-2-#59%null%]
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)
Exception in thread "grid-nio-worker-2-#59%null%" java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeys(GridNioServer.java:1419)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:1379)
        at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1263)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

2016-03-06 10:21:49
[INFO]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]: Started cache [name=ignite-marshaller-sys-cache, mode=REPLICATED]

2016-03-06 10:21:49
[INFO]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]: Started cache [name=ignite-atomics-sys-cache, mode=PARTITIONED]

2016-03-06 10:21:49
[INFO]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]: Started cache [name=ignite-sys-cache, mode=REPLICATED]

2016-03-06 10:21:49
[ERROR]-[Thread: exchange-worker-#69%null%]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Failed to reinitialize local partitions (preloading will be stopped): GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=20, minorTopVer=0], nodeId=824979fc, evt=NODE_JOINED]
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:1896)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:1880)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1066)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1214)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:652)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendLocalPartitions(GridDhtPartitionsExchangeFuture.java:965)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendPartitions(GridDhtPartitionsExchangeFuture.java:1006)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:623)
        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1182)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

2016-03-06 10:21:49
[ERROR]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Got exception while starting (will rollback startup routine).
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:1896)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:1880)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1066)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1214)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:652)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendLocalPartitions(GridDhtPartitionsExchangeFuture.java:965)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendPartitions(GridDhtPartitionsExchangeFuture.java:1006)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:623)
        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1182)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

2016-03-06 10:21:49
[ERROR]-[Thread: exchange-worker-#69%null%]-[org.apache.ignite.logger.log4j.Log4JLogger.error()]: Runtime error caught during grid runnable execution: GridWorker [name=partition-exchanger, gridName=null, finished=false, isCancelled=false, hashCode=832544567, interrupted=false, runner=exchange-worker-#69%null%]
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:1896)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:1880)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1066)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1214)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:652)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendLocalPartitions(GridDhtPartitionsExchangeFuture.java:965)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendPartitions(GridDhtPartitionsExchangeFuture.java:1006)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:623)
        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1182)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)
Exception in thread "exchange-worker-#69%null%" java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:1896)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:1880)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1066)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1214)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:652)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendLocalPartitions(GridDhtPartitionsExchangeFuture.java:965)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendPartitions(GridDhtPartitionsExchangeFuture.java:1006)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:623)
        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1182)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:745)

2016-03-06 10:21:49
[INFO]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]: Command protocol successfully stopped: TCP binary

2016-03-06 10:21:49
[INFO]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]: Stopped cache: ignite-marshaller-sys-cache

2016-03-06 10:21:49
[INFO]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]: Stopped cache: ignite-sys-cache

2016-03-06 10:21:49
[INFO]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]: Stopped cache: ignite-atomics-sys-cache

2016-03-06 10:21:49
[INFO]-[Thread: pool-2-thread-1]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]:

>>> +---------------------------------------------------------------------------------+
>>> Ignite ver. 1.4.0#20150924-sha1:c2def5f647e410e9f25383d3e74f393e4d1348a5 stopped OK
>>> +---------------------------------------------------------------------------------+
>>> Grid name: null
>>> Grid uptime: 00:00:08:781


java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at test.service.ExecutThread.run(ExecutThread.java:57)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.apache.ignite.logger.log4j.Log4JLogger.isTraceEnabled(Log4JLogger.java:500)
        at org.apache.ignite.internal.GridLoggerProxy.isTraceEnabled(GridLoggerProxy.java:152)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:1896)
        at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:1880)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1066)
        at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1214)
        at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:652)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendLocalPartitions(GridDhtPartitionsExchangeFuture.java:965)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.sendPartitions(GridDhtPartitionsExchangeFuture.java:1006)
        at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:623)
        at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1182)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        ... 1 more

2016-03-06 10:22:54
[INFO]-[Thread: ignite-update-notifier-timer]-[org.apache.ignite.logger.log4j.Log4JLogger.info()]: Update status is not available.
jack jack
Reply | Threaded
Open this post in threaded view
|

Re: java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z

This post has NOT been accepted by the mailing list yet.
thank you everyone,I finded the problem,there was a low version log4j in my project,update it ,the problem has sovled.