[Freeswitch-users] Java_ESL_Client - unhandled exception caught
Vedran Zeljeznak
vedran.zeljeznak at gmail.com
Thu Oct 14 02:28:00 PDT 2010
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
More information about the FreeSWITCH-users
mailing list