Topic
  • 1 reply
  • Latest Post - ‏2012-07-23T16:34:56Z by SystemAdmin
KhushbuSinghal
KhushbuSinghal
8 Posts

Pinned topic Error failed dispatching QeueItem

‏2012-07-23T04:43:43Z |
Hi All,

We are working in 4.5 CE environment.I have added a subscription for a class on Update Event. I have coded EventAction. This EventAction is simple in onEvent function there is only one sop. I am gettig this error every-time we are updating a property.

INFO Method parameter 0 type is: com.filenet.api.events.ObjectChangeEvent
2012-07-12T05:49:39.618Z 375B375B EVNT FNRCE0000I - INFO Method parameter 1 type is: com.filenet.api.util.Id
2012-07-12T05:49:39.618Z 375B375B EVNT FNRCE0000I - INFO Method: onEvent is found from class: com.ibm.tfl.actionHandler.EventHandler
2012-07-12T05:49:39.618Z 375B375B ASYN FNRCE0323E - ERROR Failed dispatching QueueItem row {96A90D02-B67E-41FA-8834-7DD1D39B6B39}
com.filenet.api.exception.EngineRuntimeException: EVENT_HANDLER_THREW: The Event handler threw an exception.
at com.filenet.engine.queueitem.SubscriptionProcessor.executeHandler(SubscriptionProcessor.java:1054)
at com.filenet.engine.queueitem.SubscriptionProcessor.execute(SubscriptionProcessor.java:839)
at com.filenet.engine.queueitem.EventQueueItemHandler.execute(EventQueueItemHandler.java:89)
at com.filenet.engine.queueitem.EventQueueItemHandler$1.run(EventQueueItemHandler.java:55)
at com.filenet.engine.context.CallState.doAs(CallState.java:235)
at com.filenet.engine.context.CallState.doAs(CallState.java:152)
at com.filenet.engine.queueitem.EventQueueItemHandler.executeAs(EventQueueItemHandler.java:46)
at com.filenet.engine.queueitem.QueueItemExecutor.loadAndExecuteQueuedRow(QueueItemExecutor.java:175)
at com.filenet.engine.queueitem.QueueExecutor.dispatchQueuedRow(QueueExecutor.java:356)
at com.filenet.engine.queueitem.QueueExecutor.dispatchEvent(QueueExecutor.java:197)
at com.filenet.engine.queueitem.QueueExecutor.execute(QueueExecutor.java:129)
at com.filenet.engine.tasks.BackgroundTask.safeExecute(BackgroundTask.java:187)
at com.filenet.engine.tasks.BackgroundTask.access$000(BackgroundTask.java:41)
at com.filenet.engine.tasks.BackgroundTask$BackgroundTaskPriviledgedExceptionAction.run(BackgroundTask.java:675)
at com.filenet.engine.context.CallState.doAsSystem(CallState.java:391)
at com.filenet.engine.tasks.BackgroundTask.run(BackgroundTask.java:143)
at com.filenet.engine.jca.workmgr.ThreadPool$WorkerThread.run(ThreadPool.java:85)
Caused by:
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.filenet.engine.queueitem.SubscriptionProcessor.executeHandler(SubscriptionProcessor.java:1035)
... 16 more

Please help us to resolve this.
Updated on 2012-07-23T16:34:56Z at 2012-07-23T16:34:56Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    693 Posts

    Re: Error failed dispatching QeueItem

    ‏2012-07-23T16:34:56Z  
    I don't know what causes that, but I have a couple of questions about it. Is you event handler class in a CodeModule or on the appserver classpath? If in a CodeModule, does the CodeModule contain anything other than a single Java class? If on the appserver classpath, do you also have a copy of Jace.jar on the classpath?