org.quartz.SchedulerException: Job threw an unhandled exception.

JFrog JIRA | Arturo Aparicio | 7 months 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

    Deploying a GEM with a non-numeric character in the version will produce a server error when calculating the metadata. These non-numeric values should be supported: http://guides.rubygems.org/patterns/#prerelease-gems For example, if an artifact with the name *some-valid-gem-0.1.1.beta32.gem* is uploaded, it will cause the meta-data calculation to fail with this error: h3. Error in artifactory.log {noformat} java.lang.NullPointerException: null at org.codehaus.mojo.versions.ordering.NumericVersionComparator.compare(NumericVersionComparator.java:48) ~[versions-maven-plugin-1.3.1.jar:na] at org.artifactory.addon.gems.index.merge.NvpComparator.compare(NvpComparator.java:30) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.merge.NvpComparator.compare(NvpComparator.java:1) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.merge.DoubleIterator$Merge.computeNext(DoubleIterator.java:47) ~[artifactory-addon-gems-4.11.1.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-18.0.jar:na] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:650) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-18.0.jar:na] at org.artifactory.addon.gems.helpers.UpdateIndexHelper$LatestVersionIterator.computeNext(UpdateIndexHelper.java:196) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.helpers.UpdateIndexHelper$LatestVersionIterator.computeNext(UpdateIndexHelper.java:1) ~[artifactory-addon-gems-4.11.1.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-18.0.jar:na] at org.artifactory.addon.gems.index.merge.DoubleIterator$Delete.computeNext(DoubleIterator.java:64) ~[artifactory-addon-gems-4.11.1.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-18.0.jar:na] at org.artifactory.addon.gems.helpers.UpdateIndexHelper.calcEstimatedSize(UpdateIndexHelper.java:163) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.helpers.UpdateIndexHelper.updateAndSave(UpdateIndexHelper.java:120) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.GemsLocalIndexHandler.doUpdateIndex(GemsLocalIndexHandler.java:192) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.GemsLocalIndexHandler.updateIndex(GemsLocalIndexHandler.java:141) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.GemsLocalIndexHandler$UpdateIndicesJob.onExecute(GemsLocalIndexHandler.java:260) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:52) ~[artifactory-storage-common-4.11.1.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.2.1.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:104) [artifactory-storage-common-4.11.1.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91] 2016-08-26 01:28:28,203 [art-exec-4] [ERROR] (o.q.c.ErrorLogger :2425) - Job (artifactory.UpdateIndicesJob#ab1373e1-ac14-45e8-a2c5-d6eb0d7319bc threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. at org.quartz.core.JobRunShell.run(JobRunShell.java:213) ~[quartz-2.2.1.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:104) [artifactory-storage-common-4.11.1.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91] Caused by: java.lang.NullPointerException: null at org.codehaus.mojo.versions.ordering.NumericVersionComparator.compare(NumericVersionComparator.java:48) ~[versions-maven-plugin-1.3.1.jar:na] at org.artifactory.addon.gems.index.merge.NvpComparator.compare(NvpComparator.java:30) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.merge.NvpComparator.compare(NvpComparator.java:1) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.merge.DoubleIterator$Merge.computeNext(DoubleIterator.java:47) ~[artifactory-addon-gems-4.11.1.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-18.0.jar:na] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:650) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-18.0.jar:na] at org.artifactory.addon.gems.helpers.UpdateIndexHelper$LatestVersionIterator.computeNext(UpdateIndexHelper.java:196) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.helpers.UpdateIndexHelper$LatestVersionIterator.computeNext(UpdateIndexHelper.java:1) ~[artifactory-addon-gems-4.11.1.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-18.0.jar:na] at org.artifactory.addon.gems.index.merge.DoubleIterator$Delete.computeNext(DoubleIterator.java:64) ~[artifactory-addon-gems-4.11.1.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-18.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-18.0.jar:na] at org.artifactory.addon.gems.helpers.UpdateIndexHelper.calcEstimatedSize(UpdateIndexHelper.java:163) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.helpers.UpdateIndexHelper.updateAndSave(UpdateIndexHelper.java:120) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.GemsLocalIndexHandler.doUpdateIndex(GemsLocalIndexHandler.java:192) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.GemsLocalIndexHandler.updateIndex(GemsLocalIndexHandler.java:141) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.addon.gems.index.GemsLocalIndexHandler$UpdateIndicesJob.onExecute(GemsLocalIndexHandler.java:260) ~[artifactory-addon-gems-4.11.1.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:52) ~[artifactory-storage-common-4.11.1.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.2.1.jar:na] ... 4 common frames omitted {noformat} h3. To Reproduce 1. Create a gems repository 2. Upload a gem with a name like this: pacojp-skutil-0.0.8.beta12.gem For example (Gem Attached): curl -XPUT -u admin:password http://192.168.99.100:8081/artifactory/gems-local/gems/pacojp-skutil-0.0.8.beta12.gem --upload-file pacojp-skutil-0.0.8.gem

    JFrog JIRA | 7 months ago | Arturo Aparicio
    org.quartz.SchedulerException: Job threw an unhandled exception.
  2. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  3. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  6. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.codehaus.mojo.versions.ordering.NumericVersionComparator.compare()
    2. Versions Maven Plugin
      NumericVersionComparator.compare
      1. org.codehaus.mojo.versions.ordering.NumericVersionComparator.compare(NumericVersionComparator.java:48)[versions-maven-plugin-1.3.1.jar:na]
      1 frame
    3. org.artifactory.addon
      DoubleIterator$Merge.computeNext
      1. org.artifactory.addon.gems.index.merge.NvpComparator.compare(NvpComparator.java:30)[artifactory-addon-gems-4.11.1.jar:na]
      2. org.artifactory.addon.gems.index.merge.NvpComparator.compare(NvpComparator.java:1)[artifactory-addon-gems-4.11.1.jar:na]
      3. org.artifactory.addon.gems.index.merge.DoubleIterator$Merge.computeNext(DoubleIterator.java:47)[artifactory-addon-gems-4.11.1.jar:na]
      3 frames
    4. Guava
      AbstractIterator.hasNext
      1. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-18.0.jar:na]
      2. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-18.0.jar:na]
      3. com.google.common.collect.Iterators$7.computeNext(Iterators.java:650)[guava-18.0.jar:na]
      4. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-18.0.jar:na]
      5. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-18.0.jar:na]
      5 frames
    5. org.artifactory.addon
      UpdateIndexHelper$LatestVersionIterator.computeNext
      1. org.artifactory.addon.gems.helpers.UpdateIndexHelper$LatestVersionIterator.computeNext(UpdateIndexHelper.java:196)[artifactory-addon-gems-4.11.1.jar:na]
      2. org.artifactory.addon.gems.helpers.UpdateIndexHelper$LatestVersionIterator.computeNext(UpdateIndexHelper.java:1)[artifactory-addon-gems-4.11.1.jar:na]
      2 frames
    6. Guava
      AbstractIterator.hasNext
      1. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-18.0.jar:na]
      2. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-18.0.jar:na]
      2 frames
    7. org.artifactory.addon
      DoubleIterator$Delete.computeNext
      1. org.artifactory.addon.gems.index.merge.DoubleIterator$Delete.computeNext(DoubleIterator.java:64)[artifactory-addon-gems-4.11.1.jar:na]
      1 frame
    8. Guava
      AbstractIterator.hasNext
      1. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-18.0.jar:na]
      2. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-18.0.jar:na]
      2 frames
    9. org.artifactory.addon
      GemsLocalIndexHandler$UpdateIndicesJob.onExecute
      1. org.artifactory.addon.gems.helpers.UpdateIndexHelper.calcEstimatedSize(UpdateIndexHelper.java:163)[artifactory-addon-gems-4.11.1.jar:na]
      2. org.artifactory.addon.gems.helpers.UpdateIndexHelper.updateAndSave(UpdateIndexHelper.java:120)[artifactory-addon-gems-4.11.1.jar:na]
      3. org.artifactory.addon.gems.index.GemsLocalIndexHandler.doUpdateIndex(GemsLocalIndexHandler.java:192)[artifactory-addon-gems-4.11.1.jar:na]
      4. org.artifactory.addon.gems.index.GemsLocalIndexHandler.updateIndex(GemsLocalIndexHandler.java:141)[artifactory-addon-gems-4.11.1.jar:na]
      5. org.artifactory.addon.gems.index.GemsLocalIndexHandler$UpdateIndicesJob.onExecute(GemsLocalIndexHandler.java:260)[artifactory-addon-gems-4.11.1.jar:na]
      5 frames
    10. org.artifactory.schedule
      QuartzCommand.execute
      1. org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:52)[artifactory-storage-common-4.11.1.jar:na]
      1 frame
    11. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-2.2.1.jar:na]
      1 frame
    12. org.artifactory.schedule
      ArtifactoryConcurrentExecutor$RunnableWrapper.run
      1. org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:104)[artifactory-storage-common-4.11.1.jar:na]
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
      3 frames