java.lang.ExceptionInInitializerError

Pentaho BI Platform Tracking | Galen Spikes | 10 months ago
  1. 0

    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."_

    Pentaho BI Platform Tracking | 10 months ago | Galen Spikes
    java.lang.ExceptionInInitializerError
  2. 0

    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."_

    Pentaho BI Platform Tracking | 10 months ago | Galen Spikes
    java.lang.ExceptionInInitializerError
  3. 0

    jcl-slf4j and axis 1.4 exception while substituting commons-logging

    Stack Overflow | 2 years ago | pantongonzalez
    javax.servlet.ServletException: SRVE0207E: No se ha detectado la excepción de inicialización creada por el servlet
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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.

    Jenkins JIRA | 12 months ago | María García
    java.lang.ExceptionInInitializerError
  6. 0

    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.

    Jenkins JIRA | 12 months ago | María García
    java.lang.ExceptionInInitializerError

    5 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. 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()
    2. Commons Discovery
      DiscoverSingleton.find
      1. org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:135)
      2. org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156)
      3. org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150)
      4. org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534)
      5. org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373)
      6. org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:333)
      6 frames
    3. Axis Web Services
      LogFactory$1.run
      1. org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
      1 frame
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. Axis Web Services
      TypeDesc.<clinit>
      1. org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
      2. org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
      3. org.apache.axis.description.TypeDesc.<clinit>(TypeDesc.java:61)
      3 frames
    6. force-partner-api
      FieldType.<clinit>
      1. com.sforce.soap.partner.FieldType.<clinit>(FieldType.java:97)
      1 frame
    7. org.pentaho.di
      StepInitThread.run
      1. org.pentaho.di.trans.steps.salesforceinput.SalesforceConnection.<clinit>(SalesforceConnection.java:69)
      2. org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsert.init(SalesforceInsert.java:314)
      3. org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69)
      3 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame