Skip to content

[JENKINS-31448] NPE in update center on restart #21552

Closed

Description

@jenkins-infra-bot

Just caught it in startup logs after Jenkins restart due to the PermGen issue. Probably it's not important.

Nov 08, 2015 1:10:08 AM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed UpdateCenter.init
java.lang.Error: java.lang.reflect.InvocationTargetException
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
	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:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: 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:497)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
	... 8 more
Caused by: java.lang.NullPointerException
	at hudson.model.UpdateSite.isLegacyDefault(UpdateSite.java:429)
	at hudson.model.UpdateCenter.load(UpdateCenter.java:533)
	at hudson.model.UpdateCenter.init(UpdateCenter.java:1554)
	... 13 more


Originally reported by oleg_nenashev, imported from: NPE in update center on restart
  • status: Resolved
  • priority: Minor
  • component(s): core
  • label(s): newbie-friendly
  • resolution: Fixed
  • resolved: 2018-10-05T11:32:01+00:00
  • votes: 0
  • watchers: 2
  • imported: 2025-11-24
Raw content of original issue

Just caught it in startup logs after Jenkins restart due to the PermGen issue. Probably it's not important.

Nov 08, 2015 1:10:08 AM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed UpdateCenter.init
java.lang.Error: java.lang.reflect.InvocationTargetException
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
	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:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: 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:497)
	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:106)
	... 8 more
Caused by: java.lang.NullPointerException
	at hudson.model.UpdateSite.isLegacyDefault(UpdateSite.java:429)
	at hudson.model.UpdateCenter.load(UpdateCenter.java:533)
	at hudson.model.UpdateCenter.init(UpdateCenter.java:1554)
	... 13 more
  • environment: jenkins-1.625.1

Activity

  1. jenkins-infra-bot commented on Nov 7, 2015

    @jenkins-infra-bot
    Author
    oleg_nenashev:
    • Original comment link
    • Raw content of original comment:

      Sorry, wrong project. Move operation fails.

    Sorry, wrong project. Move operation fails.

  2. jenkins-infra-bot commented on Oct 19, 2018

    @jenkins-infra-bot
    Author
    annetheagile:
    • Original comment link
    • Raw content of original comment:

      oleg_nenashev  do you mean that this ticket was resolved 'fixed' by you since it should be deleted/cancelled and you re-made it elsewhere? (So the 'fix' is that ticket should not be here/open.)

    oleg_nenashev  do you mean that this ticket was resolved 'fixed' by you since it should be deleted/cancelled and you re-made it elsewhere? (So the 'fix' is that ticket should not be here/open.)

  3. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions