[
https://issues.apache.org/jira/browse/AMQ-7243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16887911#comment-16887911
]
François Courtault commented on AMQ-7243:
-----------------------------------------
Hello,
You are right. Sorry, my bad !
Best Regards.
> 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
> Priority: Critical
>
> 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)