java.lang.ClassCastException: com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor cannot be cast to com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor

Atlassian JIRA | Michael Tokar | 4 years ago
  1. 0

    I have seen this on GDOG, and on my own spun-up OD instance. # Start up JIRA OnDemand. I used jira-master fireball #569. This has GH version 6.0.2-rc1 bundled. # Install GH 6.0.4-SNAPSHOT into the instance # External System Import does not work - clicking on a system to import from returns a 500 page with the following stack trace: {code} Cause: java.lang.ClassCastException: com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor cannot be cast to com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor Stack Trace: [hide] java.lang.ClassCastException: com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor cannot be cast to com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor at com.atlassian.jira.plugins.importer.web.wizard.TabsSimpleLinkFactory.getLinks(TabsSimpleLinkFactory.java:53) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(DefaultSimpleLinkManager.java:190) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinksForSection(DefaultSimpleLinkManager.java:124) at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy309.getLinksForSection(Unknown Source) at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy309.getLinksForSection(Unknown Source) at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at $Proxy309.getLinksForSection(Unknown Source) at com.atlassian.studio.jira.webfragment.DefaultStudioWebInterfaceManager.getLinksForSection(DefaultStudioWebInterfaceManager.java:159) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.addMenuItems(GlobalAdminServlet.java:346) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.getMenuItems(GlobalAdminServlet.java:313) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.getVelocityParams(GlobalAdminServlet.java:204) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.applyDecoratorUsingVelocity(GlobalAdminServlet.java:132) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.service(GlobalAdminServlet.java:113) {code} Restarting the OnDemand instance fixes the problem. It appears to be a class loader issue. But I'm not too familiar with the code.

    Atlassian JIRA | 4 years ago | Michael Tokar
    java.lang.ClassCastException: com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor cannot be cast to com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor
  2. 0

    I have seen this on GDOG, and on my own spun-up OD instance. # Start up JIRA OnDemand. I used jira-master fireball #569. This has GH version 6.0.2-rc1 bundled. # Install GH 6.0.4-SNAPSHOT into the instance # External System Import does not work - clicking on a system to import from returns a 500 page with the following stack trace: {code} Cause: java.lang.ClassCastException: com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor cannot be cast to com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor Stack Trace: [hide] java.lang.ClassCastException: com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor cannot be cast to com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor at com.atlassian.jira.plugins.importer.web.wizard.TabsSimpleLinkFactory.getLinks(TabsSimpleLinkFactory.java:53) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(DefaultSimpleLinkManager.java:190) at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinksForSection(DefaultSimpleLinkManager.java:124) at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy309.getLinksForSection(Unknown Source) at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy309.getLinksForSection(Unknown Source) at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at $Proxy309.getLinksForSection(Unknown Source) at com.atlassian.studio.jira.webfragment.DefaultStudioWebInterfaceManager.getLinksForSection(DefaultStudioWebInterfaceManager.java:159) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.addMenuItems(GlobalAdminServlet.java:346) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.getMenuItems(GlobalAdminServlet.java:313) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.getVelocityParams(GlobalAdminServlet.java:204) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.applyDecoratorUsingVelocity(GlobalAdminServlet.java:132) at com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.service(GlobalAdminServlet.java:113) {code} Restarting the OnDemand instance fixes the problem. It appears to be a class loader issue. But I'm not too familiar with the code.

    Atlassian JIRA | 4 years ago | Michael Tokar
    java.lang.ClassCastException: com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor cannot be cast to com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor
  3. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cannot be cast to javax.servlet.Filter | Oracle Community

    oracle.com | 8 months ago
    java.lang.ClassCastException: cannot be cast to javax.servlet.Filter
  6. 0

    How to authenticate Azure Mobile Services in Android Service

    Stack Overflow | 2 years ago | Neil
    java.lang.ClassCastException: *** cannot be cast to android.app.Activity

    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.ClassCastException

      com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor cannot be cast to com.atlassian.jira.plugins.importer.extensions.ExternalSystemImporterModuleDescriptor

      at com.atlassian.jira.plugins.importer.web.wizard.TabsSimpleLinkFactory.getLinks()
    2. com.atlassian.jira
      DefaultSimpleLinkManager.getLinksForSection
      1. com.atlassian.jira.plugins.importer.web.wizard.TabsSimpleLinkFactory.getLinks(TabsSimpleLinkFactory.java:53)
      2. com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(DefaultSimpleLinkManager.java:190)
      3. com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinksForSection(DefaultSimpleLinkManager.java:124)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. com.atlassian.multitenant
      MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke
      1. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
      2. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211)
      2 frames
    5. Unknown
      $Proxy309.getLinksForSection
      1. $Proxy309.getLinksForSection(Unknown Source)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. com.atlassian.plugin
      DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      1 frame
    8. Unknown
      $Proxy309.getLinksForSection
      1. $Proxy309.getLinksForSection(Unknown Source)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    10. com.atlassian.plugin
      HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
      1 frame
    11. Unknown
      $Proxy309.getLinksForSection
      1. $Proxy309.getLinksForSection(Unknown Source)
      1 frame
    12. com.atlassian.studio
      GlobalAdminServlet.service
      1. com.atlassian.studio.jira.webfragment.DefaultStudioWebInterfaceManager.getLinksForSection(DefaultStudioWebInterfaceManager.java:159)
      2. com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.addMenuItems(GlobalAdminServlet.java:346)
      3. com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.getMenuItems(GlobalAdminServlet.java:313)
      4. com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.getVelocityParams(GlobalAdminServlet.java:204)
      5. com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.applyDecoratorUsingVelocity(GlobalAdminServlet.java:132)
      6. com.atlassian.studio.jira.globaladmin.GlobalAdminServlet.service(GlobalAdminServlet.java:113)
      6 frames