cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15067
Views
0
Helpful
0
Replies

The error "Another thread is currently working on this session" cause Java Heap memory leak.

Hello,

Could you please suggest what should I do to fix "com.audium.server.MultipleThreadException: Another thread is currently working on this session" error?

The scenario is

Enter to Java class, enter to "doDecision" method from library "com.audium.server.voiceElememt" DecisionElementBase --> Execution of 1st REST request to Web Server (>30 sec)

Next I have 2 options:

1. Normal behavior

Exit from "doDecision" method --> enter to "onEndCall" from the same library --> Execution of 2nd REST requesr to Web Server --> Correct end of a call

2. Problem behavior

Unexpected end of a call --> enter to "onEndCall" from the same library (Executing of 1st REST request to Web Server still in progress) --> Execution of 2nd REST request to Web Server --> Exit with the error:

Another thread is currently working on this session.  This means the original thread took too long to complete what it was doing.  To prevent abnormal behaviour the original thread will exit immediately.  The call should not be affected.

com.audium.server.MultipleThreadException: Another thread is currently working on this session.  This means the original thread took too long to complete what it was doing.  To prevent abnormal behaviour the original thread will exit immediately.  The call should not be affected.

Traces attached.

Best Regards,

Vladimir

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: