org.osgi.framework.ServiceException: Service factory exception: Can't create RequestFactory for non OsgiPlugin

Atlassian JIRA | Felipe Cuozzo | 6 years ago
  1. 0

    The RequestFactory cannot be created using com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:503). Probably related to the bug on Atlassian Rest Module - issue key: REST-161 osgi.container.felix.FelixOsgiContainerManager Framework error in bundle com.atlassian.plugins.rest.atlassian-rest-module org.osgi.framework.ServiceException: Service factory exception: Can't create RequestFactory for non OsgiPlugin at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:310) at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220) at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:294) at org.apache.felix.framework.Felix.getService(Felix.java:2913) at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330) at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:442) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:430) at com.atlassian.jira.ComponentManager.getServiceTracker(ComponentManager.java:527) at com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:503) at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.<init>(ApplinksBambooAjaxRequest.java:34) at com.atlassian.jira.plugin.ext.bamboo.request.BambooRequestFactoryImpl.create(BambooRequestFactoryImpl.java:19) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:95) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88) at com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:165) Caused by: java.lang.IllegalStateException: Can't create RequestFactory for non OsgiPlugin at com.atlassian.plugins.rest.module.jersey.JerseyRequestFactoryServiceFactory.getService(JerseyRequestFactoryServiceFactory.java:37) at org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService(PublishingServiceFactory.java:105) at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306) java.lang.NullPointerException at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.getRequest(ApplinksBambooAjaxRequest.java:56) at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.execute(ApplinksBambooAjaxRequest.java:86) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:113) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88) at com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:165)

    Atlassian JIRA | 6 years ago | Felipe Cuozzo
    org.osgi.framework.ServiceException: Service factory exception: Can't create RequestFactory for non OsgiPlugin
  2. 0

    The RequestFactory cannot be created using com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:503). Probably related to the bug on Atlassian Rest Module - issue key: REST-161 osgi.container.felix.FelixOsgiContainerManager Framework error in bundle com.atlassian.plugins.rest.atlassian-rest-module org.osgi.framework.ServiceException: Service factory exception: Can't create RequestFactory for non OsgiPlugin at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:310) at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220) at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:294) at org.apache.felix.framework.Felix.getService(Felix.java:2913) at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330) at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:442) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339) at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:430) at com.atlassian.jira.ComponentManager.getServiceTracker(ComponentManager.java:527) at com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:503) at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.<init>(ApplinksBambooAjaxRequest.java:34) at com.atlassian.jira.plugin.ext.bamboo.request.BambooRequestFactoryImpl.create(BambooRequestFactoryImpl.java:19) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:95) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88) at com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:165) Caused by: java.lang.IllegalStateException: Can't create RequestFactory for non OsgiPlugin at com.atlassian.plugins.rest.module.jersey.JerseyRequestFactoryServiceFactory.getService(JerseyRequestFactoryServiceFactory.java:37) at org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService(PublishingServiceFactory.java:105) at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306) java.lang.NullPointerException at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.getRequest(ApplinksBambooAjaxRequest.java:56) at com.atlassian.jira.plugin.ext.bamboo.request.ApplinksBambooAjaxRequest.execute(ApplinksBambooAjaxRequest.java:86) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromUrl(BambooServerAccessorImpl.java:113) at com.atlassian.jira.plugin.ext.bamboo.service.BambooServerAccessorImpl.getHtmlFromAction(BambooServerAccessorImpl.java:88) at com.atlassian.jira.plugin.ext.bamboo.web.ViewBambooPanelContent.doExecute(ViewBambooPanelContent.java:107) at webwork.action.ActionSupport.execute(ActionSupport.java:165)

    Atlassian JIRA | 6 years ago | Felipe Cuozzo
    org.osgi.framework.ServiceException: Service factory exception: Can't create RequestFactory for non OsgiPlugin
  3. 0

    As a developer, I would like to create configurations of my extension invoking a clear API. For example, if I'm writing a DB extension, I would have a Mule config file which defines a DB config and I would use it on a functional test. As part of my test I would need to setup some data on the DB. In order to do that, I will need to access the same DB configured on the test. It would be natural for me, to be able to invoke son extension API functionality that let me do that just passing the DB config element name. On the current implementation, this is pretty hard to do: {code} try
{
 final ConfigurationInstanceProvider<DbConfig> dbConfigValueResolver = muleContext.getRegistry().lookupObject("dbConfig");
 final OperationContextAdapter operationContext = mock(OperationContextAdapter.class);
 when(operationContext.getEvent()).thenReturn(getTestEvent(TEST_MESSAGE));
 final ConfigurationInstanceRegistrationCallback configurationInstanceRegistrationCallback = mock(ConfigurationInstanceRegistrationCallback.class);
 final DbConfig dbConfig = dbConfigValueResolver.get(operationContext, configurationInstanceRegistrationCallback);
 muleContext.getRegistry().registerObject("testDbConfig", dbConfig);

 return dbConfig.getDataSource();
}
catch (Exception e)
{
 throw new IllegalStateException(e);
} {code} After doing that, I can create a config and use it on my setup, but the app does not work: {code} ERROR 2015-07-01 10:07:19,405 [Thread-1] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException). Message payload is of type: String Code : MULE_ERROR-29999 -------------------------------------------------------------------------------- Exception stack is: 1. Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException) org.mule.util.Preconditions:38 (null) 2. Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException). Message payload is of type: String (org.mule.api.MessagingException) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:32 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalStateException: Can't create an operation executor for an unregistered configuration instance at org.mule.util.Preconditions.checkState(Preconditions.java:38) at org.mule.module.extension.internal.manager.ConfigurationStateTracker.locateConfigurationInstanceWrapper(ConfigurationStateTracker.java:94) at org.mule.module.extension.internal.manager.ConfigurationStateTracker.getOperationExecutor(ConfigurationStateTracker.java:64) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** org.mule.api.MessagingException: Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException). Message payload is of type: String at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:32) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:85) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:80) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:76) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.processor.AsyncInterceptingMessageProcessor.process(AsyncInterceptingMessageProcessor.java:102) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.construct.DynamicPipelineMessageProcessor.process(DynamicPipelineMessageProcessor.java:55) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:85) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:80) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:76) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.interceptor.AbstractEnvelopeInterceptor.processBlocking(AbstractEnvelopeInterceptor.java:58) at org.mule.processor.AbstractRequestResponseMessageProcessor.process(AbstractRequestResponseMessageProcessor.java:47) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:41) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.processor.AbstractRequestResponseMessageProcessor.processBlocking(AbstractRequestResponseMessageProcessor.java:56) at org.mule.processor.AbstractRequestResponseMessageProcessor.process(AbstractRequestResponseMessageProcessor.java:47) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:85) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:80) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:76) at org.mule.processor.chain.InterceptingChainLifecycleWrapper.doProcess(InterceptingChainLifecycleWrapper.java:50) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:76) at org.mule.processor.chain.InterceptingChainLifecycleWrapper.access$001(InterceptingChainLifecycleWrapper.java:22) at org.mule.processor.chain.InterceptingChainLifecycleWrapper$1.process(InterceptingChainLifecycleWrapper.java:66) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.chain.InterceptingChainLifecycleWrapper.process(InterceptingChainLifecycleWrapper.java:61) at org.mule.construct.Flow$2.process(Flow.java:135) at org.mule.construct.Flow$2.process(Flow.java:130) at org.mule.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:16) at org.mule.execution.CommitTransactionInterceptor.execute(CommitTransactionInterceptor.java:35) at org.mule.execution.CommitTransactionInterceptor.execute(CommitTransactionInterceptor.java:22) at org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:30) at org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:14) at org.mule.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:67) at org.mule.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:50) at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:28) at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:13) at org.mule.execution.ErrorHandlingExecutionTemplate.execute(ErrorHandlingExecutionTemplate.java:60) at org.mule.execution.ErrorHandlingExecutionTemplate.execute(ErrorHandlingExecutionTemplate.java:30) at org.mule.construct.Flow.process(Flow.java:129) at org.mule.tck.junit4.FunctionalTestCase.runFlow(FunctionalTestCase.java:345) at org.mule.extension.jdbc.BasicConfigTestCase.test(BasicConfigTestCase.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) Caused by: java.lang.IllegalStateException: Can't create an operation executor for an unregistered configuration instance at org.mule.util.Preconditions.checkState(Preconditions.java:38) at org.mule.module.extension.internal.manager.ConfigurationStateTracker.locateConfigurationInstanceWrapper(ConfigurationStateTracker.java:94) at org.mule.module.extension.internal.manager.ConfigurationStateTracker.getOperationExecutor(ConfigurationStateTracker.java:64) {code} I understand that my code could be wrong, but I would expect that I easily solve this scenario using features provided by the extension API.

    MuleSoft JIRA | 1 year ago | Pablo Kraan
    java.lang.IllegalStateException: Can't create an operation executor for an unregistered configuration instance
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    As a developer, I would like to create configurations of my extension invoking a clear API. For example, if I'm writing a DB extension, I would have a Mule config file which defines a DB config and I would use it on a functional test. As part of my test I would need to setup some data on the DB. In order to do that, I will need to access the same DB configured on the test. It would be natural for me, to be able to invoke son extension API functionality that let me do that just passing the DB config element name. On the current implementation, this is pretty hard to do: {code} try
{
 final ConfigurationInstanceProvider<DbConfig> dbConfigValueResolver = muleContext.getRegistry().lookupObject("dbConfig");
 final OperationContextAdapter operationContext = mock(OperationContextAdapter.class);
 when(operationContext.getEvent()).thenReturn(getTestEvent(TEST_MESSAGE));
 final ConfigurationInstanceRegistrationCallback configurationInstanceRegistrationCallback = mock(ConfigurationInstanceRegistrationCallback.class);
 final DbConfig dbConfig = dbConfigValueResolver.get(operationContext, configurationInstanceRegistrationCallback);
 muleContext.getRegistry().registerObject("testDbConfig", dbConfig);

 return dbConfig.getDataSource();
}
catch (Exception e)
{
 throw new IllegalStateException(e);
} {code} After doing that, I can create a config and use it on my setup, but the app does not work: {code} ERROR 2015-07-01 10:07:19,405 [Thread-1] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException). Message payload is of type: String Code : MULE_ERROR-29999 -------------------------------------------------------------------------------- Exception stack is: 1. Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException) org.mule.util.Preconditions:38 (null) 2. Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException). Message payload is of type: String (org.mule.api.MessagingException) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:32 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalStateException: Can't create an operation executor for an unregistered configuration instance at org.mule.util.Preconditions.checkState(Preconditions.java:38) at org.mule.module.extension.internal.manager.ConfigurationStateTracker.locateConfigurationInstanceWrapper(ConfigurationStateTracker.java:94) at org.mule.module.extension.internal.manager.ConfigurationStateTracker.getOperationExecutor(ConfigurationStateTracker.java:64) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** org.mule.api.MessagingException: Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException). Message payload is of type: String at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:32) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:85) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:80) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:76) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.processor.AsyncInterceptingMessageProcessor.process(AsyncInterceptingMessageProcessor.java:102) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.construct.DynamicPipelineMessageProcessor.process(DynamicPipelineMessageProcessor.java:55) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:85) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:80) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:76) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.interceptor.AbstractEnvelopeInterceptor.processBlocking(AbstractEnvelopeInterceptor.java:58) at org.mule.processor.AbstractRequestResponseMessageProcessor.process(AbstractRequestResponseMessageProcessor.java:47) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:41) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:94) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:98) at org.mule.processor.AbstractRequestResponseMessageProcessor.processBlocking(AbstractRequestResponseMessageProcessor.java:56) at org.mule.processor.AbstractRequestResponseMessageProcessor.process(AbstractRequestResponseMessageProcessor.java:47) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:85) at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:56) at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:80) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:76) at org.mule.processor.chain.InterceptingChainLifecycleWrapper.doProcess(InterceptingChainLifecycleWrapper.java:50) at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:76) at org.mule.processor.chain.InterceptingChainLifecycleWrapper.access$001(InterceptingChainLifecycleWrapper.java:22) at org.mule.processor.chain.InterceptingChainLifecycleWrapper$1.process(InterceptingChainLifecycleWrapper.java:66) at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24) at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107) at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44) at org.mule.processor.chain.InterceptingChainLifecycleWrapper.process(InterceptingChainLifecycleWrapper.java:61) at org.mule.construct.Flow$2.process(Flow.java:135) at org.mule.construct.Flow$2.process(Flow.java:130) at org.mule.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:16) at org.mule.execution.CommitTransactionInterceptor.execute(CommitTransactionInterceptor.java:35) at org.mule.execution.CommitTransactionInterceptor.execute(CommitTransactionInterceptor.java:22) at org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:30) at org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:14) at org.mule.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:67) at org.mule.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:50) at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:28) at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:13) at org.mule.execution.ErrorHandlingExecutionTemplate.execute(ErrorHandlingExecutionTemplate.java:60) at org.mule.execution.ErrorHandlingExecutionTemplate.execute(ErrorHandlingExecutionTemplate.java:30) at org.mule.construct.Flow.process(Flow.java:129) at org.mule.tck.junit4.FunctionalTestCase.runFlow(FunctionalTestCase.java:345) at org.mule.extension.jdbc.BasicConfigTestCase.test(BasicConfigTestCase.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) Caused by: java.lang.IllegalStateException: Can't create an operation executor for an unregistered configuration instance at org.mule.util.Preconditions.checkState(Preconditions.java:38) at org.mule.module.extension.internal.manager.ConfigurationStateTracker.locateConfigurationInstanceWrapper(ConfigurationStateTracker.java:94) at org.mule.module.extension.internal.manager.ConfigurationStateTracker.getOperationExecutor(ConfigurationStateTracker.java:64) {code} I understand that my code could be wrong, but I would expect that I easily solve this scenario using features provided by the extension API.

    MuleSoft JIRA | 1 year ago | Pablo Kraan
    org.mule.api.MessagingException: Can't create an operation executor for an unregistered configuration instance (java.lang.IllegalStateException). Message payload is of type: String
  6. 0

    SonarQube analysis failing due to exception in sensor.coverage.CoverageExclusions.validateMaxLine()

    Google Groups | 10 months ago | Peter
    org.sonar.runner.impl.RunnerException: Unable to

    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

      Can't create RequestFactory for non OsgiPlugin

      at com.atlassian.plugins.rest.module.jersey.JerseyRequestFactoryServiceFactory.getService()
    2. com.atlassian.plugins
      JerseyRequestFactoryServiceFactory.getService
      1. com.atlassian.plugins.rest.module.jersey.JerseyRequestFactoryServiceFactory.getService(JerseyRequestFactoryServiceFactory.java:37)
      1 frame
    3. Spring OSGi Core
      PublishingServiceFactory.getService
      1. org.springframework.osgi.service.exporter.support.internal.support.PublishingServiceFactory.getService(PublishingServiceFactory.java:105)
      1 frame
    4. Apache Felix Framework
      ServiceRegistrationImpl.getFactoryUnchecked
      1. org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306)
      1 frame