![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Magnus Sandberg
|
|
Components:
|
prioritysorter |
|
Created:
|
29/Sep/14 12:34 PM
|
|
Description:
|
NullPointerExceptions during startup. They are caught by calling class, so not major but still, we do not want to log warnings for normal things that can happen.
There is a null check in AdvancedQueueSorterQueueListener.onEnterBuildable() but not in the other three event methods in the class.
In AdvancedQueueSorter I see newer code that might have fixed this?
Sep 29, 2014 10:13:58 AM hudson.model.Queue$BlockedItem enter
WARNING: QueueListener failed while processing hudson.model.Queue$BlockedItem:hudson.model.FreeStyleProject@470c5677[alo_integration_build]:471
java.lang.NullPointerException
at jenkins.advancedqueue.sorter.AdvancedQueueSorterQueueListener.onEnterBlocked(AdvancedQueueSorterQueueListener.java:61)
at hudson.model.Queue$BlockedItem.enter(Queue.java:1712)
at hudson.model.Queue.load(Queue.java:372)
at hudson.model.Queue.init(Queue.java:2075)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
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:724)
Sep 29, 2014 11:05:45 AM hudson.model.Queue$LeftItem enter
WARNING: QueueListener failed while processing hudson.model.Queue$LeftItem:hudson.model.FreeStyleProject@185eede4[Build-tivotool_Chips]:495
java.lang.NullPointerException
at jenkins.advancedqueue.sorter.AdvancedQueueSorter.onLeft(AdvancedQueueSorter.java:131)
at jenkins.advancedqueue.sorter.AdvancedQueueSorterQueueListener.onLeft(AdvancedQueueSorterQueueListener.java:47)
at hudson.model.Queue$LeftItem.enter(Queue.java:1884)
at hudson.model.Queue.onStartExecuting(Queue.java:914)
at hudson.model.Executor.run(Executor.java:207)
|
|
Environment:
|
Jenkins ver. 1.565
Priority Sorter Plugin 2.6
|
|
Project:
|
Jenkins
|
|
Labels:
|
nullpointer
|
|
Priority:
|
Minor
|
|
Reporter:
|
Marcus Philip
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.