java.io.IOException: Failed to initialize

Jenkins JIRA | Nick Jones | 12 months ago
  1. 0

    After upgrading from version 0.0.8 to 0.0.9 of this plugin, the Jenkins UI fails to load upon restart. The "Jenkins" service is running but serves no content to browsers. The error log shows the following stack trace: Dec 17, 2015 7:59:54 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading plugin scm-sync-configuration java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:441) at hudson.PluginManager$2$1$1.run(PluginManager.java:371) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source) at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source) at java.lang.reflect.Field.get(Unknown Source) at hudson.plugins.scm_sync_configuration.scms.ScmSyncSubversionSCM.extractScmCredentials(ScmSyncSubversionSCM.java:59) at hudson.plugins.scm_sync_configuration.scms.SCM.getConfiguredRepository(SCM.java:66) at hudson.plugins.scm_sync_configuration.SCMManipulator.scmConfigurationSettledUp(SCMManipulator.java:57) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.initializeRepository(ScmSyncConfigurationBusiness.java:72) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.init(ScmSyncConfigurationBusiness.java:67) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.initialInit(ScmSyncConfigurationPlugin.java:174) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.start(ScmSyncConfigurationPlugin.java:157) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:449) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:438) ... 9 more Manually downgrading the scm-sync-configuration plugin to 0.0.8 and restarting solves the problem. I've done this upgrade/downgrade cycle twice to confirm that this is indeed the cause.

    Jenkins JIRA | 12 months ago | Nick Jones
    java.io.IOException: Failed to initialize
  2. 0

    After upgrading from version 0.0.8 to 0.0.9 of this plugin, the Jenkins UI fails to load upon restart. The "Jenkins" service is running but serves no content to browsers. The error log shows the following stack trace: Dec 17, 2015 7:59:54 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading plugin scm-sync-configuration java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:441) at hudson.PluginManager$2$1$1.run(PluginManager.java:371) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source) at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source) at java.lang.reflect.Field.get(Unknown Source) at hudson.plugins.scm_sync_configuration.scms.ScmSyncSubversionSCM.extractScmCredentials(ScmSyncSubversionSCM.java:59) at hudson.plugins.scm_sync_configuration.scms.SCM.getConfiguredRepository(SCM.java:66) at hudson.plugins.scm_sync_configuration.SCMManipulator.scmConfigurationSettledUp(SCMManipulator.java:57) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.initializeRepository(ScmSyncConfigurationBusiness.java:72) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.init(ScmSyncConfigurationBusiness.java:67) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.initialInit(ScmSyncConfigurationPlugin.java:174) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.start(ScmSyncConfigurationPlugin.java:157) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:449) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:438) ... 9 more Manually downgrading the scm-sync-configuration plugin to 0.0.8 and restarting solves the problem. I've done this upgrade/downgrade cycle twice to confirm that this is indeed the cause.

    Jenkins JIRA | 12 months ago | Nick Jones
    java.io.IOException: Failed to initialize
  3. 0

    Jenkins gives me blank page

    Stack Overflow | 10 months ago | guylifestyle
    java.io.IOException: Failed to initialize
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash - Pastey.org

    pastey.org | 1 year ago
    cpw.mods.fml.relauncher.ReflectionHelper$UnableToAccessFieldException: java.lang.NullPointerException

  1. adawolfs 4 times, last 4 months ago
  2. jk 11 times, last 5 months ago
  3. MyInnos 7 times, last 7 months ago
3 unregistered visitors
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 sun.reflect.UnsafeFieldAccessorImpl.ensureObj()
  2. Java RT
    Field.get
    1. sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)
    2. sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)
    3. java.lang.reflect.Field.get(Unknown Source)
    3 frames
  3. hudson.plugins.scm_sync_configuration
    ScmSyncConfigurationPlugin.start
    1. hudson.plugins.scm_sync_configuration.scms.ScmSyncSubversionSCM.extractScmCredentials(ScmSyncSubversionSCM.java:59)
    2. hudson.plugins.scm_sync_configuration.scms.SCM.getConfiguredRepository(SCM.java:66)
    3. hudson.plugins.scm_sync_configuration.SCMManipulator.scmConfigurationSettledUp(SCMManipulator.java:57)
    4. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.initializeRepository(ScmSyncConfigurationBusiness.java:72)
    5. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.init(ScmSyncConfigurationBusiness.java:67)
    6. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.initialInit(ScmSyncConfigurationPlugin.java:174)
    7. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.start(ScmSyncConfigurationPlugin.java:157)
    7 frames
  4. Hudson
    PluginManager$2$1$1.run
    1. hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:449)
    2. hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:438)
    3. hudson.PluginManager$2$1$1.run(PluginManager.java:371)
    3 frames
  5. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    2 frames
  6. jenkins.model
    Jenkins$7.runTask
    1. jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
    1 frame
  7. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    2 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames