org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of type: String

MuleSoft JIRA | Daniel Zapata | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The hello http example fails with the following error: ERROR 2010-08-16 15:37:16,703 [connector.http.0.receiver.4] org.mule.exception.DefaultServiceExceptionStrategy: ******************************************************************************** Message : Failed to find entry point for component, the following resolvers tried but failed: [ AnnotatedEntryPointResolver: Component: org.mule.example.hello.Greeter@13d422d doesn't have any annotated methods, skipping. MethodHeaderPropertyEntryPointResolver: The required property "method" is not set on the event CallableEntryPointResolver: Object "org.mule.example.hello.Greeter@13d422d" does not implement required interface "interface org.mule.api.lifecycle.Callable" ReflectionEntryPointResolver: Could not find entry point on: "org.mule.example.hello.Greeter" with arguments: "{class java.lang.String}" ] Code : MULE_ERROR-321 -------------------------------------------------------------------------------- Exception stack is: 1. Failed to find entry point for component, the following resolvers tried but failed: [ AnnotatedEntryPointResolver: Component: org.mule.example.hello.Greeter@13d422d doesn't have any annotated methods, skipping. MethodHeaderPropertyEntryPointResolver: The required property "method" is not set on the event CallableEntryPointResolver: Object "org.mule.example.hello.Greeter@13d422d" does not implement required interface "interface org.mule.api.lifecycle.Callable" ReflectionEntryPointResolver: Could not find entry point on: "org.mule.example.hello.Greeter" with arguments: "{class java.lang.String}" ] (org.mule.model.resolvers.EntryPointNotFoundException) org.mule.model.resolvers.DefaultEntryPointResolverSet:61 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/model/resolvers/EntryPointNotFoundException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.model.resolvers.EntryPointNotFoundException: Failed to find entry point for component, the following resolvers tried but failed: [ AnnotatedEntryPointResolver: Component: org.mule.example.hello.Greeter@13d422d doesn't have any annotated methods, skipping. MethodHeaderPropertyEntryPointResolver: The required property "method" is not set on the event CallableEntryPointResolver: Object "org.mule.example.hello.Greeter@13d422d" does not implement required interface "interface org.mule.api.lifecycle.Callable" ReflectionEntryPointResolver: Could not find entry point on: "org.mule.example.hello.Greeter" with arguments: "{class java.lang.String}" ] at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:61) at org.mule.component.DefaultComponentLifecycleAdapter.invoke(DefaultComponentLifecycleAdapter.java:376) at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:90) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 2010-08-16 15:37:16,703 [connector.http.0.receiver.4] org.mule.exception.DefaultServiceExceptionStrategy: Message being processed is: org.mule.DefaultMuleMessage { id=2b0d5238-962f-4d87-9684-a08343915f4c payload=java.lang.String correlationId=<not set> correlationGroup=-1 correlationSeq=-1 encoding=UTF-8 exceptionPayload=org.mule.message.DefaultExceptionPayload@1a5fb5a Message properties: INVOCATION scoped properties: INBOUND scoped properties: Accept=application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding=gzip,deflate,sdch Accept-Language=en-US,en;q=0.8 Cache-Control=max-age=0 Connection=true Host=localhost:8888 Keep-Alive=true MULE_REMOTE_CLIENT_ADDRESS=/127.0.0.1:4951 User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.126 Safari/533.4 http.context.path=/ http.method=GET http.request=/?name=Dolly1111 http.request.path=/ http.version=HTTP/1.1 name=Dolly1111 OUTBOUND scoped properties: MULE_ENCODING=UTF-8 MULE_ORIGINATING_ENDPOINT=endpoint.http.localhost.8888 SESSION scoped properties: } ERROR 2010-08-16 15:37:16,796 [connector.http.0.receiver.4] org.mule.exception.DefaultServiceExceptionStrategy: ******************************************************************************** Message : Message has been rejected by filter. Message payload is of type: String Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Message has been rejected by filter. Message payload is of type: String (org.mule.api.routing.filter.FilterUnacceptedException) org.mule.routing.ExceptionThrowingMessageFilter:36 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/routing/filter/FilterUnacceptedException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of type: String at org.mule.routing.ExceptionThrowingMessageFilter.handleUnaccepted(ExceptionThrowingMessageFilter.java:36) at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:34) at org.mule.processor.ExceptionHandlingMessageProcessor.process(ExceptionHandlingMessageProcessor.java:22) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 2010-08-16 15:37:16,796 [connector.http.0.receiver.4] org.mule.exception.DefaultServiceExceptionStrategy: Message being processed is: org.mule.DefaultMuleMessage { id=78da7237-ce37-43a1-a92b-67a374f698d4 payload=java.lang.String correlationId=<not set> correlationGroup=-1 correlationSeq=-1 encoding=UTF-8 exceptionPayload=org.mule.message.DefaultExceptionPayload@16321e6 Message properties: INVOCATION scoped properties: INBOUND scoped properties: Accept=*/* Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding=gzip,deflate,sdch Accept-Language=en-US,en;q=0.8 Connection=true Host=localhost:8888 Keep-Alive=true MULE_REMOTE_CLIENT_ADDRESS=/127.0.0.1:4952 User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.126 Safari/533.4 http.context.path=/ http.method=GET http.request=/favicon.ico http.request.path=/favicon.ico http.version=HTTP/1.1 OUTBOUND scoped properties: MULE_ENCODING=UTF-8 MULE_ORIGINATING_ENDPOINT=endpoint.http.localhost.8888 SESSION scoped properties: } INFO 2010-08-16 15:37:16,796 [connector.http.0.receiver.4] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default response transformer: org.mule.transport.http.transformers.MuleMessageToHttpResponse WARN 2010-08-16 15:37:16,796 [connector.http.0.receiver.4] org.mule.registry.TransientRegistry: TransientRegistry already contains an object named 'MuleMessageToHttpResponse#18171662'. The previous object will be overwritten.

    MuleSoft JIRA | 7 years ago | Daniel Zapata
    org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of type: String
  2. 0

    The hello http example fails with the following error: ERROR 2010-08-16 15:37:16,703 [connector.http.0.receiver.4] org.mule.exception.DefaultServiceExceptionStrategy: ******************************************************************************** Message : Failed to find entry point for component, the following resolvers tried but failed: [ AnnotatedEntryPointResolver: Component: org.mule.example.hello.Greeter@13d422d doesn't have any annotated methods, skipping. MethodHeaderPropertyEntryPointResolver: The required property "method" is not set on the event CallableEntryPointResolver: Object "org.mule.example.hello.Greeter@13d422d" does not implement required interface "interface org.mule.api.lifecycle.Callable" ReflectionEntryPointResolver: Could not find entry point on: "org.mule.example.hello.Greeter" with arguments: "{class java.lang.String}" ] Code : MULE_ERROR-321 -------------------------------------------------------------------------------- Exception stack is: 1. Failed to find entry point for component, the following resolvers tried but failed: [ AnnotatedEntryPointResolver: Component: org.mule.example.hello.Greeter@13d422d doesn't have any annotated methods, skipping. MethodHeaderPropertyEntryPointResolver: The required property "method" is not set on the event CallableEntryPointResolver: Object "org.mule.example.hello.Greeter@13d422d" does not implement required interface "interface org.mule.api.lifecycle.Callable" ReflectionEntryPointResolver: Could not find entry point on: "org.mule.example.hello.Greeter" with arguments: "{class java.lang.String}" ] (org.mule.model.resolvers.EntryPointNotFoundException) org.mule.model.resolvers.DefaultEntryPointResolverSet:61 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/model/resolvers/EntryPointNotFoundException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.model.resolvers.EntryPointNotFoundException: Failed to find entry point for component, the following resolvers tried but failed: [ AnnotatedEntryPointResolver: Component: org.mule.example.hello.Greeter@13d422d doesn't have any annotated methods, skipping. MethodHeaderPropertyEntryPointResolver: The required property "method" is not set on the event CallableEntryPointResolver: Object "org.mule.example.hello.Greeter@13d422d" does not implement required interface "interface org.mule.api.lifecycle.Callable" ReflectionEntryPointResolver: Could not find entry point on: "org.mule.example.hello.Greeter" with arguments: "{class java.lang.String}" ] at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:61) at org.mule.component.DefaultComponentLifecycleAdapter.invoke(DefaultComponentLifecycleAdapter.java:376) at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:90) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 2010-08-16 15:37:16,703 [connector.http.0.receiver.4] org.mule.exception.DefaultServiceExceptionStrategy: Message being processed is: org.mule.DefaultMuleMessage { id=2b0d5238-962f-4d87-9684-a08343915f4c payload=java.lang.String correlationId=<not set> correlationGroup=-1 correlationSeq=-1 encoding=UTF-8 exceptionPayload=org.mule.message.DefaultExceptionPayload@1a5fb5a Message properties: INVOCATION scoped properties: INBOUND scoped properties: Accept=application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding=gzip,deflate,sdch Accept-Language=en-US,en;q=0.8 Cache-Control=max-age=0 Connection=true Host=localhost:8888 Keep-Alive=true MULE_REMOTE_CLIENT_ADDRESS=/127.0.0.1:4951 User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.126 Safari/533.4 http.context.path=/ http.method=GET http.request=/?name=Dolly1111 http.request.path=/ http.version=HTTP/1.1 name=Dolly1111 OUTBOUND scoped properties: MULE_ENCODING=UTF-8 MULE_ORIGINATING_ENDPOINT=endpoint.http.localhost.8888 SESSION scoped properties: } ERROR 2010-08-16 15:37:16,796 [connector.http.0.receiver.4] org.mule.exception.DefaultServiceExceptionStrategy: ******************************************************************************** Message : Message has been rejected by filter. Message payload is of type: String Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Message has been rejected by filter. Message payload is of type: String (org.mule.api.routing.filter.FilterUnacceptedException) org.mule.routing.ExceptionThrowingMessageFilter:36 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/routing/filter/FilterUnacceptedException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of type: String at org.mule.routing.ExceptionThrowingMessageFilter.handleUnaccepted(ExceptionThrowingMessageFilter.java:36) at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:34) at org.mule.processor.ExceptionHandlingMessageProcessor.process(ExceptionHandlingMessageProcessor.java:22) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 2010-08-16 15:37:16,796 [connector.http.0.receiver.4] org.mule.exception.DefaultServiceExceptionStrategy: Message being processed is: org.mule.DefaultMuleMessage { id=78da7237-ce37-43a1-a92b-67a374f698d4 payload=java.lang.String correlationId=<not set> correlationGroup=-1 correlationSeq=-1 encoding=UTF-8 exceptionPayload=org.mule.message.DefaultExceptionPayload@16321e6 Message properties: INVOCATION scoped properties: INBOUND scoped properties: Accept=*/* Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.3 Accept-Encoding=gzip,deflate,sdch Accept-Language=en-US,en;q=0.8 Connection=true Host=localhost:8888 Keep-Alive=true MULE_REMOTE_CLIENT_ADDRESS=/127.0.0.1:4952 User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.126 Safari/533.4 http.context.path=/ http.method=GET http.request=/favicon.ico http.request.path=/favicon.ico http.version=HTTP/1.1 OUTBOUND scoped properties: MULE_ENCODING=UTF-8 MULE_ORIGINATING_ENDPOINT=endpoint.http.localhost.8888 SESSION scoped properties: } INFO 2010-08-16 15:37:16,796 [connector.http.0.receiver.4] org.mule.transport.service.DefaultTransportServiceDescriptor: Loading default response transformer: org.mule.transport.http.transformers.MuleMessageToHttpResponse WARN 2010-08-16 15:37:16,796 [connector.http.0.receiver.4] org.mule.registry.TransientRegistry: TransientRegistry already contains an object named 'MuleMessageToHttpResponse#18171662'. The previous object will be overwritten.

    MuleSoft JIRA | 7 years ago | Daniel Zapata
    org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of type: String

    Root Cause Analysis

    1. org.mule.api.routing.filter.FilterUnacceptedException

      Message has been rejected by filter. Message payload is of type: String

      at org.mule.routing.ExceptionThrowingMessageFilter.handleUnaccepted()
    2. Mule Core
      ExceptionHandlingMessageProcessor.process
      1. org.mule.routing.ExceptionThrowingMessageFilter.handleUnaccepted(ExceptionThrowingMessageFilter.java:36)
      2. org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:34)
      3. org.mule.processor.ExceptionHandlingMessageProcessor.process(ExceptionHandlingMessageProcessor.java:22)
      3 frames