java.lang.NullPointerException

Jenkins JIRA | jim gedarovich | 2 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

    JENKINS VERSION: 1.625.2 LTE PLUGIN VERSION: 0.53 when a job is triggered that uses the "Choose Source for Default Value" and the "Default Groovy Script" option is used, an NPE is generated when the job is run. {code} Nov 20, 2015 4:25:00 PM com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition executeGroovyScriptAndProcessGroovyValue SEVERE: null java.lang.NullPointerException at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyBinding(ExtendedChoiceParameterDefinition.java:690) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyShell(ExtendedChoiceParameterDefinition.java:711) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.executeGroovyScript(ExtendedChoiceParameterDefinition.java:671) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.executeGroovyScriptAndProcessGroovyValue(ExtendedChoiceParameterDefinition.java:660) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.computeValue(ExtendedChoiceParameterDefinition.java:633) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.computeEffectiveDefaultValue(ExtendedChoiceParameterDefinition.java:787) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getDefaultParameterValue(ExtendedChoiceParameterDefinition.java:592) at jenkins.model.ParameterizedJobMixIn.getDefaultParametersValues(ParameterizedJobMixIn.java:154) at jenkins.model.ParameterizedJobMixIn.scheduleBuild2(ParameterizedJobMixIn.java:136) at jenkins.model.ParameterizedJobMixIn.scheduleBuild(ParameterizedJobMixIn.java:94) at hudson.model.AbstractProject.scheduleBuild(AbstractProject.java:837) at hudson.triggers.TimerTrigger.run(TimerTrigger.java:55) at hudson.triggers.Trigger.checkTriggers(Trigger.java:268) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:217) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}

    Jenkins JIRA | 2 years ago | jim gedarovich
    java.lang.NullPointerException
  2. 0

    JENKINS VERSION: 1.625.2 LTE PLUGIN VERSION: 0.53 when a job is triggered that uses the "Choose Source for Default Value" and the "Default Groovy Script" option is used, an NPE is generated when the job is run. {code} Nov 20, 2015 4:25:00 PM com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition executeGroovyScriptAndProcessGroovyValue SEVERE: null java.lang.NullPointerException at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyBinding(ExtendedChoiceParameterDefinition.java:690) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyShell(ExtendedChoiceParameterDefinition.java:711) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.executeGroovyScript(ExtendedChoiceParameterDefinition.java:671) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.executeGroovyScriptAndProcessGroovyValue(ExtendedChoiceParameterDefinition.java:660) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.computeValue(ExtendedChoiceParameterDefinition.java:633) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.computeEffectiveDefaultValue(ExtendedChoiceParameterDefinition.java:787) at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getDefaultParameterValue(ExtendedChoiceParameterDefinition.java:592) at jenkins.model.ParameterizedJobMixIn.getDefaultParametersValues(ParameterizedJobMixIn.java:154) at jenkins.model.ParameterizedJobMixIn.scheduleBuild2(ParameterizedJobMixIn.java:136) at jenkins.model.ParameterizedJobMixIn.scheduleBuild(ParameterizedJobMixIn.java:94) at hudson.model.AbstractProject.scheduleBuild(AbstractProject.java:837) at hudson.triggers.TimerTrigger.run(TimerTrigger.java:55) at hudson.triggers.Trigger.checkTriggers(Trigger.java:268) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:217) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}

    Jenkins JIRA | 2 years ago | jim gedarovich
    java.lang.NullPointerException
  3. 0

    [JIRA] [extended-choice-parameter-plugin] (JENKINS-31690) getGroovyBinding NPE

    Google Groups | 2 years ago | jimbo@etsy.com (JIRA)
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

    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

      No message provided

      at com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyBinding()
    2. com.cwctravel.hudson
      ExtendedChoiceParameterDefinition.getDefaultParameterValue
      1. com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyBinding(ExtendedChoiceParameterDefinition.java:690)
      2. com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getGroovyShell(ExtendedChoiceParameterDefinition.java:711)
      3. com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.executeGroovyScript(ExtendedChoiceParameterDefinition.java:671)
      4. com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.executeGroovyScriptAndProcessGroovyValue(ExtendedChoiceParameterDefinition.java:660)
      5. com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.computeValue(ExtendedChoiceParameterDefinition.java:633)
      6. com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.computeEffectiveDefaultValue(ExtendedChoiceParameterDefinition.java:787)
      7. com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition.getDefaultParameterValue(ExtendedChoiceParameterDefinition.java:592)
      7 frames
    3. jenkins.model
      ParameterizedJobMixIn.scheduleBuild
      1. jenkins.model.ParameterizedJobMixIn.getDefaultParametersValues(ParameterizedJobMixIn.java:154)
      2. jenkins.model.ParameterizedJobMixIn.scheduleBuild2(ParameterizedJobMixIn.java:136)
      3. jenkins.model.ParameterizedJobMixIn.scheduleBuild(ParameterizedJobMixIn.java:94)
      3 frames
    4. Hudson
      SafeTimerTask.run
      1. hudson.model.AbstractProject.scheduleBuild(AbstractProject.java:837)
      2. hudson.triggers.TimerTrigger.run(TimerTrigger.java:55)
      3. hudson.triggers.Trigger.checkTriggers(Trigger.java:268)
      4. hudson.triggers.Trigger$Cron.doRun(Trigger.java:217)
      5. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
      5 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames