java.lang.IllegalArgumentException: All roles must be handled

GitHub | oguzkocer | 3 months ago
  1. 0

    Crash while converting string to role

    GitHub | 3 months ago | oguzkocer
    java.lang.IllegalArgumentException: All roles must be handled
  2. 0

    {code} this.flow = messageFlow {        amqpListen queueNames:config.rabbit.queue, connectionFactory:'connectionFactory', autoStartup:false        transform { Message msg->          unpackGzip(msg)        }        transform { Message msg->          transformToJsonObject(msg)        }        handle { Message msg->          eventBus.send(config.stream, msg.getPayload() as String)        } } {code} which throws the following exception: 2013-05-10 10:03:12.307 WARN [SimpleAsyncTaskExecutor-1]: [org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer] Execution of Rabbit message listener failed, and no ErrorHandler has been set. org.springframework.amqp.rabbit.listener.ListenerExecutionFailedException: Listener threw exception at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.wrapToListenerExecutionFailedExceptionIfNeeded(AbstractMessageListenerContainer.java:647) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:586) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(SimpleMessageListenerContainer.java:58) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(SimpleMessageListenerContainer.java:107) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(SimpleMessageListenerContainer.java:608) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:454) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:471) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:455) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$300(SimpleMessageListenerContainer.java:58) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:548) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.IllegalArgumentException: The replyTo header must not be null on a request Message being handled by the AMQP inbound gateway. at org.springframework.util.Assert.notNull(Assert.java:112) at org.springframework.integration.amqp.inbound.AmqpInboundGateway$1.onMessage(AmqpInboundGateway.java:91) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:584) ... 10 more I'm not sending a reply from the closure at the end of the flow, it's a void method this should result in a the Callable.call() returning null too manually returning null seems to fix it

    Spring JIRA | 4 years ago | Stuart Williams
    org.springframework.amqp.rabbit.listener.ListenerExecutionFailedException: Listener threw exception
  3. 0

    {code} this.flow = messageFlow {        amqpListen queueNames:config.rabbit.queue, connectionFactory:'connectionFactory', autoStartup:false        transform { Message msg->          unpackGzip(msg)        }        transform { Message msg->          transformToJsonObject(msg)        }        handle { Message msg->          eventBus.send(config.stream, msg.getPayload() as String)        } } {code} which throws the following exception: 2013-05-10 10:03:12.307 WARN [SimpleAsyncTaskExecutor-1]: [org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer] Execution of Rabbit message listener failed, and no ErrorHandler has been set. org.springframework.amqp.rabbit.listener.ListenerExecutionFailedException: Listener threw exception at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.wrapToListenerExecutionFailedExceptionIfNeeded(AbstractMessageListenerContainer.java:647) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:586) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(SimpleMessageListenerContainer.java:58) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(SimpleMessageListenerContainer.java:107) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(SimpleMessageListenerContainer.java:608) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:454) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:471) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:455) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$300(SimpleMessageListenerContainer.java:58) at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:548) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.IllegalArgumentException: The replyTo header must not be null on a request Message being handled by the AMQP inbound gateway. at org.springframework.util.Assert.notNull(Assert.java:112) at org.springframework.integration.amqp.inbound.AmqpInboundGateway$1.onMessage(AmqpInboundGateway.java:91) at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:584) ... 10 more I'm not sending a reply from the closure at the end of the flow, it's a void method this should result in a the Callable.call() returning null too manually returning null seems to fix it

    Spring JIRA | 4 years ago | Stuart Williams
    org.springframework.amqp.rabbit.listener.ListenerExecutionFailedException: Listener threw exception
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ncWMS failing with featureCollection on TDS Version 4.5.4-SNAPSHOT - 20141008.1804

    GitHub | 2 years ago | rsignell-usgs
    java.lang.IllegalArgumentException: The calendar system proleptic_gregorian cannot be handled
  6. 0

    RawStore and composite PrimaryKey

    Oracle Community | 4 years ago | 955728
    com.sleepycat.je.EnvironmentFailureException: (JE 5.0.58) D:\ db fetchTarget of 0x7/0x2afd08 parent IN=3 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0x7/0x2b7b1a lastLoggedVersion=0x7/0x2b7b1a parent.getDirty()=false state=0 java.lang.IllegalArgumentException: All composite key instance fields must be key fields: dao.berkeleydb.PersistentPublicationKey.sourceLocation LOG_INTEGRITY: Log information is incorrect, problem is likely persistent.

    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.IllegalArgumentException

      All roles must be handled

      at org.wordpress.android.models.Role.fromString()
    2. org.wordpress.android
      PeopleListFragment.onResume
      1. org.wordpress.android.models.Role.fromString(Role.java:41)
      2. org.wordpress.android.datasets.PeopleTable.getPersonFromCursor(PeopleTable.java:314)
      3. org.wordpress.android.datasets.PeopleTable.getPeople(PeopleTable.java:261)
      4. org.wordpress.android.datasets.PeopleTable.getUsers(PeopleTable.java:232)
      5. org.wordpress.android.ui.people.PeopleListFragment.refreshPeopleList(PeopleListFragment.java:234)
      6. org.wordpress.android.ui.people.PeopleListFragment.updatePeople(PeopleListFragment.java:223)
      7. org.wordpress.android.ui.people.PeopleListFragment.onResume(PeopleListFragment.java:199)
      7 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performResume(Fragment.java:2329)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1023)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163)
      4. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1145)
      5. android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1980)
      6. android.app.FragmentController.dispatchResume(FragmentController.java:174)
      7. android.app.Activity.performResume(Activity.java:7013)
      8. android.app.ActivityThread.performResumeActivity(ActivityThread.java:4145)
      9. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4250)
      10. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3361)
      11. android.app.ActivityThread.access$1100(ActivityThread.java:222)
      12. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
      13. android.os.Handler.dispatchMessage(Handler.java:102)
      14. android.os.Looper.loop(Looper.java:158)
      15. android.app.ActivityThread.main(ActivityThread.java:7229)
      15 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames