java.lang.NullPointerException

Jenkins JIRA | Matthew Meyers | 2 years ago
  1. 0

    On a clean install of RunDeck 2.3.3 and a fresh add of the latest RunDeck Jenkins plugin (3.3) I am encountering an error when trying to save a Jenkins Job with the RunDeck plugin. On config of the Job Identifier in the Jenkins job it resolves correctly, however on a save I get the below stack. Any help in resolving is much appreciated . . INFO | jvm 1 | 2014/12/15 21:45:40 | SEVERE: Failed Loading job RunDeckDemo INFO | jvm 1 | 2014/12/15 21:45:40 | java.lang.NullPointerException INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.regex.Matcher.getTextLength(Matcher.java:1234) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.regex.Matcher.reset(Matcher.java:308) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.regex.Matcher.<init>(Matcher.java:228) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.regex.Pattern.matcher(Pattern.java:1088) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jenkinsci.plugins.rundeck.RundeckNotifier$RundeckDescriptor.findJob(RundeckNotifier.java:472) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jenkinsci.plugins.rundeck.RundeckJobProjectLinkerAction.<init>(RundeckJobProjectLinkerAction.java:38) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jenkinsci.plugins.rundeck.RundeckNotifier.getProjectAction(RundeckNotifier.java:271) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.getProjectActions(ConditionalBuilder.java:101) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.Project.createTransientActions(Project.java:216) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:751) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.AbstractProject.onLoad(AbstractProject.java:338) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.Project.onLoad(Project.java:90) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.Items.load(Items.java:276) INFO | jvm 1 | 2014/12/15 21:45:40 | at jenkins.model.Jenkins$18.run(Jenkins.java:2588) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) INFO | jvm 1 | 2014/12/15 21:45:40 | at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.lang.Thread.run(Thread.java:745)

    Jenkins JIRA | 2 years ago | Matthew Meyers
    java.lang.NullPointerException
  2. 0

    On a clean install of RunDeck 2.3.3 and a fresh add of the latest RunDeck Jenkins plugin (3.3) I am encountering an error when trying to save a Jenkins Job with the RunDeck plugin. On config of the Job Identifier in the Jenkins job it resolves correctly, however on a save I get the below stack. Any help in resolving is much appreciated . . INFO | jvm 1 | 2014/12/15 21:45:40 | SEVERE: Failed Loading job RunDeckDemo INFO | jvm 1 | 2014/12/15 21:45:40 | java.lang.NullPointerException INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.regex.Matcher.getTextLength(Matcher.java:1234) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.regex.Matcher.reset(Matcher.java:308) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.regex.Matcher.<init>(Matcher.java:228) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.regex.Pattern.matcher(Pattern.java:1088) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jenkinsci.plugins.rundeck.RundeckNotifier$RundeckDescriptor.findJob(RundeckNotifier.java:472) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jenkinsci.plugins.rundeck.RundeckJobProjectLinkerAction.<init>(RundeckJobProjectLinkerAction.java:38) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jenkinsci.plugins.rundeck.RundeckNotifier.getProjectAction(RundeckNotifier.java:271) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.getProjectActions(ConditionalBuilder.java:101) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.Project.createTransientActions(Project.java:216) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:751) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.AbstractProject.onLoad(AbstractProject.java:338) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.Project.onLoad(Project.java:90) INFO | jvm 1 | 2014/12/15 21:45:40 | at hudson.model.Items.load(Items.java:276) INFO | jvm 1 | 2014/12/15 21:45:40 | at jenkins.model.Jenkins$18.run(Jenkins.java:2588) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) INFO | jvm 1 | 2014/12/15 21:45:40 | at jenkins.model.Jenkins$7.runTask(Jenkins.java:899) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) INFO | jvm 1 | 2014/12/15 21:45:40 | at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) INFO | jvm 1 | 2014/12/15 21:45:40 | at java.lang.Thread.run(Thread.java:745)

    Jenkins JIRA | 2 years ago | Matthew Meyers
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    No Stacktrace

    GitHub | 2 years ago | semperos
    java.lang.NullPointerException

  1. tyson925 4 times, last 2 months ago
  2. tyson925 28 times, last 2 months ago
  3. lribeiro 6 times, last 3 months ago
  4. davidvanlaatum 1 times, last 4 months ago
  5. jk 2 times, last 5 months ago
5 more registered users
9 unregistered visitors
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 java.util.regex.Matcher.getTextLength()
  2. Java RT
    Pattern.matcher
    1. java.util.regex.Matcher.getTextLength(Matcher.java:1234)
    2. java.util.regex.Matcher.reset(Matcher.java:308)
    3. java.util.regex.Matcher.<init>(Matcher.java:228)
    4. java.util.regex.Pattern.matcher(Pattern.java:1088)
    4 frames
  3. org.jenkinsci.plugins
    RundeckNotifier.getProjectAction
    1. org.jenkinsci.plugins.rundeck.RundeckNotifier$RundeckDescriptor.findJob(RundeckNotifier.java:472)
    2. org.jenkinsci.plugins.rundeck.RundeckJobProjectLinkerAction.<init>(RundeckJobProjectLinkerAction.java:38)
    3. org.jenkinsci.plugins.rundeck.RundeckNotifier.getProjectAction(RundeckNotifier.java:271)
    3 frames
  4. Hudson
    BuildStepCompatibilityLayer.getProjectActions
    1. hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:73)
    1 frame
  5. org.jenkinsci.plugins
    ConditionalBuilder.getProjectActions
    1. org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuilder.getProjectActions(ConditionalBuilder.java:101)
    1 frame
  6. Hudson
    Items.load
    1. hudson.model.Project.createTransientActions(Project.java:216)
    2. hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:751)
    3. hudson.model.AbstractProject.onLoad(AbstractProject.java:338)
    4. hudson.model.Project.onLoad(Project.java:90)
    5. hudson.model.Items.load(Items.java:276)
    5 frames
  7. jenkins.model
    Jenkins$18.run
    1. jenkins.model.Jenkins$18.run(Jenkins.java:2588)
    1 frame
  8. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    2 frames
  9. jenkins.model
    Jenkins$7.runTask
    1. jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
    1 frame
  10. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    2 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames