java.lang.IllegalArgumentException: Object "org.mule.transport.sftp.SftpInputStream" not of correct type. It must be of type "{interface java.lang.Iterable,interface java.util.Iterator,interface org.mule.routing.MessageSequence,interface java.util.Collection}"

Stack Overflow | user3165854 | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Object org.mule.transport.sftp.SftpInputStream not of correct type error

    Stack Overflow | 5 months ago | user3165854
    java.lang.IllegalArgumentException: Object "org.mule.transport.sftp.SftpInputStream" not of correct type. It must be of type "{interface java.lang.Iterable,interface java.util.Iterator,interface org.mule.routing.MessageSequence,interface java.util.Collection}"

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Object "org.mule.transport.sftp.SftpInputStream" not of correct type. It must be of type "{interface java.lang.Iterable,interface java.util.Iterator,interface org.mule.routing.MessageSequence,interface java.util.Collection}"

      at org.mule.util.collection.EventToMessageSequenceSplittingStrategy.split()
    2. Mule Core
      EventToMessageSequenceSplittingStrategy.split
      1. org.mule.util.collection.EventToMessageSequenceSplittingStrategy.split(EventToMessageSequenceSplittingStrategy.java:64)
      2. org.mule.util.collection.EventToMessageSequenceSplittingStrategy.split(EventToMessageSequenceSplittingStrategy.java:25)
      2 frames
    3. com.mulesoft.module
      DefaultBatchJob$1.process
      1. com.mulesoft.module.batch.engine.queue.BatchQueueLoader.splitAndLoad(BatchQueueLoader.java:63)
      2. com.mulesoft.module.batch.engine.DefaultBatchEngine.load(DefaultBatchEngine.java:361)
      3. com.mulesoft.module.batch.DefaultBatchJob.execute(DefaultBatchJob.java:305)
      4. com.mulesoft.module.batch.DefaultBatchJob$1.process(DefaultBatchJob.java:229)
      4 frames
    4. Mule Core
      AbstractMessageReceiver.routeMessage
      1. org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)
      2. org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107)
      3. org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44)
      4. org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)
      5. org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107)
      6. org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44)
      7. org.mule.transport.AbstractMessageReceiver.routeEvent(AbstractMessageReceiver.java:511)
      8. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:226)
      9. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:208)
      10. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:200)
      11. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:187)
      11 frames
    5. org.mule.transport
      SftpMessageReceiver$1.process
      1. org.mule.transport.sftp.SftpMessageReceiver$1.process(SftpMessageReceiver.java:203)
      2. org.mule.transport.sftp.SftpMessageReceiver$1.process(SftpMessageReceiver.java:179)
      2 frames
    6. Mule Core
      TransactionalErrorHandlingExecutionTemplate.execute
      1. org.mule.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:16)
      2. org.mule.execution.CommitTransactionInterceptor.execute(CommitTransactionInterceptor.java:35)
      3. org.mule.execution.CommitTransactionInterceptor.execute(CommitTransactionInterceptor.java:22)
      4. org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:30)
      5. org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:14)
      6. org.mule.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:67)
      7. org.mule.execution.ResolvePreviousTransactionInterceptor.execute(ResolvePreviousTransactionInterceptor.java:44)
      8. org.mule.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:50)
      9. org.mule.execution.ValidateTransactionalStateInterceptor.execute(ValidateTransactionalStateInterceptor.java:40)
      10. org.mule.execution.IsolateCurrentTransactionInterceptor.execute(IsolateCurrentTransactionInterceptor.java:41)
      11. org.mule.execution.ExternalTransactionInterceptor.execute(ExternalTransactionInterceptor.java:48)
      12. org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:28)
      13. org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:13)
      14. org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:110)
      15. org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:30)
      15 frames
    7. org.mule.transport
      SftpMessageReceiver.poll
      1. org.mule.transport.sftp.SftpMessageReceiver.routeFile(SftpMessageReceiver.java:178)
      2. org.mule.transport.sftp.SftpMessageReceiver.poll(SftpMessageReceiver.java:121)
      2 frames
    8. Mule Core
      WorkerContext.run
      1. org.mule.transport.AbstractPollingMessageReceiver.performPoll(AbstractPollingMessageReceiver.java:216)
      2. org.mule.transport.PollingReceiverWorker.poll(PollingReceiverWorker.java:80)
      3. org.mule.transport.PollingReceiverWorker.run(PollingReceiverWorker.java:49)
      4. org.mule.transport.TrackingWorkManager$TrackeableWork.run(TrackingWorkManager.java:267)
      5. org.mule.work.WorkerContext.run(WorkerContext.java:286)
      5 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames