[Freeswitch-users] Java_ESL_Client - unhandled exception caught

david varnes david.varnes at gmail.com
Thu Oct 14 16:17:32 PDT 2010


Vedran,
Thanks for reporting the issue.  As you can see from the stack trace
this is just a call to the regular java URL decoder.  Can you capture
the content of the event or message that is causing this to fail ?

Or at the least what the cause event is so that I can determine if
it is still a problem on trunk ?

thanks
davidv

On 14 October 2010 20:28, Vedran Zeljeznak <vedran.zeljeznak at gmail.com> wrote:
> hello,
>
> i've found a bug in Java_ESL_Client and the info on the website
> (http://wiki.freeswitch.org/wiki/Java_ESL_Client#Issues) said it
> should be reported here so i'm sending it.
>
> It looks like sometimes FS sends malformed URL encoded values through
> Event Socket, probably because value is not properly terminated
> (probably on my version of FS only - FreeSWITCH Version 1.0.6
> (hacked-20100420T130612Z) - official version).
>
> exception trace follows:
>
> #### TRACE / LOG info
> 14.10.2010. 11:16:29 org.jboss.netty.channel.SimpleChannelUpstreamHandler
> WARNING: EXCEPTION, please implement
> org.freeswitch.esl.client.inbound.InboundClientHandler.exceptionCaught()
> for proper handling.
> java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters
> in escape (%) pattern - For input string: "\5"
>        at java.net.URLDecoder.decode(URLDecoder.java:173)
>        at org.freeswitch.esl.client.transport.event.EslEvent.parsePlainBody(EslEvent.java:187)
>        at org.freeswitch.esl.client.transport.event.EslEvent.<init>(EslEvent.java:73)
>        at org.freeswitch.esl.client.transport.event.EslEvent.<init>(EslEvent.java:62)
>        at org.freeswitch.esl.client.internal.AbstractEslClientHandler.messageReceived(AbstractEslClientHandler.java:80)
>        at org.freeswitch.esl.client.internal.debug.ChannelEventRunnable.run(ChannelEventRunnable.java:76)
>        at org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor$MemoryAwareRunnable.run(MemoryAwareThreadPoolExecutor.java:541)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
> #### TRACE / LOG info
>
>
> ---
> Vedran Zeljeznak
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
david varnes

e: david.varnes at gmail.com
p: +61 404 925 633



More information about the FreeSWITCH-users mailing list