java.lang.NullPointerException

Terracotta Project Issue Tracker | Robert Saenger | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The initialization of the XMLSchedulingDataProcessorPlugin initialization fails if the specified job initializer file initially does not exist and file scanning has been enabled although the failOnFileNotFound option is set to false. Unfortunately a plugin initialization failure causes the entire scheduler initialization to fail. Obviously the NPE is caused by org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin$JobFile#fileBasename which is only initialized if a given file is found, i.e. fileFound == true. Encountered Exception is: ========================= java.lang.NullPointerException at org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin.buildJobTriggerName(XMLSchedulingDataProcessorPlugin.java:264) at org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin.start(XMLSchedulingDataProcessorPlugin.java:224) at org.quartz.plugins.SchedulerPluginWithUserTransactionSupport.start(SchedulerPluginWithUserTransactionSupport.java:144) at org.quartz.core.QuartzScheduler.startPlugins(QuartzScheduler.java:2320) at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:495) at org.quartz.impl.StdScheduler.start(StdScheduler.java:143) ... #============================================================== # Job Initializer Plugin Configuration #============================================================== org.quartz.plugin.jobInitializer.class = \ org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin org.quartz.plugin.jobInitializer.fileNames = \ configuration/job-scheduling-data.xml org.quartz.plugin.jobInitializer.failOnFileNotFound = false #The interval (in seconds) the files are looked at. Set to 0 to disable scanning. org.quartz.plugin.jobInitializer.scanInterval = 60

    Terracotta Project Issue Tracker | 6 years ago | Robert Saenger
    java.lang.NullPointerException
  2. 0

    The initialization of the XMLSchedulingDataProcessorPlugin initialization fails if the specified job initializer file initially does not exist and file scanning has been enabled although the failOnFileNotFound option is set to false. Unfortunately a plugin initialization failure causes the entire scheduler initialization to fail. Obviously the NPE is caused by org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin$JobFile#fileBasename which is only initialized if a given file is found, i.e. fileFound == true. Encountered Exception is: ========================= java.lang.NullPointerException at org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin.buildJobTriggerName(XMLSchedulingDataProcessorPlugin.java:264) at org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin.start(XMLSchedulingDataProcessorPlugin.java:224) at org.quartz.plugins.SchedulerPluginWithUserTransactionSupport.start(SchedulerPluginWithUserTransactionSupport.java:144) at org.quartz.core.QuartzScheduler.startPlugins(QuartzScheduler.java:2320) at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:495) at org.quartz.impl.StdScheduler.start(StdScheduler.java:143) ... #============================================================== # Job Initializer Plugin Configuration #============================================================== org.quartz.plugin.jobInitializer.class = \ org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin org.quartz.plugin.jobInitializer.fileNames = \ configuration/job-scheduling-data.xml org.quartz.plugin.jobInitializer.failOnFileNotFound = false #The interval (in seconds) the files are looked at. Set to 0 to disable scanning. org.quartz.plugin.jobInitializer.scanInterval = 60

    Terracotta Project Issue Tracker | 6 years ago | Robert Saenger
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin.buildJobTriggerName()
    2. quartz
      StdScheduler.start
      1. org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin.buildJobTriggerName(XMLSchedulingDataProcessorPlugin.java:264)
      2. org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin.start(XMLSchedulingDataProcessorPlugin.java:224)
      3. org.quartz.plugins.SchedulerPluginWithUserTransactionSupport.start(SchedulerPluginWithUserTransactionSupport.java:144)
      4. org.quartz.core.QuartzScheduler.startPlugins(QuartzScheduler.java:2320)
      5. org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:495)
      6. org.quartz.impl.StdScheduler.start(StdScheduler.java:143)
      6 frames