java.lang.reflect.InvocationTargetException

Google Groups | h...@brightedge.com (JIRA) | 2 months ago
  1. 0

    [JIRA] (JENKINS-38912) SEVERE: Exception thrown during event handling

    Google Groups | 2 months ago | h...@brightedge.com (JIRA)
    java.lang.reflect.InvocationTargetException
  2. 0

    If a build is marked as "This build is parameterized" but has no defined parameters, the Gerrit Trigger cannot trigger it. An NPE gets logged: {noformat} Apr 29, 2016 12:22:28 PM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onTriggered INFO: Project [Some_Build_Project] triggered by Gerrit: [PatchsetCreated: Change-Id for #43226: Idde0e7ec2fa298b9f5fb9ee59f63af390699fedb PatchSet: 1] Apr 29, 2016 12:22:28 PM com.sonymobile.tools.gerrit.gerritevents.GerritHandler notifyListeners SEVERE: When notifying listener: com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener@19fdac1f about event: PatchsetCreated: Change-Id for #43226: Idde0e7ec2fa298b9f5fb9ee59f63af390699fedb Pa tchSet: 1 Apr 29, 2016 12:22:28 PM com.sonymobile.tools.gerrit.gerritevents.GerritHandler notifyListeners SEVERE: Notify-error: java.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.getDefaultParametersValues(EventListener.java:278) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.createParameters(EventListener.java:252) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.schedule(EventListener.java:182) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.schedule(EventListener.java:158) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.gerritEvent(EventListener.java:100) at com.sonymobile.tools.gerrit.gerritevents.GerritHandler.notifyListener(GerritHandler.java:328) at com.sonymobile.tools.gerrit.gerritevents.GerritHandler.notifyListeners(GerritHandler.java:296) at com.sonyericsson.hudson.plugins.gerrit.trigger.JenkinsAwareGerritHandler.notifyListeners(JenkinsAwareGerritHandler.java:77) at com.sonymobile.tools.gerrit.gerritevents.workers.AbstractGerritEventWork.perform(AbstractGerritEventWork.java:46) at com.sonymobile.tools.gerrit.gerritevents.workers.AbstractJsonObjectWork.perform(AbstractJsonObjectWork.java:77) at com.sonymobile.tools.gerrit.gerritevents.workers.StreamEventsStringWork.perform(StreamEventsStringWork.java:67) at com.sonymobile.tools.gerrit.gerritevents.workers.EventThread.run(EventThread.java:66) at com.sonyericsson.hudson.plugins.gerrit.trigger.SystemEventThread.run(SystemEventThread.java:66) {noformat} Even after fixing the job (by deselecting the parameters option), manual trigger via 'query and trigger Gerrit patchsets' doesn't work for the specific patchset generating the NPE. Nothing happens. A new patchset is required to get the trigger to work.

    Jenkins JIRA | 7 months ago | Will Saxon
    java.lang.NullPointerException
  3. 0

    If a build is marked as "This build is parameterized" but has no defined parameters, the Gerrit Trigger cannot trigger it. An NPE gets logged: {noformat} Apr 29, 2016 12:22:28 PM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onTriggered INFO: Project [Some_Build_Project] triggered by Gerrit: [PatchsetCreated: Change-Id for #43226: Idde0e7ec2fa298b9f5fb9ee59f63af390699fedb PatchSet: 1] Apr 29, 2016 12:22:28 PM com.sonymobile.tools.gerrit.gerritevents.GerritHandler notifyListeners SEVERE: When notifying listener: com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener@19fdac1f about event: PatchsetCreated: Change-Id for #43226: Idde0e7ec2fa298b9f5fb9ee59f63af390699fedb Pa tchSet: 1 Apr 29, 2016 12:22:28 PM com.sonymobile.tools.gerrit.gerritevents.GerritHandler notifyListeners SEVERE: Notify-error: java.lang.NullPointerException at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.getDefaultParametersValues(EventListener.java:278) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.createParameters(EventListener.java:252) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.schedule(EventListener.java:182) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.schedule(EventListener.java:158) at com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.gerritEvent(EventListener.java:100) at com.sonymobile.tools.gerrit.gerritevents.GerritHandler.notifyListener(GerritHandler.java:328) at com.sonymobile.tools.gerrit.gerritevents.GerritHandler.notifyListeners(GerritHandler.java:296) at com.sonyericsson.hudson.plugins.gerrit.trigger.JenkinsAwareGerritHandler.notifyListeners(JenkinsAwareGerritHandler.java:77) at com.sonymobile.tools.gerrit.gerritevents.workers.AbstractGerritEventWork.perform(AbstractGerritEventWork.java:46) at com.sonymobile.tools.gerrit.gerritevents.workers.AbstractJsonObjectWork.perform(AbstractJsonObjectWork.java:77) at com.sonymobile.tools.gerrit.gerritevents.workers.StreamEventsStringWork.perform(StreamEventsStringWork.java:67) at com.sonymobile.tools.gerrit.gerritevents.workers.EventThread.run(EventThread.java:66) at com.sonyericsson.hudson.plugins.gerrit.trigger.SystemEventThread.run(SystemEventThread.java:66) {noformat} Even after fixing the job (by deselecting the parameters option), manual trigger via 'query and trigger Gerrit patchsets' doesn't work for the specific patchset generating the NPE. Nothing happens. A new patchset is required to get the trigger to work.

    Jenkins JIRA | 7 months ago | Will Saxon
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerParameters.setOrCreateParameters()
    2. com.sonyericsson.hudson
      EventListener.gerritEvent
      1. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerParameters.setOrCreateParameters(GerritTriggerParameters.java:447)
      2. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.createParameters(EventListener.java:263)
      3. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.schedule(EventListener.java:188)
      4. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.schedule(EventListener.java:164)
      5. com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.EventListener.gerritEvent(EventListener.java:152)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. com.sonymobile.tools
      GerritHandler.notifyListeners
      1. com.sonymobile.tools.gerrit.gerritevents.GerritHandler.notifyListener(GerritHandler.java:316)
      2. com.sonymobile.tools.gerrit.gerritevents.GerritHandler.notifyListeners(GerritHandler.java:296)
      2 frames
    5. com.sonyericsson.hudson
      JenkinsAwareGerritHandler.notifyListeners
      1. com.sonyericsson.hudson.plugins.gerrit.trigger.JenkinsAwareGerritHandler.notifyListeners(JenkinsAwareGerritHandler.java:77)
      1 frame
    6. com.sonymobile.tools
      EventThread.run
      1. com.sonymobile.tools.gerrit.gerritevents.workers.AbstractGerritEventWork.perform(AbstractGerritEventWork.java:46)
      2. com.sonymobile.tools.gerrit.gerritevents.workers.AbstractJsonObjectWork.perform(AbstractJsonObjectWork.java:77)
      3. com.sonymobile.tools.gerrit.gerritevents.workers.StreamEventsStringWork.perform(StreamEventsStringWork.java:67)
      4. com.sonymobile.tools.gerrit.gerritevents.workers.EventThread.run(EventThread.java:66)
      4 frames
    7. com.sonyericsson.hudson
      SystemEventThread.run
      1. com.sonyericsson.hudson.plugins.gerrit.trigger.SystemEventThread.run(SystemEventThread.java:66)
      1 frame