org.mule.api.lifecycle.InitialisationException: JDK Version 1.6.0_37 and/or Vendor Apple Inc. are not supported. Please use a supported version: null.

MuleSoft JIRA | Pablo Kraan | 4 years ago
  1. 0

    Sometimes, when running tests inside an IDE, all the tests that use a mule context break because of the JDK version check we included in the DefaultMuleContext#initialise. Apparently, the problem is that the code is not able to find the core manifest file that include the info about supported JDKs. (or there is not such file) This is the stack trace when running DefaultMuleContextFactoryTestCase: org.mule.api.lifecycle.InitialisationException: JDK Version 1.6.0_37 and/or Vendor Apple Inc. are not supported. Please use a supported version: null. at org.mule.DefaultMuleContext.initialise(DefaultMuleContext.java:198) at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:206) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:100) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:49) at org.mule.DefaultMuleContextFactoryTestCase.testCreateMuleContext(DefaultMuleContextFactoryTestCase.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:46) at org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)

    MuleSoft JIRA | 4 years ago | Pablo Kraan
    org.mule.api.lifecycle.InitialisationException: JDK Version 1.6.0_37 and/or Vendor Apple Inc. are not supported. Please use a supported version: null.
  2. 0

    Sometimes, when running tests inside an IDE, all the tests that use a mule context break because of the JDK version check we included in the DefaultMuleContext#initialise. Apparently, the problem is that the code is not able to find the core manifest file that include the info about supported JDKs. (or there is not such file) This is the stack trace when running DefaultMuleContextFactoryTestCase: org.mule.api.lifecycle.InitialisationException: JDK Version 1.6.0_37 and/or Vendor Apple Inc. are not supported. Please use a supported version: null. at org.mule.DefaultMuleContext.initialise(DefaultMuleContext.java:198) at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:206) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:100) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:49) at org.mule.DefaultMuleContextFactoryTestCase.testCreateMuleContext(DefaultMuleContextFactoryTestCase.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:46) at org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)

    MuleSoft JIRA | 4 years ago | Pablo Kraan
    org.mule.api.lifecycle.InitialisationException: JDK Version 1.6.0_37 and/or Vendor Apple Inc. are not supported. Please use a supported version: null.
  3. 0

    How to mock a Java component within Mule Flow using MUnit

    Stack Overflow | 2 years ago
    org.mule.api.lifecycle.InitialisationException: Component has not been initialized properly, no flow constuct.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MuleSoft Forum Archive: [mule-user] cvc-complex-type.2.4.a: ...

    mulesoft.org | 1 year ago
    org.mule.api.lifecycle.InitialisationException: Line 35 in XML document from URL is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'stdio:outbound-endpoint'. One of '{"http://www.mulesoft.org/schema/mule/core":abstract-message-processor, "http://www.mulesoft.org/schema/mule/core":abstract-outbound-endpoint, "http://www.mulesoft.org/schema/mule/core":response, "http://www.mulesoft.org/schema/mule/core":abstract-exception-strategy, "http://www.mulesoft.org/schema/mule/core":threading-profile}' is expected. at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:115) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:116) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:47) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80) at org.mule.tck.AbstractMuleTestCase.createMuleContext(AbstractMuleTestCase.java:512) at org.mule.tck.AbstractMuleTestCase.setUp(AbstractMuleTestCase.java:451)
  6. 0

    Mule - User - Proxy a Web Service in Mule 2.1.2

    nabble.com | 7 months ago
    org.mule.api.lifecycle.InitialisationException: You must specify a serviceClass attribute on the inbound endpoint when you are using a PassThroughComponent, BridgeComponent, or forward router. at org .mule .transport.cxf.CxfMessageReceiver.getTargetClass(CxfMessageReceiver.j ava:349) at org .mule .transport.cxf.CxfMessageReceiver.doInitialise(CxfMessageReceiver.jav a:122) at org .mule .transport.AbstractMessageReceiver.initialise(AbstractMessageReceiver .java:120) at org .mule .transport.service.DefaultTransportServiceDescriptor.createMessageRec eiver(DefaultTransportServiceDescriptor.java:260) at org .mule .transport.service.DefaultTransportServiceDescriptor.createMessageRec eiver(DefaultTransportServiceDescriptor.java:205) at org .mule .transport.AbstractConnector.createReceiver(AbstractConnector.java:21 01) at org .mule .transport.AbstractConnector.registerListener(AbstractConnector.java: 1097) at org .mule .service.AbstractService.registerListeners(AbstractService.java:604)

    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.mule.api.lifecycle.InitialisationException

      JDK Version 1.6.0_37 and/or Vendor Apple Inc. are not supported. Please use a supported version: null.

      at org.mule.DefaultMuleContext.initialise()
    2. Mule Core
      DefaultMuleContextFactoryTestCase.testCreateMuleContext
      1. org.mule.DefaultMuleContext.initialise(DefaultMuleContext.java:198)
      2. org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:206)
      3. org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:100)
      4. org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:49)
      5. org.mule.DefaultMuleContextFactoryTestCase.testCreateMuleContext(DefaultMuleContextFactoryTestCase.java:64)
      5 frames
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    4. JUnit
      FailOnTimeout$1.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      7. org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:46)
      8. org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)
      8 frames