Re: [xSocket-develop] java.lang.ExceptionInInitializerError
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2009-02-05 16:07:26
|
Hi Andrew, xLightweb 2.4 does not work with xSocket-2.4.x (I fixed the the requirement section in the download page) . xLightweb 2.4 requires 2.3.x. The next Version xLightweb 2.5 which is based on xSocket-2.4.x will be released next week. Gregor 2009/2/5 Andrew <and...@gm...> > 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 > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications today- > http://p.sf.net/sfu/adobe-com > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |