org.mule.api.transformer.TransformerMessagingException: null (java.lang.NullPointerException). Message payload is of type: String

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via MuleSoft JIRA by David Dossot, 1 year ago
null (java.lang.NullPointerException). Message payload is of type: String
via MuleSoft JIRA by David Dossot, 1 year ago
null (java.lang.NullPointerException). Message payload is of type: String
via mulesoft.org by Unknown author, 1 year ago
null (java.lang.NullPointerException). Message payload is of type: String
via GitHub by NamusG
, 2 years ago
Failed to evaluate XPath expression: "//*[local-name()='FirstName']/text()" (org.mule.api.MuleRuntimeException). Message payload is of type: String
via GitHub by matiasscandroglio
, 2 years ago
null (java.lang.NullPointerException). Message payload is of type: String
org.mule.api.transformer.TransformerMessagingException: null (java.lang.NullPointerException). Message payload is of type: String
at org.mule.util.AttributeEvaluator.isExpression(AttributeEvaluator.java:65)
at org.mule.util.AttributeEvaluator.resolveValue(AttributeEvaluator.java:75)
at org.mule.transformer.simple.SetPayloadTransformer.transformMessage(SetPayloadTransformer.java:50)
at org.mule.transformer.AbstractMessageTransformer.transform(AbstractMessageTransformer.java:145)
at org.mule.transformer.AbstractMessageTransformer.transform(AbstractMessageTransformer.java:93)
at org.mule.DefaultMuleMessage.transformMessage(DefaultMuleMessage.java:1455)
at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:1363)
at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:1341)
at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:1333)
at org.mule.transformer.AbstractTransformer.process(AbstractTransformer.java:123)
at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43)
at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43)
at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:93)
at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:66)
at org.mule.processor.chain.InterceptingChainLifecycleWrapper.doProcess(InterceptingChainLifecycleWrapper.java:57)
at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:66)
at org.mule.processor.chain.InterceptingChainLifecycleWrapper.access$001(InterceptingChainLifecycleWrapper.java:29)
at org.mule.processor.chain.InterceptingChainLifecycleWrapper$1.process(InterceptingChainLifecycleWrapper.java:90)
at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43)
at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43)
at org.mule.processor.chain.InterceptingChainLifecycleWrapper.process(InterceptingChainLifecycleWrapper.java:85)
at net.dossot.GenericTest.doIt(GenericTest.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.