java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I have Jira plugin 1.29. I executed my job that is cofigured to use Update relevant JIRA issue and it is produce the error: ERROR: Publisher hudson.plugins.jira.JiraIssueUpdater aborted due to exception java.lang.ExceptionInInitializerError at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at hudson.plugins.jira.soap.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12) at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:141) at hudson.plugins.jira.Updater.perform(Updater.java:68) at hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:29) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:233) Caused by: org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:135) at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156) at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150) at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:333) at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) ... 16 more Finished: FAILURE What is the problem? Thanks and regards.
    via by María García,
  • I have Jira plugin 1.29. I executed my job that is cofigured to use Update relevant JIRA issue and it is produce the error: ERROR: Publisher hudson.plugins.jira.JiraIssueUpdater aborted due to exception java.lang.ExceptionInInitializerError at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at hudson.plugins.jira.soap.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12) at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:141) at hudson.plugins.jira.Updater.perform(Updater.java:68) at hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:29) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:233) Caused by: org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:135) at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156) at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150) at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:333) at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) ... 16 more Finished: FAILURE What is the problem? Thanks and regards.
    via by María García,
  • I am running PAX Logging and using log4j as my logging implementation for the bundles I have been creating. All works well as long as I omit org.apache.commons.logging-1.0.4 in Eclipse PDE Target Platform -> Plug-ins Life was good until I tried to consume a web service using Axis1.4. I created a Web Service Client Bundle which makes calls to a server side web service. All works fine. I then I converted the project via Eclipse to a PDE project so I could use it in my RCP application. My client bundle now requires the Axis 1.4 jars to run which includes the 'org.apache.commons.discovery-0.2.0' bundle. This bundle has a Required-Bundle on 'org.apache.commons.logging'. So I then get the following issue exception: Jan 30, 2008 1:20:49 PM org.springframework.osgi.extender.internal.ContextLoaderListener start INFO: Starting org.springframework.osgi.extender bundle v.[1.0.0.rc2] Jan 30, 2008 1:20:50 PM org.springframework.osgi.extender.internal.ContextLoaderListener addAnnotationBPP INFO: disabled automatic Spring-DM annotation processing; [ org.springframework.osgi.extender.annotation.auto.processing=null] Jan 30, 2008 1:20:50 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@11a772d: display name [OsgiBundleXmlApplicationContext(bundle=com.agfa.websend.bundle.user.services, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Wed Jan 30 13:20:50 EST 2008]; root of context hierarchy osgi> Jan 30, 2008 1:20:50 PM org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor fail SEVERE: Unable to create application context for [com.agfa.websend.bundle.user.services], unsatisfied dependencies: none - Show quoted text - org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init>(DefaultSingletonBeanRegistry.java:83) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>(FactoryBeanRegistrySupport.java:40) at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(AbstractBeanFactory.java:146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:151) at org.springframework.beans.factory.support.DefaultListableBeanFactory.<init>(DefaultListableBeanFactory.java:115) at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:150) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:95) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:411) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:190) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:212) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:163) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:124) at org.springframework.osgi.extender.internal.ContextLoaderListener$2.run(ContextLoaderListener.java:630) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) ... 18 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils at org.springframework.osgi.util.DebugUtils.debugClassLoading(DebugUtils.java:124) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:124) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:178) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:441) at java.security.AccessController.doPrivileged(Native Method) at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376) ... 19 more So I then open up the 'org.apache.commons.discovery-0.2.0' bundle and replace the 'Require-Bundle:org.apache.commons.logging' with 'Import-Package:org.apache.commons.logging' Now I receive the following error in the Equinox OSGi container: !ENTRY org.eclipse.osgi 4 0 2008-01-31 13:30:54.337 !MESSAGE Application error !STACK 1 java.lang.ExceptionInInitializerError at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.agfa.websend.axis.client.user.UserServiceServiceLocator.<init>(UserServiceServiceLocator.java:12) at com.agfa.websend.sandbox.ws.app.Application.test3UserServiceLogon(Application.java:55) at com.agfa.websend.sandbox.ws.app.Application.start(Application.java:20) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) Caused by: org.apache.commons.discovery.DiscoveryException: No implementation defined for org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:176) at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201) at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195) at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378) at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) ... 19 more To reproduced this I simply created a Eclipse RCP plugin project using the 'HelloWorld' template. I then created then Axis 1.4 WebService Client project from an existing WSDL. I then convert the WebService Client project to a PDE Project using the PDE Tools - Convert to PDE Project. (Simply right click the project in Eclipse and select PDE Tools - Convert to PDE Project). I then imported the packages need into my RCP bundle. My Webservice Client bundle is using the Spring-OSGi provided jcl104-over-slf4j and the slf4j-log4j implementation so there is no requirement on 'org.apache.commons.logging'.
    via by Kyle S. Bober,
  • I am running PAX Logging and using log4j as my logging implementation for the bundles I have been creating. All works well as long as I omit org.apache.commons.logging-1.0.4 in Eclipse PDE Target Platform -> Plug-ins Life was good until I tried to consume a web service using Axis1.4. I created a Web Service Client Bundle which makes calls to a server side web service. All works fine. I then I converted the project via Eclipse to a PDE project so I could use it in my RCP application. My client bundle now requires the Axis 1.4 jars to run which includes the 'org.apache.commons.discovery-0.2.0' bundle. This bundle has a Required-Bundle on 'org.apache.commons.logging'. So I then get the following issue exception: Jan 30, 2008 1:20:49 PM org.springframework.osgi.extender.internal.ContextLoaderListener start INFO: Starting org.springframework.osgi.extender bundle v.[1.0.0.rc2] Jan 30, 2008 1:20:50 PM org.springframework.osgi.extender.internal.ContextLoaderListener addAnnotationBPP INFO: disabled automatic Spring-DM annotation processing; [ org.springframework.osgi.extender.annotation.auto.processing=null] Jan 30, 2008 1:20:50 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@11a772d: display name [OsgiBundleXmlApplicationContext(bundle=com.agfa.websend.bundle.user.services, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Wed Jan 30 13:20:50 EST 2008]; root of context hierarchy osgi> Jan 30, 2008 1:20:50 PM org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor fail SEVERE: Unable to create application context for [com.agfa.websend.bundle.user.services], unsatisfied dependencies: none - Show quoted text - org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init>(DefaultSingletonBeanRegistry.java:83) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>(FactoryBeanRegistrySupport.java:40) at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(AbstractBeanFactory.java:146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.<init>(AbstractAutowireCapableBeanFactory.java:151) at org.springframework.beans.factory.support.DefaultListableBeanFactory.<init>(DefaultListableBeanFactory.java:115) at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:150) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:95) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:411) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:190) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:212) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:163) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:124) at org.springframework.osgi.extender.internal.ContextLoaderListener$2.run(ContextLoaderListener.java:630) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils (Caused by java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) ... 18 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.osgi.util.DebugUtils at org.springframework.osgi.util.DebugUtils.debugClassLoading(DebugUtils.java:124) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:124) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:178) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:441) at java.security.AccessController.doPrivileged(Native Method) at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376) ... 19 more So I then open up the 'org.apache.commons.discovery-0.2.0' bundle and replace the 'Require-Bundle:org.apache.commons.logging' with 'Import-Package:org.apache.commons.logging' Now I receive the following error in the Equinox OSGi container: !ENTRY org.eclipse.osgi 4 0 2008-01-31 13:30:54.337 !MESSAGE Application error !STACK 1 java.lang.ExceptionInInitializerError at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.agfa.websend.axis.client.user.UserServiceServiceLocator.<init>(UserServiceServiceLocator.java:12) at com.agfa.websend.sandbox.ws.app.Application.test3UserServiceLogon(Application.java:55) at com.agfa.websend.sandbox.ws.app.Application.start(Application.java:20) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) Caused by: org.apache.commons.discovery.DiscoveryException: No implementation defined for org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:176) at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201) at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195) at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378) at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) ... 19 more To reproduced this I simply created a Eclipse RCP plugin project using the 'HelloWorld' template. I then created then Axis 1.4 WebService Client project from an existing WSDL. I then convert the WebService Client project to a PDE Project using the PDE Tools - Convert to PDE Project. (Simply right click the project in Eclipse and select PDE Tools - Convert to PDE Project). I then imported the packages need into my RCP bundle. My Webservice Client bundle is using the Spring-OSGi provided jcl104-over-slf4j and the slf4j-log4j implementation so there is no requirement on 'org.apache.commons.logging'.
    via by Kyle S. Bober,
  • If you run a transformation using the Salesforce Insert step on the server, it will throw an error {code} 2016/02/18 17:37:56 - salesforceInsert - No user-defined ExtensionPoint configuration; defaulting to plugin defined ones (monitoring.properties) 2016/02/18 17:37:56 - salesforceInsert - Dispatching to event bus: TransformationPrepareExecutionEvent 2016/02/18 17:37:56 - salesforceInsert - Dispatching started for transformation [salesforceInsert] 2016/02/18 17:37:56 - salesforceInsert - Nr of arguments detected:1 2016/02/18 17:37:56 - salesforceInsert - This is not a replay transformation 2016/02/18 17:37:56 - salesforceInsert - I found 1 different steps to launch. 2016/02/18 17:37:56 - salesforceInsert - Allocating rowsets... 2016/02/18 17:37:56 - salesforceInsert - Allocating rowsets for step 0 --> Salesforce Insert 2016/02/18 17:37:56 - salesforceInsert - Allocated 0 rowsets for step 0 --> Salesforce Insert 2016/02/18 17:37:56 - salesforceInsert - Allocating Steps & StepData... 2016/02/18 17:37:56 - salesforceInsert - Transformation is about to allocate step [Salesforce Insert] of type [SalesforceInsert] 2016/02/18 17:37:56 - salesforceInsert - Step has nrcopies=1 2016/02/18 17:37:56 - Salesforce Insert.0 - distribution activated 2016/02/18 17:37:56 - Salesforce Insert.0 - Starting allocation of buffers & new threads... 2016/02/18 17:37:56 - Salesforce Insert.0 - Step info: nrinput=0 nroutput=0 2016/02/18 17:37:56 - Salesforce Insert.0 - Finished dispatching 2016/02/18 17:37:56 - salesforceInsert - Transformation has allocated a new step: [Salesforce Insert].0 2016/02/18 17:37:56 - salesforceInsert - This transformation can be replayed with replay date: 2016/02/18 17:37:56 2016/02/18 17:37:56 - salesforceInsert - Initialising 1 steps... 2016/02/18 17:37:56 - Salesforce Insert.0 - Released server socket on port 0 2016/02/18 17:37:56 - Salesforce Insert.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Error initializing step [Salesforce Insert] 2016/02/18 17:37:56 - Salesforce Insert.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : java.lang.ExceptionInInitializerError 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.axis.description.TypeDesc.<clinit>(TypeDesc.java:61) 2016/02/18 17:37:56 - Salesforce Insert.0 - at com.sforce.soap.partner.FieldType.<clinit>(FieldType.java:97) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.pentaho.di.trans.steps.salesforceinput.SalesforceConnection.<clinit>(SalesforceConnection.java:69) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsert.init(SalesforceInsert.java:314) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69) 2016/02/18 17:37:56 - Salesforce Insert.0 - at java.lang.Thread.run(Thread.java:745) 2016/02/18 17:37:56 - Salesforce Insert.0 - Caused by: org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:135) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:333) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) 2016/02/18 17:37:56 - Salesforce Insert.0 - at java.security.AccessController.doPrivileged(Native Method) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) 2016/02/18 17:37:56 - Salesforce Insert.0 - ... 6 more 2016/02/18 17:37:56 - salesforceInsert - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Step [Salesforce Insert.0] failed to initialize! {code} As per suggested by Triage on Feb. 16th, 2016, _"Investigate possible workaround of moving SLF4J jar into the Salesforce Plugin on the server."_
    via by Galen Spikes,
  • If you run a transformation using the Salesforce Insert step on the server, it will throw an error {code} 2016/02/18 17:37:56 - salesforceInsert - No user-defined ExtensionPoint configuration; defaulting to plugin defined ones (monitoring.properties) 2016/02/18 17:37:56 - salesforceInsert - Dispatching to event bus: TransformationPrepareExecutionEvent 2016/02/18 17:37:56 - salesforceInsert - Dispatching started for transformation [salesforceInsert] 2016/02/18 17:37:56 - salesforceInsert - Nr of arguments detected:1 2016/02/18 17:37:56 - salesforceInsert - This is not a replay transformation 2016/02/18 17:37:56 - salesforceInsert - I found 1 different steps to launch. 2016/02/18 17:37:56 - salesforceInsert - Allocating rowsets... 2016/02/18 17:37:56 - salesforceInsert - Allocating rowsets for step 0 --> Salesforce Insert 2016/02/18 17:37:56 - salesforceInsert - Allocated 0 rowsets for step 0 --> Salesforce Insert 2016/02/18 17:37:56 - salesforceInsert - Allocating Steps & StepData... 2016/02/18 17:37:56 - salesforceInsert - Transformation is about to allocate step [Salesforce Insert] of type [SalesforceInsert] 2016/02/18 17:37:56 - salesforceInsert - Step has nrcopies=1 2016/02/18 17:37:56 - Salesforce Insert.0 - distribution activated 2016/02/18 17:37:56 - Salesforce Insert.0 - Starting allocation of buffers & new threads... 2016/02/18 17:37:56 - Salesforce Insert.0 - Step info: nrinput=0 nroutput=0 2016/02/18 17:37:56 - Salesforce Insert.0 - Finished dispatching 2016/02/18 17:37:56 - salesforceInsert - Transformation has allocated a new step: [Salesforce Insert].0 2016/02/18 17:37:56 - salesforceInsert - This transformation can be replayed with replay date: 2016/02/18 17:37:56 2016/02/18 17:37:56 - salesforceInsert - Initialising 1 steps... 2016/02/18 17:37:56 - Salesforce Insert.0 - Released server socket on port 0 2016/02/18 17:37:56 - Salesforce Insert.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Error initializing step [Salesforce Insert] 2016/02/18 17:37:56 - Salesforce Insert.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : java.lang.ExceptionInInitializerError 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.axis.description.TypeDesc.<clinit>(TypeDesc.java:61) 2016/02/18 17:37:56 - Salesforce Insert.0 - at com.sforce.soap.partner.FieldType.<clinit>(FieldType.java:97) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.pentaho.di.trans.steps.salesforceinput.SalesforceConnection.<clinit>(SalesforceConnection.java:69) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsert.init(SalesforceInsert.java:314) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69) 2016/02/18 17:37:56 - Salesforce Insert.0 - at java.lang.Thread.run(Thread.java:745) 2016/02/18 17:37:56 - Salesforce Insert.0 - Caused by: org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:135) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:333) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) 2016/02/18 17:37:56 - Salesforce Insert.0 - at java.security.AccessController.doPrivileged(Native Method) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) 2016/02/18 17:37:56 - Salesforce Insert.0 - at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) 2016/02/18 17:37:56 - Salesforce Insert.0 - ... 6 more 2016/02/18 17:37:56 - salesforceInsert - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Step [Salesforce Insert.0] failed to initialize! {code} As per suggested by Triage on Feb. 16th, 2016, _"Investigate possible workaround of moving SLF4J jar into the Salesforce Plugin on the server."_
    via by Galen Spikes,
    • java.lang.ExceptionInInitializerError at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at hudson.plugins.jira.soap.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12) at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:141) at hudson.plugins.jira.Updater.perform(Updater.java:68) at hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:29) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) at hudson.model.Run.execute(Run.java:1765) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:233) Caused by: org.apache.commons.discovery.DiscoveryException: Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.LogFactory at org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:135) at org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156) at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150) at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:333) at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) ... 16 more

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,