java.lang.NullPointerException

Jenkins JIRA | Jesse Glick | 9 months ago
  1. 0

    After [~kohsuke]'s work on {{github-organization-folder}}, we get {code:none} java.lang.NullPointerException at com.cloudbees.hudson.plugins.folder.AbstractFolder.getView(AbstractFolder.java:380) at org.jenkinsci.plugins.orgfolder.github.MainLogic.applyRepo(MainLogic.java:121) at org.jenkinsci.plugins.orgfolder.github.ItemListenerImpl.maybeApply(ItemListenerImpl.java:44) at org.jenkinsci.plugins.orgfolder.github.ItemListenerImpl.onUpdated(ItemListenerImpl.java:27) at hudson.model.listeners.ItemListener$3.apply(ItemListener.java:195) at hudson.model.listeners.ItemListener$3.apply(ItemListener.java:193) at hudson.model.listeners.ItemListener.forAll(ItemListener.java:167) at hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:193) at com.cloudbees.hudson.plugins.folder.AbstractFolder.save(AbstractFolder.java:646) at hudson.model.View.save(View.java:334) at com.cloudbees.hudson.plugins.folder.AbstractFolder.initViews(AbstractFolder.java:236) at com.cloudbees.hudson.plugins.folder.AbstractFolder.init(AbstractFolder.java:196) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.init(ComputedFolder.java:110) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.<init>(ComputedFolder.java:105) at jenkins.branch.MultiBranchProject.<init>(MultiBranchProject.java:114) at ... {code} since {{getView}} is unexpectedly being called from inside {{initViews}}, when {{viewGroupMixIn}} is not yet set.

    Jenkins JIRA | 9 months ago | Jesse Glick
    java.lang.NullPointerException
  2. 0

    After [~kohsuke]'s work on {{github-organization-folder}}, we get {code:none} java.lang.NullPointerException at com.cloudbees.hudson.plugins.folder.AbstractFolder.getView(AbstractFolder.java:380) at org.jenkinsci.plugins.orgfolder.github.MainLogic.applyRepo(MainLogic.java:121) at org.jenkinsci.plugins.orgfolder.github.ItemListenerImpl.maybeApply(ItemListenerImpl.java:44) at org.jenkinsci.plugins.orgfolder.github.ItemListenerImpl.onUpdated(ItemListenerImpl.java:27) at hudson.model.listeners.ItemListener$3.apply(ItemListener.java:195) at hudson.model.listeners.ItemListener$3.apply(ItemListener.java:193) at hudson.model.listeners.ItemListener.forAll(ItemListener.java:167) at hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:193) at com.cloudbees.hudson.plugins.folder.AbstractFolder.save(AbstractFolder.java:646) at hudson.model.View.save(View.java:334) at com.cloudbees.hudson.plugins.folder.AbstractFolder.initViews(AbstractFolder.java:236) at com.cloudbees.hudson.plugins.folder.AbstractFolder.init(AbstractFolder.java:196) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.init(ComputedFolder.java:110) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.<init>(ComputedFolder.java:105) at jenkins.branch.MultiBranchProject.<init>(MultiBranchProject.java:114) at ... {code} since {{getView}} is unexpectedly being called from inside {{initViews}}, when {{viewGroupMixIn}} is not yet set.

    Jenkins JIRA | 9 months ago | Jesse Glick
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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.cloudbees.hudson.plugins.folder.AbstractFolder.getView()
    2. com.cloudbees.hudson
      AbstractFolder.getView
      1. com.cloudbees.hudson.plugins.folder.AbstractFolder.getView(AbstractFolder.java:380)
      1 frame
    3. org.jenkinsci.plugins
      ItemListenerImpl.onUpdated
      1. org.jenkinsci.plugins.orgfolder.github.MainLogic.applyRepo(MainLogic.java:121)
      2. org.jenkinsci.plugins.orgfolder.github.ItemListenerImpl.maybeApply(ItemListenerImpl.java:44)
      3. org.jenkinsci.plugins.orgfolder.github.ItemListenerImpl.onUpdated(ItemListenerImpl.java:27)
      3 frames
    4. Hudson
      ItemListener.fireOnUpdated
      1. hudson.model.listeners.ItemListener$3.apply(ItemListener.java:195)
      2. hudson.model.listeners.ItemListener$3.apply(ItemListener.java:193)
      3. hudson.model.listeners.ItemListener.forAll(ItemListener.java:167)
      4. hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:193)
      4 frames
    5. com.cloudbees.hudson
      AbstractFolder.save
      1. com.cloudbees.hudson.plugins.folder.AbstractFolder.save(AbstractFolder.java:646)
      1 frame
    6. Hudson
      View.save
      1. hudson.model.View.save(View.java:334)
      1 frame
    7. com.cloudbees.hudson
      ComputedFolder.<init>
      1. com.cloudbees.hudson.plugins.folder.AbstractFolder.initViews(AbstractFolder.java:236)
      2. com.cloudbees.hudson.plugins.folder.AbstractFolder.init(AbstractFolder.java:196)
      3. com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.init(ComputedFolder.java:110)
      4. com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.<init>(ComputedFolder.java:105)
      4 frames
    8. jenkins.branch
      MultiBranchProject.<init>
      1. jenkins.branch.MultiBranchProject.<init>(MultiBranchProject.java:114)
      1 frame