Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4361

BundleException: Exception in net.sf.eclipsecs.ui.CheckstyleUIPlugin.stop()

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 10.4.0.AM3
    • Fix Version/s: LATER
    • Component/s: central
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1) Install Devstudio using jar installer
      2) git clone https://github.com/jbdevstudio/jbdevstudio-qa
      3) Install all the stuff from Red Hat Central (PMD can be excluded)

      cd /path/to/jbdevstudio-qa
      
      ECLIPSE_LOCATION=/path/to/devstudio/studio/
      
      mvn clean -o -f devstudio-ui-central.test/pom.xml verify -DtestInstallBase=$ECLIPSE_LOCATION -DskipTests=false -PITests -PinstallFromCentral -Dcentral.early.access=true -Dcentral.exclude="net.sourceforge.pmd.eclipse"
      

      4) Start 'after install test'. It will only start eclipse, wait for while and then shutdown.

      mvn clean -o -f devstudio-ui-central.test/pom.xml verify -DtestInstallBase=$ECLIPSE_LOCATION -DskipTests=false -PITests -PstartAfterInstall
      

      5) Wait until after eclipse is terminated, then the error should be in the log.

      Show
      1) Install Devstudio using jar installer 2) git clone https://github.com/jbdevstudio/jbdevstudio-qa 3) Install all the stuff from Red Hat Central (PMD can be excluded) cd /path/to/jbdevstudio-qa ECLIPSE_LOCATION=/path/to/devstudio/studio/ mvn clean -o -f devstudio-ui-central.test/pom.xml verify -DtestInstallBase=$ECLIPSE_LOCATION -DskipTests= false -PITests -PinstallFromCentral -Dcentral.early.access= true -Dcentral.exclude= "net.sourceforge.pmd.eclipse" 4) Start 'after install test'. It will only start eclipse, wait for while and then shutdown. mvn clean -o -f devstudio-ui-central.test/pom.xml verify -DtestInstallBase=$ECLIPSE_LOCATION -DskipTests= false -PITests -PstartAfterInstall 5) Wait until after eclipse is terminated, then the error should be in the log.
    • Docs QE Status:
      NEW

      Description

      I saw this exception in eclipse log after installation of everything from RH Central. I see that you have met this problem in JBDS-2666 and jira was closed as 'can't reproduce'.

      It seems that this error is reproducable using automated test of installation from RH Central [1], see builds 18-20, choose OS and open eclipse-log-startAfterInstall.log. This error is in all builds and on all systems.

      [1] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_installer_tests/job/Devstudio_Installation/job/Post_install_tests/job/Install_sw_from_central/

      !ENTRY net.sf.eclipsecs.ui 4 0 2017-04-12 13:10:03.802
      !MESSAGE FrameworkEvent ERROR
      !STACK 0
      org.osgi.framework.BundleException: Exception in net.sf.eclipsecs.ui.CheckstyleUIPlugin.stop() of bundle net.sf.eclipsecs.ui.
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:850)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:946)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
      	at org.eclipse.osgi.container.Module.doStop(Module.java:636)
      	at org.eclipse.osgi.container.Module.stop(Module.java:498)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580)
      	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
      	at org.eclipse.osgi.container.Module.doStop(Module.java:636)
      	at org.eclipse.osgi.container.Module.stop(Module.java:498)
      	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ExceptionInInitializerError
      	at net.sf.eclipsecs.ui.CheckstyleUIPlugin.stop(CheckstyleUIPlugin.java:123)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:830)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:823)
      	... 13 more
      Caused by: java.lang.NullPointerException
      	at org.eclipse.ui.plugin.AbstractUIPlugin.imageDescriptorFromPlugin(AbstractUIPlugin.java:664)
      	at net.sf.eclipsecs.ui.CheckstyleUIPluginImages.<clinit>(CheckstyleUIPluginImages.java:95)
      	... 18 more
      Root exception:
      java.lang.ExceptionInInitializerError
      	at net.sf.eclipsecs.ui.CheckstyleUIPlugin.stop(CheckstyleUIPlugin.java:123)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:830)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:823)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:946)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
      	at org.eclipse.osgi.container.Module.doStop(Module.java:636)
      	at org.eclipse.osgi.container.Module.stop(Module.java:498)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580)
      	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
      	at org.eclipse.osgi.container.Module.doStop(Module.java:636)
      	at org.eclipse.osgi.container.Module.stop(Module.java:498)
      	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at org.eclipse.ui.plugin.AbstractUIPlugin.imageDescriptorFromPlugin(AbstractUIPlugin.java:664)
      	at net.sf.eclipsecs.ui.CheckstyleUIPluginImages.<clinit>(CheckstyleUIPluginImages.java:95)
      	... 18 more
      
      

      Log: eclipse-log-CheckstyleUIPlugin.log

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lvalach Lukáš Valach
                Reporter:
                lvalach Lukáš Valach
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: