org.mule.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "dispose" on object: SapConnector$$EnhancerByCGLIB$$1f197d8f { name=SAP_08 lifecycle=not in lifecycle this=298e706 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=false supportedProtocols=[sap] serviceOverrides=<none> }

Stack Overflow | Ankit Prakash | 2 months ago
  1. 0

    Munit Issue for SAP connector while working with maven,

    Stack Overflow | 2 months ago | Ankit Prakash
    org.mule.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "dispose" on object: SapConnector$$EnhancerByCGLIB$$1f197d8f { name=SAP_08 lifecycle=not in lifecycle this=298e706 numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=false supportedProtocols=[sap] serviceOverrides=<none> }
  2. 0

    Unable to reference Java Class in JSP on Weblogic

    Oracle Community | 4 years ago | Sandeep.R
    java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path
  3. 0

    JCO 3 problems with Library - UnsatisfiedLinkError [SOLVED] - Toolbox for IT Groups

    ittoolbox.com | 4 months ago
    java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: C:\temp\sapjco-install-path\sapjco3.dll: T his application has failed to start because the application configuration is inc orrect. Reinstalling the application may fix this problem at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>( MiddlewareJavaRfc.java:212) at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(D efaultJCoRuntime.ja va:73) at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>( JCoRuntimeFactory.java :23)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Talend: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

    Stack Overflow | 2 years ago | user1082748
    java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path at com.sap.conn.jco.rt.MiddlewareJavaRfc.&lt;clinit&gt;(MiddlewareJavaRfc.java:212)
  6. 0

    SAP Java Connector + ITN Connector ERP = HELP! [Archive] - Pentaho Community Forums

    pentaho.com | 6 months ago
    java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: Native Library D:\Pentaho\data-integration\libswt\win32\sapjco3.dll already loaded in another classloader

    1 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.ExceptionInInitializerError

      JCo initialization failed with java.lang.ExceptionInInitializerError: Illegal JCo archive "sapjco3-3.0.13.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar".

      at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>()
    2. com.sap.conn
      RuntimeEnvironment.<init>
      1. com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:230)
      2. com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:98)
      3. com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
      4. com.sap.conn.jco.rt.RuntimeEnvironment.<init>(RuntimeEnvironment.java:43)
      4 frames
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      5. java.lang.Class.newInstance(Class.java:379)
      5 frames
    4. com.sap.conn
      Environment.isDestinationDataProviderRegistered
      1. com.sap.conn.jco.ext.Environment.getInstance(Environment.java:155)
      2. com.sap.conn.jco.ext.Environment.isDestinationDataProviderRegistered(Environment.java:401)
      2 frames
    5. com.mulesoft.mule
      SapConnector$$EnhancerByCGLIB$$1f197d8f$$FastClassByCGLIB$$c6f1beab.invoke
      1. com.mulesoft.mule.transport.sap.jco3.SapJcoFactory.startup(SapJcoFactory.java:198)
      2. com.mulesoft.mule.transport.sap.jco3.SapJcoFactory.<clinit>(SapJcoFactory.java:45)
      3. com.mulesoft.mule.transport.sap.SapConnector.doDispose(SapConnector.java:198)
      4. com.mulesoft.mule.transport.sap.SapConnector$$EnhancerByCGLIB$$1f197d8f.CGLIB$doDispose$4(<generated>)
      5. com.mulesoft.mule.transport.sap.SapConnector$$EnhancerByCGLIB$$1f197d8f$$FastClassByCGLIB$$c6f1beab.invoke(<generated>)
      5 frames
    6. IDEA
      MethodProxy.invokeSuper
      1. net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
      1 frame
    7. org.mule.modules
      ConnectorMethodInterceptor.intercept
      1. org.mule.modules.interceptor.connectors.ConnectorMethodInterceptor.intercept(ConnectorMethodInterceptor.java:48)
      1 frame
    8. com.mulesoft.mule
      SapConnector$$EnhancerByCGLIB$$1f197d8f.doDispose
      1. com.mulesoft.mule.transport.sap.SapConnector$$EnhancerByCGLIB$$1f197d8f.doDispose(<generated>)
      1 frame
    9. Mule Core
      AbstractConnector.dispose
      1. org.mule.transport.AbstractConnector$4.onTransition(AbstractConnector.java:596)
      2. org.mule.transport.AbstractConnector$4.onTransition(AbstractConnector.java:592)
      3. org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138)
      4. org.mule.transport.ConnectorLifecycleManager.fireDisposePhase(ConnectorLifecycleManager.java:89)
      5. org.mule.transport.AbstractConnector.dispose(AbstractConnector.java:591)
      5 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    11. Mule Core
      MuleContextDisposePhase.applyLifecycle
      1. org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237)
      2. org.mule.lifecycle.phases.MuleContextDisposePhase.applyLifecycle(MuleContextDisposePhase.java:102)
      2 frames
    12. Spring Config
      SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle
      1. org.mule.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:141)
      1 frame
    13. Mule Core
      DefaultMuleContextFactory.createMuleContext
      1. org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91)
      2. org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67)
      3. org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140)
      4. org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111)
      5. org.mule.registry.AbstractRegistry.dispose(AbstractRegistry.java:68)
      6. org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:69)
      7. org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:64)
      8. org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140)
      9. org.mule.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:82)
      10. org.mule.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:63)
      11. org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:137)
      12. org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)
      13. org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)
      14. org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)
      15. org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)
      16. org.mule.DefaultMuleContext.dispose(DefaultMuleContext.java:345)
      17. org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:230)
      18. org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81)
      18 frames
    14. org.mule.munit
      MunitSuiteRunner.<init>
      1. org.mule.munit.runner.MunitMuleContextFactory.createMuleContext(MunitMuleContextFactory.java:85)
      2. org.mule.munit.runner.MuleContextManager.createMule(MuleContextManager.java:97)
      3. org.mule.munit.runner.MuleContextManager.startMule(MuleContextManager.java:56)
      4. org.mule.munit.runner.mule.MunitSuiteRunner.<init>(MunitSuiteRunner.java:42)
      4 frames
    15. Mule Core
      MUnitMojo.execute
      1. org.mule.MUnitMojo.buildRunnerFor(MUnitMojo.java:311)
      2. org.mule.MUnitMojo.doExecute(MUnitMojo.java:173)
      3. org.mule.MUnitMojo.execute(MUnitMojo.java:122)
      3 frames
    16. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
      1 frame
    17. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
      9 frames
    18. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      3 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    20. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames