java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/naming/NamingException

JIRA | John Taylor | 8 months ago
  1. 0

    Attachments are not being added to the issue during the transition. This issue was happening intermittently prior to updating to version 5.1.0 meaning that on some transitions the attachments would be added and on others, they would not. It seemed to be that transitions that were set up several months ago would work correctly and ones set up more recently would not work. After the update, none of the transitions work. The screenshots attached are from a "create" transition that was working correctly before the update to v5.1.0. The errors that show in the JIRA log are included below: +Error in JIRA log file:+ 2016-03-30 09:35:12,389 http-bio-8080-exec-26 ERROR jtaylor@familybankonline.com 575x12172x1 1bsksoz 10.88.43.58 /secure/QuickCreateIssue.jspa [jira.acli.utilities.CliRunner] Exception running action: Exception: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/naming/NamingException. java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/naming/NamingException at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.swift.jira.acli.utilities.CliRunner.doWork(CliRunner.java:187) at org.swift.jira.acli.utilities.CliRunner.doWork(CliRunner.java:171) at org.swift.jira.acli.utilities.CliRunner.runAction(CliRunner.java:137) at org.swift.jira.acli.utilities.CliRunnerHelper.runCliAction(CliRunnerHelper.java:172) at org.swift.jira.acli.functions.CliFunction.process(CliFunction.java:106) at org.swift.jira.library.AbstractPostFunction.execute(AbstractPostFunction.java:171) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:886) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:746) at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:645) at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:233) at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:192) at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:186) <+3> at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134) at com.sun.proxy.$Proxy104.create(Unknown Source) <+3> at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy104.create(Unknown Source) at com.atlassian.jira.quickedit.action.QuickCreateIssue.doExecute(QuickCreateIssue.java:266) <+1> (ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:88) <+7> (DefaultInterceptorChain.java:39) (NestedInterceptorChain.java:31) (ChainedInterceptor.java:16) (DefaultInterceptorChain.java:35) (GenericDispatcher.java:225) (GenericDispatcher.java:154) (JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) <+2> (ApplicationFilterChain.java:303) (ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) <+14> (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (XContentTypeOptionsNoSniffFilter.java:22) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (HeaderSanitisingFilter.java:44) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.jira.onboarding.postsetup.ui.PostSetupAnnouncementsFilter.doFilter(PostSetupAnnouncementsFilter.java:61) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:40) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.jira.baseurl.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:38) <+8> (AbstractHttpFilter.java:31) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) (ContextFilter.java:25) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:36) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:60) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:92) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:56) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36) <+26> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AccessLogFilter.java:107) (AccessLogFilter.java:91) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (XsrfTokenAdditionRequestFilter.java:54) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (SiteMeshFilter.java:181) (SiteMeshFilter.java:85) (SitemeshPageFilter.java:124) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (PageBuilderFilter.java:90) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (CommittedResponseHtmlErrorRecoveryFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+22> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (SecurityFilter.java:239) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (TrustedApplicationsFilter.java:100) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (BaseLoginFilter.java:172) (JiraLoginFilter.java:70) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) (OAuthFilter.java:79) (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+13> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ProfilingFilter.java:99) (JIRAProfilingFilter.java:19) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractJohnsonFilter.java:71) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) <+5> (UrlRewriteFilter.java:394) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70) at com.atlassian.analytics.client.filter.JiraAnalyticsFilter.doFilter(JiraAnalyticsFilter.java:40) at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32) <+3> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:70) at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61) <+45> (DelegatingPluginFilter.java:78) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractCachingFilter.java:33) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (AbstractEncodingFilter.java:41) (AbstractHttpFilter.java:31) (PathMatchingEncodingFilter.java:49) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (JiraStartupChecklistFilter.java:79) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (MultipartBoundaryCheckFilter.java:41) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (JiraFirstFilter.java:61) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (GzipFilter.java:115) (GzipFilter.java:92) (JiraGzipFilter.java:56) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (StandardWrapperValve.java:220) (StandardContextValve.java:122) (AuthenticatorBase.java:501) (StandardHostValve.java:171) (ErrorReportValve.java:103) (StandardEngineValve.java:116) (AccessLogValve.java:950) (CoyoteAdapter.java:408) (AbstractHttp11Processor.java:1070) (AbstractProtocol.java:611) (JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: javax/naming/NamingException at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:944) at org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:58) at org.swift.jira.cli.JiraRestClient.addAttachment(JiraRestClient.java:1668) at org.swift.jira.cli.helpers.AttachmentHelper.addAttachment(AttachmentHelper.java:94) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:1013) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.common.cli.CliClient.doWork(CliClient.java:500) at org.swift.common.cli.CliClient.doWork(CliClient.java:496) at org.swift.common.cli.CliClient.processRunLine(CliClient.java:1229) at org.swift.common.cli.AbstractRemoteClient.processRunLine(AbstractRemoteClient.java:641) at org.swift.common.cli.CliClient.doSingleRunLine(CliClient.java:1201) at org.swift.common.cli.CliClient.run(CliClient.java:1113) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:788) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.common.cli.CliClient.doWork(CliClient.java:500) at org.swift.common.cli.CliClient.doWork(CliClient.java:496) at org.swift.jira.acli.utilities.CliRunner$1.run(CliRunner.java:191) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ... 1 more Caused by: java.lang.ClassNotFoundException: javax.naming.NamingException at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) ... 24 more 2016-03-30 09:35:12,400 http-bio-8080-exec-26 ERROR jtaylor@familybankonline.com 575x12172x1 1bsksoz 10.88.43.58 /secure/QuickCreateIssue.jspa [jira.acli.utilities.CliRunnerHelper] Run: --action addAttachment --issue TSTLNS-989 --file "loan_forms/Loan Underwriting Form.pdf" --name "TSTLNS-989_Loan Underwriting Form.pdf" Request failed due to an unexpected exception: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/naming/NamingException

    JIRA | 8 months ago | John Taylor
    java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: javax/naming/NamingException
  2. 0

    [CONF-36389] Unable to Add URL in Application Navigator - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/commons/validator/routines/UrlValidator
  3. 0

    From Dale Lundgren - https://answers.atlassian.com/questions/135715/error-executing-confluence-cli-command-in-bamboo I have successfully tested the scripting from a command prompt to make sure I can connect and that everything works. Here is the script I am attempting to include in my CLI task: {noformat} --action run --server http://source.caseintel.com:8090 --user johndoe --password abc123 @DATA --action addComment --space "CSD" --title "Test Page" --comment "Test Comment - ${bamboo.buildNumber}" I receive the following messages: From build log: simple 10-Feb-2013 17:41:15 Build NETGISSCL-CCLI-JOB1-5 started building on agent Devserver Agent simple 10-Feb-2013 17:41:15 Build working directory is C:\bamboo-home\xml-data\build-dir\NETGISSCL-CCLI-JOB1 simple 10-Feb-2013 17:41:15 Executing build NETGISSCL-CCLI-JOB1-5 simple 10-Feb-2013 17:41:15 Running pre-build action: Build Number Stamper simple 10-Feb-2013 17:41:15 Running pre-build action: Clover Grails PreBuild Action simple 10-Feb-2013 17:41:15 Running pre-build action: VCS Version Collector simple 10-Feb-2013 17:41:15 Running pre-build action: Repository Isolation Enabler Action simple 10-Feb-2013 17:41:15 Running pre-build action: Maven Settings Prebuild Action command 10-Feb-2013 17:41:15 Substituting variable: ${bamboo.buildNumber} with 5 error 10-Feb-2013 17:41:15 Failed to execute the build 'NETGISSCL-CCLI-JOB1-5': Error creating bean with name 'org.swift.bamboo.acli.ConfluenceCliTask': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.swift.bamboo.acli.ConfluenceCliTask]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/axis/AxisFault simple 10-Feb-2013 17:41:15 Finalising the build... simple 10-Feb-2013 17:41:15 Stopping timer. simple 10-Feb-2013 17:41:15 Build NETGISSCL-CCLI-JOB1-5 completed. simple 10-Feb-2013 17:41:15 Running on server: post build plugin 'NCover Results Collector' simple 10-Feb-2013 17:41:15 Running on server: post build plugin 'Clover Delta Calculator' simple 10-Feb-2013 17:41:15 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 10-Feb-2013 17:41:15 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 10-Feb-2013 17:41:15 All post build plugins have finished simple 10-Feb-2013 17:41:15 Generating build results summary... simple 10-Feb-2013 17:41:15 Saving build results to disk... simple 10-Feb-2013 17:41:16 Indexing build results... simple 10-Feb-2013 17:41:16 Finished building NETGISSCL-CCLI-JOB1-5. Error: Failed to execute the build 'NETGISSCL-CCLI-JOB1-5' org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.swift.bamboo.acli.ConfluenceCliTask': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.swift.bamboo.acli.ConfluenceCliTask]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/axis/AxisFault at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) 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.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:300) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor.createBean(DefaultSpringContainerAccessor.java:109) at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32) at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:99) at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.createModule(AbstractBambooModuleDescriptor.java:26) at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.getModule(AbstractBambooModuleDescriptor.java:90) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:182) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:93) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:206) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:111) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.swift.bamboo.acli.ConfluenceCliTask]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/axis/AxisFault at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248) ... 24 more Caused by: java.lang.NoClassDefFoundError: org/apache/axis/AxisFault at org.swift.bamboo.acli.ConfluenceCliTask.<init>(ConfluenceCliTask.java:27) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) ... 26 more Caused by: java.lang.ClassNotFoundException: org.apache.axis.AxisFault at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) ... 32 more {noformat}

    JIRA | 4 years ago | Bob Swift
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.swift.bamboo.acli.ConfluenceCliTask': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.swift.bamboo.acli.ConfluenceCliTask]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, When I start Jira (6.2) I get this in catalina.out: {quote} javax.xml.bind.JAXBException - with linked exception: [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory not found from bundle [com.javahollic.jira.jemh-ui]] at javax.xml.bind.ContextFinder.newInstance(Unknown Source) at javax.xml.bind.ContextFinder.find(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at com.javahollic.jira.emh.service.DefaultAdHocNotificationConfigManager.parseAdHocConfig(DefaultAdHocNotificationConfigManager.java:90) at com.javahollic.jira.emh.service.DefaultAdHocNotificationConfigManager.getGlobalSettings(DefaultAdHocNotificationConfigManager.java:239) at com.javahollic.jira.emh.service.DefaultAdHocNotificationConfigManager.getGlobalAdHocSecurity(DefaultAdHocNotificationConfigManager.java:502) at com.javahollic.jira.emh.condition.JEMHAdHocNotificationCondition.<init>(JEMHAdHocNotificationCondition.java:54) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) 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:132) 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.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory not found from bundle [com.javahollic.jira.jemh-ui] at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(Unknown Source) at javax.xml.bind.ContextFinder.safeLoadClass(Unknown Source) ... 36 more Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:634) at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1594) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99) ... 39 more {quote} We are having trouble getting the plugin working and think it might be related to this error. If it helps, the Jira install is from their bin installation (which includes openjdk 1.7) Thanks Yusuf

    JIRA | 2 years ago | Yusuf Tran
    java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory not found from bundle [com.javahollic.jira.jemh-ui]]
  6. 0

    OSGI bundle starting problem | DaniWeb

    daniweb.com | 8 months ago
    org.osgi.framework.BundleException: Not found: Example2.Activator

  1. poroszd 1 times, last 1 month ago
3 unregistered visitors
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.ClassNotFoundException

    javax.naming.NamingException

    at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation()
  2. Apache Felix Framework
    ModuleImpl$ModuleClassLoader.loadClass
    1. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
    2. org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
    3. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
    3 frames
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(Unknown Source)
    1 frame
  4. Apache HttpClient
    HttpClients.createDefault
    1. org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:944)
    2. org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:58)
    2 frames
  5. org.swift.jira
    JiraClient.handleRequest
    1. org.swift.jira.cli.JiraRestClient.addAttachment(JiraRestClient.java:1668)
    2. org.swift.jira.cli.helpers.AttachmentHelper.addAttachment(AttachmentHelper.java:94)
    3. org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:1013)
    3 frames
  6. org.swift.common
    CliClient.run
    1. org.swift.common.cli.CliClient.doWork(CliClient.java:433)
    2. org.swift.common.cli.CliClient.doWork(CliClient.java:500)
    3. org.swift.common.cli.CliClient.doWork(CliClient.java:496)
    4. org.swift.common.cli.CliClient.processRunLine(CliClient.java:1229)
    5. org.swift.common.cli.AbstractRemoteClient.processRunLine(AbstractRemoteClient.java:641)
    6. org.swift.common.cli.CliClient.doSingleRunLine(CliClient.java:1201)
    7. org.swift.common.cli.CliClient.run(CliClient.java:1113)
    7 frames
  7. org.swift.jira
    JiraClient.handleRequest
    1. org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:788)
    1 frame
  8. org.swift.common
    CliClient.doWork
    1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312)
    2. org.swift.common.cli.CliClient.doWork(CliClient.java:433)
    3. org.swift.common.cli.CliClient.doWork(CliClient.java:500)
    4. org.swift.common.cli.CliClient.doWork(CliClient.java:496)
    4 frames
  9. org.swift.jira
    CliRunner$1.run
    1. org.swift.jira.acli.utilities.CliRunner$1.run(CliRunner.java:191)
    1 frame
  10. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    5. java.lang.Thread.run(Unknown Source)
    5 frames