Uploaded image for project: 'JIRA Labels Plugin'
  1. JIRA Labels Plugin
  2. LBL-195

JIRA won't start when using JIRA Labels and Java 1.6-21 or later

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.3.1, 2.4.1
    • Component/s: Build
    • Security Level: public (Anyone can view the issue)
    • Labels:
    • Environment:

      JIRA 4.1.2
      Java 1.6u21,22,23
      JIRA Labels 2.4

      Description

      Hi,

      There is a critical bug that prevents JIRA to start when using JIRA Labels and the latest Java version.
      I made a test using a clean install, JIRA 4.1.2 and JIRA Labels 2.4.
      When using Java 1.6-21, JIRA hangs with a fatal error.

      2010-07-13 12:06:32,531 main ERROR      [plugin.event.impl.DefaultPluginEventManager] Plugin Event Listener 'com.atlassian.sal.jira.lifecycle.JiraLifecycleManager@15735fd' threw an error on event 'com.atlassian.jira.extension.JiraStartedEvent@1d92abb': org/picocontainer/PicoContainer
      2010-07-13 12:06:32,532 main FATAL      [atlassian.jira.upgrade.ConsistencyLauncher] A fatal error occured during initialisation. JIRA has been locked.
      com.atlassian.plugin.event.NotificationException: java.lang.NoClassDefFoundError: org/picocontainer/PicoContainer
      	at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:85)
      	at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:267)
      	at com.atlassian.jira.ComponentManager.start(ComponentManager.java:211)
      	at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63)
      	at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
      	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
      	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
      	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.lang.NoClassDefFoundError: org/picocontainer/PicoContainer
      	at com.atlassian.jira.plugin.labels.utils.BackwardsCompatibilitySupport.getOfBizDelegator(BackwardsCompatibilitySupport.java:95)
      	at com.atlassian.jira.plugin.labels.utils.BackwardsCompatibilitySupport.start(BackwardsCompatibilitySupport.java:37)
      	at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.notifyOnStart(JiraLifecycleManager.java:83)
      	at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:50)
      	at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.onJiraStart(JiraLifecycleManager.java:60)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.atlassian.plugin.event.impl.DefaultPluginEventManager$Listener.notify(DefaultPluginEventManager.java:196)
      	at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:70)
      	... 19 more
      Caused by: java.lang.ClassNotFoundException: org.picocontainer.PicoContainer
      	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:726)
      	at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:60)
      	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1633)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      	... 30 more
      2010-07-13 12:06:32,534 main FATAL      [atlassian.jira.upgrade.UpgradeLauncher] Skipping, JIRA is locked.
      
      

      When using Java 1.6-20, JIRA works perfectly!

      Cheers,
      Thiago Auler

        Attachments

          Activity

            People

            • Assignee:
              dchui David Chui (Inactive)
              Reporter:
              tsantos Thiago Auler dos Santos
            • Votes:
              49 Vote for this issue
              Watchers:
              44 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?