[ 
https://issues.apache.org/jira/browse/LOG4J2-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425866#comment-16425866
 ] 

ASF subversion and git services commented on LOG4J2-2304:
---------------------------------------------------------

Commit 74942b3bdb447fda6df0f11819fca85f7303c511 in logging-log4j2's branch 
refs/heads/master from [~garydgregory]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=74942b3 ]

[LOG4J2-2304] Log4j2 2.8.2 JMX unregister NullPointerException.

> Log4j2 2.8.2 JMX unregister NullPointerException
> ------------------------------------------------
>
>                 Key: LOG4J2-2304
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2304
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configurators
>    Affects Versions: 2.8.2
>            Reporter: wumengsheng
>            Priority: Major
>
> 2018-04-04 14:07:07,545 pool-2-thread-1 ERROR Could not unregister MBeans for 
> org.apache.logging.log4j2:type=Default java.lang.NullPointerException
>  at 
> org.apache.logging.log4j.core.jmx.Server.unregisterAllMatching(Server.java:336)
>  at 
> org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:259)
>  at 
> org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:247)
>  at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:338)
>  at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:279)
>  at 
> org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109)
>  at 
> org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:74)
>  at java.lang.Thread.run(Thread.java:745)
> 2018-04-04 14:07:07,548 pool-2-thread-1 ERROR Could not unregister MBeans for 
> org.apache.logging.log4j2:type=Default,component=StatusLogger 
> java.lang.NullPointerException
>  at 
> org.apache.logging.log4j.core.jmx.Server.unregisterAllMatching(Server.java:336)
>  at 
> org.apache.logging.log4j.core.jmx.Server.unregisterStatusLogger(Server.java:288)
>  at 
> org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:262)
>  at 
> org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:247)
>  at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:338)
>  at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:279)
>  at 
> org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109)
>  at 
> org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:74)
>  at java.lang.Thread.run(Thread.java:745)
>  
>  
> [2018/04/04 14:07:07.534] WARNING com.caucho.jmx.AbstractMBeanServer 
> java.lang.IllegalStateException: JMX context 
> EnvironmentClassLoader[web-app:http://localhost:8001] has been closed.
> [2018/04/04 14:07:07.534] at 
> com.caucho.jmx.EnvironmentMBeanServer.createContext(EnvironmentMBeanServer.java:101)
> [2018/04/04 14:07:07.534] at 
> com.caucho.jmx.GlobalMBeanServer.createContext(GlobalMBeanServer.java:77)
> [2018/04/04 14:07:07.534] at 
> com.caucho.jmx.AbstractMBeanServer.createContext(AbstractMBeanServer.java:77)
> [2018/04/04 14:07:07.534] at 
> com.caucho.jmx.GlobalMBeanServer.getView(GlobalMBeanServer.java:115)
> [2018/04/04 14:07:07.534] at 
> com.caucho.jmx.AbstractMBeanServer.queryNames(AbstractMBeanServer.java:551)
> [2018/04/04 14:07:07.534] at 
> org.apache.logging.log4j.core.jmx.Server.unregisterAllMatching(Server.java:335)
> [2018/04/04 14:07:07.534] at 
> org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:259)
> [2018/04/04 14:07:07.534] at 
> org.apache.logging.log4j.core.jmx.Server.unregisterLoggerContext(Server.java:247)
> [2018/04/04 14:07:07.534] at 
> org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:338)
> [2018/04/04 14:07:07.534] at 
> org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:279)
> [2018/04/04 14:07:07.534] at 
> org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$RegisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109)
> [2018/04/04 14:07:07.534] at 
> org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.run(DefaultShutdownCallbackRegistry.java:74)
> [2018/04/04 14:07:07.534] at java.lang.Thread.run(Thread.java:745)
> [2018/04/04 14:07:07.534]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to