org.mule.api.expression.ExpressionRuntimeException: Execution of the expression "flowVars['match']=__object_for_enrichment" failed.

MuleSoft JIRA | Jesica Fera | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When using both a message enricher and a filter, together with an http request in Non Blocking mode, request becomes unresponsive. Attaching app that reproduces the issue. Expected: http request is successful Actual: http request is hung, and an exception is thrown ERROR 2015-07-06 12:41:43,657 [[enricher-issue].enricher-issue.01] org.mule.exception.DefaultMessagingExceptionStrategy: Caught exception in Exception Strategy: Execution of the expression "flowVars['match']=__object_for_enrichment" failed. org.mule.api.expression.ExpressionRuntimeException: Execution of the expression "flowVars['match']=__object_for_enrichment" failed. at org.mule.el.mvel.MVELExpressionLanguage.evaluateInternal(MVELExpressionLanguage.java:232) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.mvel.MVELExpressionLanguage.evaluate(MVELExpressionLanguage.java:192) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.mvel.MVELExpressionLanguage.enrich(MVELExpressionLanguage.java:198) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.expression.DefaultExpressionManager.enrichTyped(DefaultExpressionManager.java:262) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.enricher.MessageEnricher.enrich(MessageEnricher.java:93) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.enricher.MessageEnricher$EnricherProcessor.processResponse(MessageEnricher.java:225) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.AbstractRequestResponseMessageProcessor$1.processReplyTo(AbstractRequestResponseMessageProcessor.java:104) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.execution.MessageProcessorNotificationExecutionInterceptor$1.processReplyTo(MessageProcessorNotificationExecutionInterceptor.java:79) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor.resume(NonBlockingProcessorExecutor.java:91) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor.access$100(NonBlockingProcessorExecutor.java:37) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor$NonBlockingProcessorExecutorReplyToHandler.processReplyTo(NonBlockingProcessorExecutor.java:111) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor.resume(NonBlockingProcessorExecutor.java:91) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor.access$100(NonBlockingProcessorExecutor.java:37) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor$NonBlockingProcessorExecutorReplyToHandler.processReplyTo(NonBlockingProcessorExecutor.java:111) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.execution.MessageProcessorNotificationExecutionInterceptor$1.processReplyTo(MessageProcessorNotificationExecutionInterceptor.java:79) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.AbstractNonBlockingMessageProcessor$NonBlockingCompletionHandler.onCompletion(AbstractNonBlockingMessageProcessor.java:88) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.AbstractNonBlockingMessageProcessor$NonBlockingCompletionHandler.onCompletion(AbstractNonBlockingMessageProcessor.java:65) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.DefaultHttpRequester$1.onCompletion(DefaultHttpRequester.java:236) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.DefaultHttpRequester$1.onCompletion(DefaultHttpRequester.java:205) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient$WorkManagerSourceAsyncCompletionHandler.onCompleted(GrizzlyHttpClient.java:259) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient$WorkManagerSourceAsyncCompletionHandler.onCompleted(GrizzlyHttpClient.java:243) ~[mule-module-http-3.7.0.jar:3.7.0] at com.ning.http.client.AsyncCompletionHandler.onCompleted(AsyncCompletionHandler.java:55) ~[async-http-client-1.9.21.jar:?] at com.ning.http.client.providers.grizzly.AhcEventFilter.onHttpPacketParsed(AhcEventFilter.java:416) ~[async-http-client-1.9.21.jar:?] at org.glassfish.grizzly.http.HttpCodecFilter.decodeWithTransferEncoding(HttpCodecFilter.java:1274) ~[grizzly-http-2.3.21.jar:2.3.21] at org.glassfish.grizzly.http.HttpCodecFilter.handleRead(HttpCodecFilter.java:594) ~[grizzly-http-2.3.21.jar:2.3.21] at org.glassfish.grizzly.http.HttpClientFilter.handleRead(HttpClientFilter.java:175) ~[grizzly-http-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy.run0(FlowWorkManagerIOStrategy.java:134) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy.access$100(FlowWorkManagerIOStrategy.java:31) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy$WorkerThreadRunnable.run(FlowWorkManagerIOStrategy.java:157) ~[mule-module-http-3.7.0.jar:3.7.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_11] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_11] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_11] Caused by: java.lang.IllegalStateException: Only owner thread can write to message: Thread[[enricher-issue].HTTP_Listener_Configuration.worker.01,5,main]/Thread[[enricher-issue].enricher-issue.01,5,main] at org.mule.DefaultMuleMessage.newException(DefaultMuleMessage.java:1784) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.DefaultMuleMessage.checkMutable(DefaultMuleMessage.java:1770) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.DefaultMuleMessage.assertAccess(DefaultMuleMessage.java:1699) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.DefaultMuleMessage.setProperty(DefaultMuleMessage.java:535) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.DefaultMuleMessage.setProperty(DefaultMuleMessage.java:529) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.context.MessagePropertyMapContext.put(MessagePropertyMapContext.java:49) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.context.MessagePropertyMapContext.put(MessagePropertyMapContext.java:17) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.mvel2.optimizers.impl.refl.nodes.MapAccessorNest.setValue(MapAccessorNest.java:67) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.optimizers.impl.refl.nodes.VariableAccessor.setValue(VariableAccessor.java:46) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.compiler.CompiledAccExpression.setValue(CompiledAccExpression.java:59) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.ast.AssignmentNode.getReducedValueAccelerated(AssignmentNode.java:111) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.MVELRuntime.execute(MVELRuntime.java:86) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.MVEL.executeExpression(MVEL.java:943) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.el.mvel.MVELExpressionExecutor.execute(MVELExpressionExecutor.java:72) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.mvel.MVELExpressionLanguage.evaluateInternal(MVELExpressionLanguage.java:228) ~[mule-core-3.7.0.jar:3.7.0] ... 39 more

    MuleSoft JIRA | 2 years ago | Jesica Fera
    org.mule.api.expression.ExpressionRuntimeException: Execution of the expression "flowVars['match']=__object_for_enrichment" failed.
  2. 0

    When using both a message enricher and a filter, together with an http request in Non Blocking mode, request becomes unresponsive. Attaching app that reproduces the issue. Expected: http request is successful Actual: http request is hung, and an exception is thrown ERROR 2015-07-06 12:41:43,657 [[enricher-issue].enricher-issue.01] org.mule.exception.DefaultMessagingExceptionStrategy: Caught exception in Exception Strategy: Execution of the expression "flowVars['match']=__object_for_enrichment" failed. org.mule.api.expression.ExpressionRuntimeException: Execution of the expression "flowVars['match']=__object_for_enrichment" failed. at org.mule.el.mvel.MVELExpressionLanguage.evaluateInternal(MVELExpressionLanguage.java:232) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.mvel.MVELExpressionLanguage.evaluate(MVELExpressionLanguage.java:192) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.mvel.MVELExpressionLanguage.enrich(MVELExpressionLanguage.java:198) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.expression.DefaultExpressionManager.enrichTyped(DefaultExpressionManager.java:262) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.enricher.MessageEnricher.enrich(MessageEnricher.java:93) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.enricher.MessageEnricher$EnricherProcessor.processResponse(MessageEnricher.java:225) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.AbstractRequestResponseMessageProcessor$1.processReplyTo(AbstractRequestResponseMessageProcessor.java:104) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.execution.MessageProcessorNotificationExecutionInterceptor$1.processReplyTo(MessageProcessorNotificationExecutionInterceptor.java:79) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor.resume(NonBlockingProcessorExecutor.java:91) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor.access$100(NonBlockingProcessorExecutor.java:37) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor$NonBlockingProcessorExecutorReplyToHandler.processReplyTo(NonBlockingProcessorExecutor.java:111) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor.resume(NonBlockingProcessorExecutor.java:91) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor.access$100(NonBlockingProcessorExecutor.java:37) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.NonBlockingProcessorExecutor$NonBlockingProcessorExecutorReplyToHandler.processReplyTo(NonBlockingProcessorExecutor.java:111) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.execution.MessageProcessorNotificationExecutionInterceptor$1.processReplyTo(MessageProcessorNotificationExecutionInterceptor.java:79) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.AbstractNonBlockingMessageProcessor$NonBlockingCompletionHandler.onCompletion(AbstractNonBlockingMessageProcessor.java:88) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.processor.AbstractNonBlockingMessageProcessor$NonBlockingCompletionHandler.onCompletion(AbstractNonBlockingMessageProcessor.java:65) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.DefaultHttpRequester$1.onCompletion(DefaultHttpRequester.java:236) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.DefaultHttpRequester$1.onCompletion(DefaultHttpRequester.java:205) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient$WorkManagerSourceAsyncCompletionHandler.onCompleted(GrizzlyHttpClient.java:259) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient$WorkManagerSourceAsyncCompletionHandler.onCompleted(GrizzlyHttpClient.java:243) ~[mule-module-http-3.7.0.jar:3.7.0] at com.ning.http.client.AsyncCompletionHandler.onCompleted(AsyncCompletionHandler.java:55) ~[async-http-client-1.9.21.jar:?] at com.ning.http.client.providers.grizzly.AhcEventFilter.onHttpPacketParsed(AhcEventFilter.java:416) ~[async-http-client-1.9.21.jar:?] at org.glassfish.grizzly.http.HttpCodecFilter.decodeWithTransferEncoding(HttpCodecFilter.java:1274) ~[grizzly-http-2.3.21.jar:2.3.21] at org.glassfish.grizzly.http.HttpCodecFilter.handleRead(HttpCodecFilter.java:594) ~[grizzly-http-2.3.21.jar:2.3.21] at org.glassfish.grizzly.http.HttpClientFilter.handleRead(HttpClientFilter.java:175) ~[grizzly-http-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) ~[grizzly-framework-2.3.21.jar:2.3.21] at org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy.run0(FlowWorkManagerIOStrategy.java:134) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy.access$100(FlowWorkManagerIOStrategy.java:31) ~[mule-module-http-3.7.0.jar:3.7.0] at org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy$WorkerThreadRunnable.run(FlowWorkManagerIOStrategy.java:157) ~[mule-module-http-3.7.0.jar:3.7.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_11] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_11] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_11] Caused by: java.lang.IllegalStateException: Only owner thread can write to message: Thread[[enricher-issue].HTTP_Listener_Configuration.worker.01,5,main]/Thread[[enricher-issue].enricher-issue.01,5,main] at org.mule.DefaultMuleMessage.newException(DefaultMuleMessage.java:1784) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.DefaultMuleMessage.checkMutable(DefaultMuleMessage.java:1770) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.DefaultMuleMessage.assertAccess(DefaultMuleMessage.java:1699) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.DefaultMuleMessage.setProperty(DefaultMuleMessage.java:535) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.DefaultMuleMessage.setProperty(DefaultMuleMessage.java:529) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.context.MessagePropertyMapContext.put(MessagePropertyMapContext.java:49) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.context.MessagePropertyMapContext.put(MessagePropertyMapContext.java:17) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.mvel2.optimizers.impl.refl.nodes.MapAccessorNest.setValue(MapAccessorNest.java:67) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.optimizers.impl.refl.nodes.VariableAccessor.setValue(VariableAccessor.java:46) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.compiler.CompiledAccExpression.setValue(CompiledAccExpression.java:59) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.ast.AssignmentNode.getReducedValueAccelerated(AssignmentNode.java:111) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.MVELRuntime.execute(MVELRuntime.java:86) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.mvel2.MVEL.executeExpression(MVEL.java:943) ~[mule-mvel2-2.1.9-MULE-006.jar:?] at org.mule.el.mvel.MVELExpressionExecutor.execute(MVELExpressionExecutor.java:72) ~[mule-core-3.7.0.jar:3.7.0] at org.mule.el.mvel.MVELExpressionLanguage.evaluateInternal(MVELExpressionLanguage.java:228) ~[mule-core-3.7.0.jar:3.7.0] ... 39 more

    MuleSoft JIRA | 2 years ago | Jesica Fera
    org.mule.api.expression.ExpressionRuntimeException: Execution of the expression "flowVars['match']=__object_for_enrichment" failed.
  3. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: Root WebApplicationCon text: startup date [Wed Mar 27 11:31:56 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplic ationContext.getApp licationEventMulticaster(AbstractApplicationContex t.java:347) [spring-context-3. 2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.publis hEvent(AbstractApplicationContext.java:334) [spring-context-3.2.2.RELEASE.jar:3. 2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.doClos e(AbstractApplicationContext.java:1049) [spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.context.support.AbstractApplic ationContext.close( AbstractApplicationContext.java:1010) [spring-context-3.2.2.RELEASE.jar:3.2.2.RE LEASE] at org.springframework.web.context.ContextLoader.clos eWebApplicationCont ext(ContextLoader.java:558) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextDestroye d(ContextLoaderListener.java:143) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS top(StandardContext .java:4831) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.stopInter nal(StandardContext .java:5478) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.stop(Lifecy cleBase.java:232) [ tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:160) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]
  6. 0

    Porting project JBoss AS 6 to JBoss AS 7

    Stack Overflow | 5 years ago | Rounak
    java.lang.IllegalStateException: Application was not properly initialize d at startup, could not find Factory: javax.faces.application.ApplicationFactory at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.jav a:894) [jsf-api.jar:] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:319) [jsf-api .jar:] at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext .java:112) [jsf-impl.jar:] at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureList ener.java:325) [jsf-impl.jar:] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext .java:3465) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.stop(StandardContext.java:39 70) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 888) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS ervice.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) [:1.7.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) [:1.7.0]

    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

      Only owner thread can write to message: Thread[[enricher-issue].HTTP_Listener_Configuration.worker.01,5,main]/Thread[[enricher-issue].enricher-issue.01,5,main]

      at org.mule.DefaultMuleMessage.newException()
    2. Mule Core
      MessagePropertyMapContext.put
      1. org.mule.DefaultMuleMessage.newException(DefaultMuleMessage.java:1784)[mule-core-3.7.0.jar:3.7.0]
      2. org.mule.DefaultMuleMessage.checkMutable(DefaultMuleMessage.java:1770)[mule-core-3.7.0.jar:3.7.0]
      3. org.mule.DefaultMuleMessage.assertAccess(DefaultMuleMessage.java:1699)[mule-core-3.7.0.jar:3.7.0]
      4. org.mule.DefaultMuleMessage.setProperty(DefaultMuleMessage.java:535)[mule-core-3.7.0.jar:3.7.0]
      5. org.mule.DefaultMuleMessage.setProperty(DefaultMuleMessage.java:529)[mule-core-3.7.0.jar:3.7.0]
      6. org.mule.el.context.MessagePropertyMapContext.put(MessagePropertyMapContext.java:49)[mule-core-3.7.0.jar:3.7.0]
      7. org.mule.el.context.MessagePropertyMapContext.put(MessagePropertyMapContext.java:17)[mule-core-3.7.0.jar:3.7.0]
      7 frames
    3. mvel
      MVEL.executeExpression
      1. org.mule.mvel2.optimizers.impl.refl.nodes.MapAccessorNest.setValue(MapAccessorNest.java:67)[mule-mvel2-2.1.9-MULE-006.jar:?]
      2. org.mule.mvel2.optimizers.impl.refl.nodes.VariableAccessor.setValue(VariableAccessor.java:46)[mule-mvel2-2.1.9-MULE-006.jar:?]
      3. org.mule.mvel2.compiler.CompiledAccExpression.setValue(CompiledAccExpression.java:59)[mule-mvel2-2.1.9-MULE-006.jar:?]
      4. org.mule.mvel2.ast.AssignmentNode.getReducedValueAccelerated(AssignmentNode.java:111)[mule-mvel2-2.1.9-MULE-006.jar:?]
      5. org.mule.mvel2.MVELRuntime.execute(MVELRuntime.java:86)[mule-mvel2-2.1.9-MULE-006.jar:?]
      6. org.mule.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)[mule-mvel2-2.1.9-MULE-006.jar:?]
      7. org.mule.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)[mule-mvel2-2.1.9-MULE-006.jar:?]
      8. org.mule.mvel2.MVEL.executeExpression(MVEL.java:943)[mule-mvel2-2.1.9-MULE-006.jar:?]
      8 frames
    4. Mule Core
      AbstractNonBlockingMessageProcessor$NonBlockingCompletionHandler.onCompletion
      1. org.mule.el.mvel.MVELExpressionExecutor.execute(MVELExpressionExecutor.java:72)[mule-core-3.7.0.jar:3.7.0]
      2. org.mule.el.mvel.MVELExpressionLanguage.evaluateInternal(MVELExpressionLanguage.java:228)[mule-core-3.7.0.jar:3.7.0]
      3. org.mule.el.mvel.MVELExpressionLanguage.evaluate(MVELExpressionLanguage.java:192)[mule-core-3.7.0.jar:3.7.0]
      4. org.mule.el.mvel.MVELExpressionLanguage.enrich(MVELExpressionLanguage.java:198)[mule-core-3.7.0.jar:3.7.0]
      5. org.mule.expression.DefaultExpressionManager.enrichTyped(DefaultExpressionManager.java:262)[mule-core-3.7.0.jar:3.7.0]
      6. org.mule.enricher.MessageEnricher.enrich(MessageEnricher.java:93)[mule-core-3.7.0.jar:3.7.0]
      7. org.mule.enricher.MessageEnricher$EnricherProcessor.processResponse(MessageEnricher.java:225)[mule-core-3.7.0.jar:3.7.0]
      8. org.mule.processor.AbstractRequestResponseMessageProcessor$1.processReplyTo(AbstractRequestResponseMessageProcessor.java:104)[mule-core-3.7.0.jar:3.7.0]
      9. org.mule.execution.MessageProcessorNotificationExecutionInterceptor$1.processReplyTo(MessageProcessorNotificationExecutionInterceptor.java:79)[mule-core-3.7.0.jar:3.7.0]
      10. org.mule.processor.NonBlockingProcessorExecutor.resume(NonBlockingProcessorExecutor.java:91)[mule-core-3.7.0.jar:3.7.0]
      11. org.mule.processor.NonBlockingProcessorExecutor.access$100(NonBlockingProcessorExecutor.java:37)[mule-core-3.7.0.jar:3.7.0]
      12. org.mule.processor.NonBlockingProcessorExecutor$NonBlockingProcessorExecutorReplyToHandler.processReplyTo(NonBlockingProcessorExecutor.java:111)[mule-core-3.7.0.jar:3.7.0]
      13. org.mule.processor.NonBlockingProcessorExecutor.resume(NonBlockingProcessorExecutor.java:91)[mule-core-3.7.0.jar:3.7.0]
      14. org.mule.processor.NonBlockingProcessorExecutor.access$100(NonBlockingProcessorExecutor.java:37)[mule-core-3.7.0.jar:3.7.0]
      15. org.mule.processor.NonBlockingProcessorExecutor$NonBlockingProcessorExecutorReplyToHandler.processReplyTo(NonBlockingProcessorExecutor.java:111)[mule-core-3.7.0.jar:3.7.0]
      16. org.mule.execution.MessageProcessorNotificationExecutionInterceptor$1.processReplyTo(MessageProcessorNotificationExecutionInterceptor.java:79)[mule-core-3.7.0.jar:3.7.0]
      17. org.mule.processor.AbstractNonBlockingMessageProcessor$NonBlockingCompletionHandler.onCompletion(AbstractNonBlockingMessageProcessor.java:88)[mule-core-3.7.0.jar:3.7.0]
      18. org.mule.processor.AbstractNonBlockingMessageProcessor$NonBlockingCompletionHandler.onCompletion(AbstractNonBlockingMessageProcessor.java:65)[mule-core-3.7.0.jar:3.7.0]
      18 frames
    5. Mule HTTP Connector
      GrizzlyHttpClient$WorkManagerSourceAsyncCompletionHandler.onCompleted
      1. org.mule.module.http.internal.request.DefaultHttpRequester$1.onCompletion(DefaultHttpRequester.java:236)[mule-module-http-3.7.0.jar:3.7.0]
      2. org.mule.module.http.internal.request.DefaultHttpRequester$1.onCompletion(DefaultHttpRequester.java:205)[mule-module-http-3.7.0.jar:3.7.0]
      3. org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient$WorkManagerSourceAsyncCompletionHandler.onCompleted(GrizzlyHttpClient.java:259)[mule-module-http-3.7.0.jar:3.7.0]
      4. org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient$WorkManagerSourceAsyncCompletionHandler.onCompleted(GrizzlyHttpClient.java:243)[mule-module-http-3.7.0.jar:3.7.0]
      4 frames
    6. Asynchronous Http Client
      AhcEventFilter.onHttpPacketParsed
      1. com.ning.http.client.AsyncCompletionHandler.onCompleted(AsyncCompletionHandler.java:55)[async-http-client-1.9.21.jar:?]
      2. com.ning.http.client.providers.grizzly.AhcEventFilter.onHttpPacketParsed(AhcEventFilter.java:416)[async-http-client-1.9.21.jar:?]
      2 frames
    7. grizzly-http
      HttpClientFilter.handleRead
      1. org.glassfish.grizzly.http.HttpCodecFilter.decodeWithTransferEncoding(HttpCodecFilter.java:1274)[grizzly-http-2.3.21.jar:2.3.21]
      2. org.glassfish.grizzly.http.HttpCodecFilter.handleRead(HttpCodecFilter.java:594)[grizzly-http-2.3.21.jar:2.3.21]
      3. org.glassfish.grizzly.http.HttpClientFilter.handleRead(HttpClientFilter.java:175)[grizzly-http-2.3.21.jar:2.3.21]
      3 frames
    8. Grizzly
      AbstractIOStrategy.fireIOEvent
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)[grizzly-framework-2.3.21.jar:2.3.21]
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)[grizzly-framework-2.3.21.jar:2.3.21]
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)[grizzly-framework-2.3.21.jar:2.3.21]
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)[grizzly-framework-2.3.21.jar:2.3.21]
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)[grizzly-framework-2.3.21.jar:2.3.21]
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)[grizzly-framework-2.3.21.jar:2.3.21]
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)[grizzly-framework-2.3.21.jar:2.3.21]
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)[grizzly-framework-2.3.21.jar:2.3.21]
      8 frames
    9. Mule HTTP Connector
      FlowWorkManagerIOStrategy$WorkerThreadRunnable.run
      1. org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy.run0(FlowWorkManagerIOStrategy.java:134)[mule-module-http-3.7.0.jar:3.7.0]
      2. org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy.access$100(FlowWorkManagerIOStrategy.java:31)[mule-module-http-3.7.0.jar:3.7.0]
      3. org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy$WorkerThreadRunnable.run(FlowWorkManagerIOStrategy.java:157)[mule-module-http-3.7.0.jar:3.7.0]
      3 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_11]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_11]
      3. java.lang.Thread.run(Thread.java:745)[?:1.8.0_11]
      3 frames