Failure while handling ActivityEndEvent.

9 views
Skip to first unread message

rgudepu

unread,
Sep 3, 2008, 1:50:45 PM9/3/08
to mobicents-public
I am seeing the following error after sending a response back for a
SIP INFO event. The custom event is wrapped inside the INFO event.
Before sending the response back
( ServerTransaction.sendResponse(response) ), I am checking to see if
a transaction is available and it is present.

Thoughts ?

12:43:01,890 ERROR [EventRouterImpl] Failure while handling
ActivityEndEvent. Event [SleeEventImpl.toString() = {
eventID = EventTypeID[javax.slee.ActivityEndEvent#javax.slee#1.0], #0
activitycontext = 2a84198f8024f1dc:-5e412fc:11c294b692e:-7ebf
eventObject = org.mobicents.slee.runtime.ActivityEndEventImpl@13115ab
address = null
activity = Csta Monitoring Session ID: 1234}]
java.lang.IllegalStateException: Failed to obtain transaction. tx is
null.
at
org.mobicents.slee.runtime.cache.XACache.getTransaction(XACache.java:
190)
at
org.mobicents.slee.runtime.cache.XACache.getTxLocalMap(XACache.java:
123)
at
org.mobicents.slee.runtime.cache.CacheableMap.getTxLocalMap(CacheableMap.java:
538)
at
org.mobicents.slee.runtime.cache.CacheableMap.isRemoved(CacheableMap.java:
534)
at
org.mobicents.slee.runtime.cache.CacheableMap.keySet(CacheableMap.java:
376)
at
org.mobicents.slee.runtime.cache.CacheableSet.iterator(CacheableSet.java:
195)
at
org.mobicents.slee.runtime.ActivityContext.removeNamingBindings(ActivityContext.java:
432)
at
org.mobicents.slee.runtime.EventRouterImpl.handleActivityEndEvent(EventRouterImpl.java:
1342)
at
org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent(EventRouterImpl.java:
1149)
at org.mobicents.slee.runtime.EventRouterImpl.access
$100(EventRouterImpl.java:64)
at org.mobicents.slee.runtime.EventRouterImpl
$EventExecutor.run(EventRouterImpl.java:121)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
12:43:01,890 ERROR [EventRouterImpl] Unhandled Exception in event
router top try
javax.slee.TransactionRequiredLocalException: Transaction Mandatory
at
org.mobicents.slee.runtime.transaction.TransactionManagerImpl.mandateTransaction(TransactionManagerImpl.java:
128)
at
org.mobicents.slee.runtime.transaction.TransactionManagerImpl.assertIsInTx(TransactionManagerImpl.java:
1169)
at
org.mobicents.slee.runtime.EventRouterImpl.handleRollback(EventRouterImpl.java:
355)
at
org.mobicents.slee.runtime.EventRouterImpl.handleActivityEndEvent(EventRouterImpl.java:
1361)
at
org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent(EventRouterImpl.java:
1149)
at org.mobicents.slee.runtime.EventRouterImpl.access
$100(EventRouterImpl.java:64)
at org.mobicents.slee.runtime.EventRouterImpl
$EventExecutor.run(EventRouterImpl.java:121)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

rgudepu

unread,
Sep 3, 2008, 4:27:56 PM9/3/08
to mobicents-public
Please ignore the previous post...I fixed it...there was custom
transaction management that was causing the issue.

-rg
Reply all
Reply to author
Forward
0 new messages