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

MuleSoft JIRA | Daniel Zapata | 6 years ago
  1. 0

    Not a blocker for the release, but hen you hit the hello url, you will see this in the mule log: ERROR 2010-09-13 08:41:53,896 [connector.http.0.receiver.3] 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.FilterUnacce ptedException) org.mule.routing.MessageFilter:81 (http://www.mulesoft.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 ty pe: String at org.mule.routing.MessageFilter.filterUnacceptedException(MessageFilter.java:81) at org.mule.processor.AbstractFilteringMessageProcessor.handleUnaccepted(AbstractFilteringMessageProcessor.j ava:59) at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:45) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 2010-09-13 08:41:53,898 [connector.http.0.receiver.3] org.mule.exception.DefaultServiceExceptionStrategy: The Default Service Exception Strategy has been invoked but there is no current service on the context. Please report th is to dev@mule.codehaus.org ERROR 2010-09-13 08:41:53,899 [connector.http.0.receiver.3] org.mule.exception.DefaultServiceExceptionStrategy: Mess age being processed is: org.mule.DefaultMuleMessage { id=20ba9c8a-edcb-4737-b678-63ecd03f43ae payload=java.lang.String correlationId=<not set> correlationGroup=-1 correlationSeq=-1 encoding=UTF-8 exceptionPayload=org.mule.message.DefaultExceptionPayload@70c74e66 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=172.16.10.111:8888 Keep-Alive=true MULE_ORIGINATING_ENDPOINT=endpoint.http.localhost.8888 MULE_REMOTE_CLIENT_ADDRESS=/172.20.10.156:4884 User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472. 55 Safari/534.3 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 SESSION scoped properties: } ERROR 2010-09-13 08:41:53,907 [connector.http.0.receiver.3] org.mule.exception.DefaultServiceExceptionStrategy: The Default Service Exception Strategy has been invoked but there is no current service on the context. Please report th is to dev@mule.codehaus.org INFO 2010-09-13 08:41:53,914 [connector.VM.0.dispatcher.1] org.mule.lifecycle.AbstractLifecycleManager: Initialisin g: 'connector.VM.0.dispatcher.367917752'. Object is: VMMessageDispatcher The example works, just shows this exception in the log.

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

    Not a blocker for the release, but hen you hit the hello url, you will see this in the mule log: ERROR 2010-09-13 08:41:53,896 [connector.http.0.receiver.3] 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.FilterUnacce ptedException) org.mule.routing.MessageFilter:81 (http://www.mulesoft.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 ty pe: String at org.mule.routing.MessageFilter.filterUnacceptedException(MessageFilter.java:81) at org.mule.processor.AbstractFilteringMessageProcessor.handleUnaccepted(AbstractFilteringMessageProcessor.j ava:59) at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:45) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** ERROR 2010-09-13 08:41:53,898 [connector.http.0.receiver.3] org.mule.exception.DefaultServiceExceptionStrategy: The Default Service Exception Strategy has been invoked but there is no current service on the context. Please report th is to dev@mule.codehaus.org ERROR 2010-09-13 08:41:53,899 [connector.http.0.receiver.3] org.mule.exception.DefaultServiceExceptionStrategy: Mess age being processed is: org.mule.DefaultMuleMessage { id=20ba9c8a-edcb-4737-b678-63ecd03f43ae payload=java.lang.String correlationId=<not set> correlationGroup=-1 correlationSeq=-1 encoding=UTF-8 exceptionPayload=org.mule.message.DefaultExceptionPayload@70c74e66 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=172.16.10.111:8888 Keep-Alive=true MULE_ORIGINATING_ENDPOINT=endpoint.http.localhost.8888 MULE_REMOTE_CLIENT_ADDRESS=/172.20.10.156:4884 User-Agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472. 55 Safari/534.3 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 SESSION scoped properties: } ERROR 2010-09-13 08:41:53,907 [connector.http.0.receiver.3] org.mule.exception.DefaultServiceExceptionStrategy: The Default Service Exception Strategy has been invoked but there is no current service on the context. Please report th is to dev@mule.codehaus.org INFO 2010-09-13 08:41:53,914 [connector.VM.0.dispatcher.1] org.mule.lifecycle.AbstractLifecycleManager: Initialisin g: 'connector.VM.0.dispatcher.367917752'. Object is: VMMessageDispatcher The example works, just shows this exception in the log.

    MuleSoft JIRA | 6 years ago | Daniel Zapata
    org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of ty pe: String
  3. 0

    When trying to get the files that are accepted by the filter, this exception is thrown, the file is consumed and it never makes it to the file outbound endpoint. ERROR 2013-09-03 11:02:06,695 [[sftp-file].connector.sftp.mule.default.receiver.01] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Message has been rejected by filter. Message payload is of type: SftpInputStream Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Message has been rejected by filter. Message payload is of type: SftpInputStream (org.mule.api.routing.filter.FilterUnacceptedException) org.mule.routing.MessageFilter:100 (http://www.mulesoft.org/docs/site/current3/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: SftpInputStream at org.mule.routing.MessageFilter.filterUnacceptedException(MessageFilter.java:100) at org.mule.processor.AbstractFilteringMessageProcessor.handleUnaccepted(AbstractFilteringMessageProcessor.java:62) at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:48) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************

    MuleSoft JIRA | 3 years ago | Ignacio Gleria
    org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of type: SftpInputStream
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule - Message has been rejected by filter. Message payload is of type: byte[]

    Stack Overflow | 3 years ago | danw
    org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of type: byte[]
  6. 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 | 6 years ago | Daniel Zapata
    org.mule.api.routing.filter.FilterUnacceptedException: Message has been rejected by filter. Message payload is of type: String

    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. org.mule.api.routing.filter.FilterUnacceptedException

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

      at org.mule.routing.MessageFilter.filterUnacceptedException()
    2. Mule Core
      MessageFilter.filterUnacceptedException
      1. org.mule.routing.MessageFilter.filterUnacceptedException(MessageFilter.java:81)
      1 frame