-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.240
-
-
Jenkins 2.242
When I start Jenkins 2.240, it reports a null pointer exception:
2020-06-09 01:33:06.017+0000 [id=11] WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: app.updateCenter.pluginsWithUnavailableUpdates in /pluginManager/. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException at hudson.model.UpdateCenter.getPluginsWithUnavailableUpdates(UpdateCenter.java:1069) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
Does not report the null pointer exception on Jenkins 2.239.
The null pointer exception is not reported when all plugins are running their most recent releases. When I saw the NPE, I was running credentials plugin 2.3.7. After updating to 2.3.8, the NPE is not displayed.
- is related to
-
JENKINS-62332 Show which is the newest plugin release even if not offered
-
- Reopened
-
- links to
[JENKINS-62622] Jenkins 2.240 reports NPE on getPluginsWithUnavailableUpdates
Description |
Original:
When I start Jenkins 2.240, it reports a null pointer exception: {noformat} 2020-06-09 01:33:06.017+0000 [id=11] WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: app.updateCenter.pluginsWithUnavailableUpdates in /pluginManager/. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException at hudson.model.UpdateCenter.getPluginsWithUnavailableUpdates(UpdateCenter.java:1069) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) {noformat} |
New:
When I start Jenkins 2.240, it reports a null pointer exception: {noformat} 2020-06-09 01:33:06.017+0000 [id=11] WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: app.updateCenter.pluginsWithUnavailableUpdates in /pluginManager/. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException at hudson.model.UpdateCenter.getPluginsWithUnavailableUpdates(UpdateCenter.java:1069) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) {noformat} Does not report the null pointer exception on Jenkins 2.239. |
Description |
Original:
When I start Jenkins 2.240, it reports a null pointer exception: {noformat} 2020-06-09 01:33:06.017+0000 [id=11] WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: app.updateCenter.pluginsWithUnavailableUpdates in /pluginManager/. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException at hudson.model.UpdateCenter.getPluginsWithUnavailableUpdates(UpdateCenter.java:1069) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) {noformat} Does not report the null pointer exception on Jenkins 2.239. |
New:
When I start Jenkins 2.240, it reports a null pointer exception: {noformat} 2020-06-09 01:33:06.017+0000 [id=11] WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: app.updateCenter.pluginsWithUnavailableUpdates in /pluginManager/. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException at hudson.model.UpdateCenter.getPluginsWithUnavailableUpdates(UpdateCenter.java:1069) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) {noformat} Does not report the null pointer exception on Jenkins 2.239. The null pointer exception is not reported when all plugins are running their most recent releases. When I saw the NPE, I was running credentials plugin 2.3.7. After updating to 2.3.8, the NPE is not displayed. |
Link | New: This issue is related to JENKINS-62332 [ JENKINS-62332 ] |
Attachment | New: image-2020-06-14-23-53-51-184.png [ 51618 ] |
got the same, jumping from 2.228 to 2.240