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

NPE when calling getAllJobs on JobScheduler MBean

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 5.15.6
    • Fix Version/s: None
    • Component/s: JMX, Job Scheduler
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: