at java.nio.charset.CoderResult.throwException(CoderResult.java:277)
at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:801)
at com.test.apps.HttpTunnelingProxy.attemptUncoupledRead(HTTPTunnelingProxy.java:212)
at com.test.apps.HttpTunnelingProxy.run(HTTPTunnelingProxy.java:148)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Error occurs from
String readString = decoder.decode(buffer).toString();