java.lang.IllegalStateException: This connector has not yet been initialised: workaround

MuleSoft JIRA | Scott Clasen | 8 years ago
  1. 0

    Using mule/spring based configuration, I am attempting to workaround MULE-3241 by subclassing ProcessConnector. I placed the jar with this connector in $MULE_HOME/lib/user When attempting to use the <custom-connector> tag to configure the connector... <custom-connector name="jbpmConnector" class="com.xxx.ProcesssConnectorWorkaround"> <spring:property name="bpms" ref="jbpm"/> </custom-connector> I get RROR 2008-07-15 13:55:07,379 [WrapperListener_start_runner] org.mule.config.spring.parsers.generic.MuleOrphanDefinitionParser: could not load class: com.xxx.ProcesssConnectorWorkaround java.lang.ClassNotFoundException: com.xxx.ProcesssConnectorWorkaround at org.mule.util.ClassUtils.loadClass(ClassUtils.java:271) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.getBeanClassFromAttribute(AbstractMuleBeanDefinitionParser.java:356) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.getClassInternal(AbstractMuleBeanDefinitionParser.java:318) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.parseInternal(AbstractMuleBeanDefinitionParser.java:253) If I configure a spring bean that loads the connector like so... <spring:bean id="workaround" class="com.xxx.ProcessConnectorWorkaround"> <spring:property name="bpms" ref="jbpm"/> </spring:bean> The class is loaded properly, but I get the following since the connector doesnt seem to participate in the proper lifecycle using this configuration method... .ProcessConnectorWorkaround: Registering listener: fromBPMS on endpointUri: bpm://* ERROR 2008-07-15 13:58:58,902 [WrapperListener_start_runner] org.mule.MuleServer: ******************************************************************************** Message : Failed to register listener fromBPMS on endpoint bpm://* Type : org.mule.api.model.ModelException Code : MULE_ERROR-101047 JavaDoc : http://mule.mulesource.org/docs/apidocs/org/mule/api/model/ModelException.html ******************************************************************************** Exception stack is: 1. This connector has not yet been initialised: workaround (java.lang.IllegalStateException) org.mule.transport.AbstractConnector:2040 (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html) 2. Failed to register listener fromBPMS on endpoint bpm://* (org.mule.api.model.ModelException) org.mule.service.AbstractService:616 (http://mule.mulesource.org/docs/apidocs/org/mule/api/model/ModelException.html) ******************************************************************************** Root Exception stack trace: java.lang.IllegalStateException: This connector has not yet been initialised: workaround at org.mule.transport.AbstractConnector.getServiceDescriptor(AbstractConnector.java:2040)

    MuleSoft JIRA | 8 years ago | Scott Clasen
    java.lang.IllegalStateException: This connector has not yet been initialised: workaround
  2. 0

    Using mule/spring based configuration, I am attempting to workaround MULE-3241 by subclassing ProcessConnector. I placed the jar with this connector in $MULE_HOME/lib/user When attempting to use the <custom-connector> tag to configure the connector... <custom-connector name="jbpmConnector" class="com.xxx.ProcesssConnectorWorkaround"> <spring:property name="bpms" ref="jbpm"/> </custom-connector> I get RROR 2008-07-15 13:55:07,379 [WrapperListener_start_runner] org.mule.config.spring.parsers.generic.MuleOrphanDefinitionParser: could not load class: com.xxx.ProcesssConnectorWorkaround java.lang.ClassNotFoundException: com.xxx.ProcesssConnectorWorkaround at org.mule.util.ClassUtils.loadClass(ClassUtils.java:271) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.getBeanClassFromAttribute(AbstractMuleBeanDefinitionParser.java:356) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.getClassInternal(AbstractMuleBeanDefinitionParser.java:318) at org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser.parseInternal(AbstractMuleBeanDefinitionParser.java:253) If I configure a spring bean that loads the connector like so... <spring:bean id="workaround" class="com.xxx.ProcessConnectorWorkaround"> <spring:property name="bpms" ref="jbpm"/> </spring:bean> The class is loaded properly, but I get the following since the connector doesnt seem to participate in the proper lifecycle using this configuration method... .ProcessConnectorWorkaround: Registering listener: fromBPMS on endpointUri: bpm://* ERROR 2008-07-15 13:58:58,902 [WrapperListener_start_runner] org.mule.MuleServer: ******************************************************************************** Message : Failed to register listener fromBPMS on endpoint bpm://* Type : org.mule.api.model.ModelException Code : MULE_ERROR-101047 JavaDoc : http://mule.mulesource.org/docs/apidocs/org/mule/api/model/ModelException.html ******************************************************************************** Exception stack is: 1. This connector has not yet been initialised: workaround (java.lang.IllegalStateException) org.mule.transport.AbstractConnector:2040 (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html) 2. Failed to register listener fromBPMS on endpoint bpm://* (org.mule.api.model.ModelException) org.mule.service.AbstractService:616 (http://mule.mulesource.org/docs/apidocs/org/mule/api/model/ModelException.html) ******************************************************************************** Root Exception stack trace: java.lang.IllegalStateException: This connector has not yet been initialised: workaround at org.mule.transport.AbstractConnector.getServiceDescriptor(AbstractConnector.java:2040)

    MuleSoft JIRA | 8 years ago | Scott Clasen
    java.lang.IllegalStateException: This connector has not yet been initialised: workaround
  3. 0

    Renamable Users in JIRA 6.0 - Atlassian Developers

    atlassian.com | 2 months ago
    java.lang.IllegalStateException: ComponentAccessor has not been initialised.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Renamable Users in JIRA 6.0 - Atlassian Developers

    atlassian.com | 7 months ago
    java.lang.IllegalStateException: ComponentAccessor has not been initialised.
  6. 0

    {code} java.lang.IllegalStateException: The current driver has not been initialised at com.google.common.base.Preconditions.checkState(Preconditions.java:145) at com.atlassian.webdriver.LifecycleAwareWebDriverGrid.getCurrentDriver(LifecycleAwareWebDriverGrid.java:57) at com.atlassian.webdriver.testing.rule.SessionCleanupRule.after(SessionCleanupRule.java:22) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:47) at org.junit.rules.RunRules.evaluate(RunRules.java:18) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) {code}

    Ecosystem JIRA | 4 years ago | Fabian Kraemer
    java.lang.IllegalStateException: The current driver has not been initialised

    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.IllegalStateException

      This connector has not yet been initialised: workaround

      at org.mule.transport.AbstractConnector.getServiceDescriptor()
    2. Mule Core
      AbstractConnector.getServiceDescriptor
      1. org.mule.transport.AbstractConnector.getServiceDescriptor(AbstractConnector.java:2040)
      1 frame