Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32124

SCM Sync Configuration 0.0.9 causes empty Jenkins UI after install

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Windows 2012 R2, Linux RHEL5 and RHEL7, OSX 10.10, Jenkins 1.642.2, LTS, Subversion plugin 1.54 or 2.5.7
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          nutmix2 john little added a comment - - edited

          I just upgraded to 0.0.9 and now jenkins UI is giving blank pages also. In the logs it says

          INFO: Jenkins is fully up and running

          But it is not.

          Earlier in the log file is one error:

          Feb 06, 2017 6:08:26 PM jenkins.InitReactorRunner$1 onTaskFailed
          SEVERE: Failed Loading plugin SCM Sync Configuration Plugin v0.0.9 (scm-sync-configuration)
          java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:521)

          Please, could someone tell us how to manually downgrade the scm-sync-configuration plugin to 0.0.8?

          Show
          nutmix2 john little added a comment - - edited I just upgraded to 0.0.9 and now jenkins UI is giving blank pages also. In the logs it says INFO: Jenkins is fully up and running But it is not. Earlier in the log file is one error: Feb 06, 2017 6:08:26 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed Loading plugin SCM Sync Configuration Plugin v0.0.9 (scm-sync-configuration) java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:521) Please, could someone tell us how to manually downgrade the scm-sync-configuration plugin to 0.0.8?
          Hide
          wilson_ds_net Brian Wilson added a comment - - edited

          You are experiencing the dreaded "White Screen of Death" (WSoD). Some plugins will do this to you, most won't.

          To answer your question, the simple way is:
          Go to the https://<server:port>/pluginManager/.
          Find the scm-sync plugin.
          Select the button to downgrade.

          If you don't have that choice, go to the scm-sync web page (link provided later in this messsage).
          Find the archive link near top left hand side of the page.
          Download the 0.0.8 version of the plugin.
          Stop the Jenkins instance.
          Install the plugin file in the plugin subdirectory.
          Restart jenkins.

          If this isn't enough information, go to the https://wiki.jenkins-ci.org/display/JENKINS/SCM+Sync+configuration+plugin page and look at the comments. Near the bottom, that brilliant, devastatingly handsome, and amazingly humble Jenkins Admin, Brian Wilson, has written some very detailed instructions that should let you get back to what you need.

          Hope this helps

          Brian

          Show
          wilson_ds_net Brian Wilson added a comment - - edited You are experiencing the dreaded "White Screen of Death" (WSoD). Some plugins will do this to you, most won't. To answer your question, the simple way is: Go to the https://<server:port>/pluginManager/. Find the scm-sync plugin. Select the button to downgrade. If you don't have that choice, go to the scm-sync web page (link provided later in this messsage). Find the archive link near top left hand side of the page. Download the 0.0.8 version of the plugin. Stop the Jenkins instance. Install the plugin file in the plugin subdirectory. Restart jenkins. If this isn't enough information, go to the https://wiki.jenkins-ci.org/display/JENKINS/SCM+Sync+configuration+plugin page and look at the comments. Near the bottom, that brilliant, devastatingly handsome, and amazingly humble Jenkins Admin, Brian Wilson, has written some very detailed instructions that should let you get back to what you need. Hope this helps Brian
          Hide
          nutmix2 john little added a comment -

          Thanks Brian. I found a solution in case anyone else has the problem:

          1. cd /var/lib/jenkins/plugins
          2. touch scm-sync-configuration.jpi.disabled

          Now I get the web UI, and can build the projects again.

          Show
          nutmix2 john little added a comment - Thanks Brian. I found a solution in case anyone else has the problem: cd /var/lib/jenkins/plugins touch scm-sync-configuration.jpi.disabled Now I get the web UI, and can build the projects again.
          Hide
          palani Palanivel Somasundaram added a comment - - edited

          @john little - I think that just disables the whole SCM-sync-configuration plugin functionality, it does not actually fix the problem!!!

          Show
          palani Palanivel Somasundaram added a comment - - edited @john little - I think that just disables the whole SCM-sync-configuration plugin functionality, it does not actually fix the problem!!!
          Hide
          fsteff Flemming Steffensen added a comment - - edited

          Issue confirmed to still exist on SCM Sync Configuration 0.0.10

          Windows 2012 R2, Jenkins 2.4.8, Subversion plugin 2.71, SCM API Plugin 2.0.8

          Any progress or even ETA on a fix?

          Any hints to how we (the community) can assist debugging this issue?

          Show
          fsteff Flemming Steffensen added a comment - - edited Issue confirmed to still exist on SCM Sync Configuration 0.0.10 Windows 2012 R2, Jenkins 2.4.8, Subversion plugin 2.71, SCM API Plugin 2.0.8 Any progress or even ETA on a fix? Any hints to how we (the community) can assist debugging this issue?

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            medianick Nick Jones
            Votes:
            18 Vote for this issue
            Watchers:
            30 Start watching this issue

              Dates

              Created:
              Updated: