[Asterisk-java-users] ERROR: Unable to invoke method XXX on listener
Brought to you by:
srt
From: Alex <ab...@ga...> - 2005-12-20 21:47:59
|
Hi Stefan: I'm facing an error in which the EventListenerList.fireEvent method is throwing an exception with the following message: "Unable to invoke method onRing on listener" The strange fact is that the application works fine in Windows (where I develop), but doesn't work in Linux (Debian 2.4.27 server). From the source code I see that this could be caused by an IllegalAccessException or an InvocationTargetException, but I don't know which one is, because the two of them have the same error message. The invocation of that method is in this line: callListeners.fireEvent(CallListener.class, "onRing", new AsteriskCallEvent(begin, channel, uniqueId, callerId, state, extension)); Do you have an idea of what could be causing this problem? Thanks in advance, Alex |