muthesius/WebSocketP5 — Issue #3: validateHeaderValue problem
Author: patrickpxp
Created: 2011-11-17 15:47:28+00:00
State: open

hello,
I'd love to use this with "Synapse for Kinect"!
But I'm getting an error (see the end) with the Processing library I got here "http://p5.twelvebytes.net/websocketP5-0.1.3/download/websocketP5-0.1.3.zip"
I've tried both on Safari 5.1.1 and Chrome(15.0.874.121 m) on Mac OS X Lion and I get the same error.
(also tried on Windows 7, same error)

java.lang.NullPointerException: value
at org.webbitserver.dependencies.org.jboss.netty.handler.codec.http.HttpCodecUtil.validateHeaderValue(HttpCodecUtil.java:102)
at org.webbitserver.dependencies.org.jboss.netty.handler.codec.http.HttpHeaders.addHeader(HttpHeaders.java:797)
at org.webbitserver.dependencies.org.jboss.netty.handler.codec.http.DefaultHttpMessage.addHeader(DefaultHttpMessage.java:49)
at org.webbitserver.netty.NettyWebSocketChannelHandler.upgradeResponseHixie75(NettyWebSocketChannelHandler.java:208)
at org.webbitserver.netty.NettyWebSocketChannelHandler.prepareConnection(NettyWebSocketChannelHandler.java:90)
at org.webbitserver.netty.NettyWebSocketChannelHandler.(NettyWebSocketChannelHandler.java:65)
at org.webbitserver.netty.NettyHttpControl.upgradeToWebSocketConnection(NettyHttpControl.java:79)
at org.webbitserver.netty.NettyHttpControl.upgradeToWebSocketConnection(NettyHttpControl.java:10)
at org.webbitserver.handler.HttpToWebSocketHandler.handleHttpRequest(HttpToWebSocketHandler.java:18)
at org.webbitserver.handler.PathMatchHandler.handleHttpRequest(PathMatchHandler.java:31)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:67)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:51)
at org.webbitserver.handler.ServerHeaderHandler.handleHttpRequest(ServerHeaderHandler.java:25)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:67)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:56)
at org.webbitserver.netty.NettyHttpChannelHandler$1.run(NettyHttpChannelHandler.java:64)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
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:662)