Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-7243

NPE when calling getAllJobs on JobScheduler MBean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 5.15.6
    • None
    • JMX, Job Scheduler
    • None

    Description

      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)

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            fcourtau François Courtault
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: