Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-5224

Starting JIRA results in java.lang.TypeNotPresentException: Type com.atlassian.greenhopper.api.rapid.view.Column not present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Medium
    • None
    • None
    • None
    • None

    Description

      Symptom(s)

      When starting JIRA up, the following exceptions are presented within the atlassian-jira.log:

      2012-05-22 12:26:34,080 Spring executor 9 ERROR anonymous 745x29x1 1nasxbp 0:0:0:0:0:0:0:1 /secure/Setup.jspa [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com
      .atlassian.jira.plugins.jira-importers-plugin
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pivotalRapidBoardManager' defined in URL [bundle://57.0:0/META-INF/spring/atlassian-plugins-components.x
      ml]: Initialization of bean failed; nested exception is java.lang.TypeNotPresentException: Type com.atlassian.greenhopper.api.rapid.view.Column not present
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
              at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
              at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
              at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
              at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
              at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
              at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
              at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:13
      2)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
              at java.lang.Thread.run(Thread.java:679)
      Caused by: java.lang.TypeNotPresentException: Type com.atlassian.greenhopper.api.rapid.view.Column not present
              at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:116)
              at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
              at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
              at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:68)
              at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:138)
              at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
              at sun.reflect.generics.repository.MethodRepository.getReturnType(MethodRepository.java:68)
              at java.lang.reflect.Method.getGenericReturnType(Method.java:254)
              at java.beans.FeatureDescriptor.getReturnType(FeatureDescriptor.java:368)
              at java.beans.Introspector.getTargetEventInfo(Introspector.java:1020)
              at java.beans.Introspector.getBeanInfo(Introspector.java:424)
      
      

      Cause

      The likely cause is that JIRA is using OpenJDK, which is an unsupported JRE/JDK as in our Supported Platforms.

      Resolution

      Install a supported version of Java, as in our Installing Java documentation.

      More Info

      From Unable to start the Spring context for plugin com.atlassian.jira.plugins.jira-importers-plugin, guessing that this is caused by JIM expecting GH to be on the classpath. Haven't tried if JIM actually works (I suspect it doesn't, since the spring context didn't come up). This might as well be a JIM bug.

      Replication steps:

      • downloaded JIRA 5.0.5 from WAC
      • setup JIRA with default settings

      Attachments

        Activity

          People

            Unassigned Unassigned
            ahennecke Alex Hennecke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: