[xSocket-develop] java.lang.ExceptionInInitializerError
Status: Inactive
Brought to you by:
grro
|
From: Andrew <and...@gm...> - 2009-02-05 15:47:52
|
Hello, I'm trying to start example from /http://xlightweb.sourceforge.net/core/tutorial/V2/TutorialCore.htm /but get an exception in the line /IHttpClientEndpoint client = new HttpClient(); /: java.lang.ExceptionInInitializerError at org.xlightweb.RequestHandlerChain.computePath(RequestHandlerChain.java:214) at org.xlightweb.RequestHandlerChain.addFirst(RequestHandlerChain.java:134) at org.xlightweb.client.HttpClient.resetChain(HttpClient.java:392) at org.xlightweb.client.HttpClient.<init>(HttpClient.java:196) at org.xlightweb.client.HttpClient.<init>(HttpClient.java:147) at demo.DemoApp.init(DemoApp.java:29) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ArrayIndexOutOfBoundsException: 2 at org.xsocket.connection.ConnectionUtils.isSmaller(ConnectionUtils.java:462) at org.xsocket.connection.ConnectionUtils.matchVersion(ConnectionUtils.java:419) at org.xlightweb.HttpUtils.<clinit>(HttpUtils.java:161) ... 8 more I use xSocket-2.4.1.jar, xSocket-multiplexed-2.1.2.jar and xlightweb-2.4.jar from xSocket download page. Is this a bug or I do something wrong? Thanks |