François Courtault created AMQ-7243:
---------------------------------------

             Summary: NPE when calling getAllJobs on JobScheduler MBean
                 Key: AMQ-7243
                 URL: https://issues.apache.org/jira/browse/AMQ-7243
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMX, Job Scheduler
    Affects Versions: 5.15.6
            Reporter: François Courtault


Hello,

When calling getAllJobs on JobScheduler MBean, I got an exception:

javax.management.RuntimeMBeanException: java.lang.NullPointerException

 at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)

at

com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)

at

 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)

    ....

 Caused by: java.lang.NullPointerException

at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1439)

at java.text.DateFormat.parse(DateFormat.java:364)

at 
org.apache.activemq.broker.scheduler.JobSupport.getDataTime(JobSupport.java:36)

at 
org.apache.activemq.broker.jmx.JobSchedulerView.getAllJobs(JobSchedulerView.java:70)

 

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to