Wildfire 3 + non-blocking connections -> NPE

After a successful update from 3 beta to 3.0 i’'ve also tried out the new non-blocking connections support.

-client2server works

-component2server doesn’'t work

-server2server doesn’'t work

following error was in the error.log:

2006.06.30 11:32:43 org.jivesoftware.wildfire.component.ComponentSession.createSession(ComponentSess ion.java:189) An error occured while creating a ComponentSession

java.lang.NullPointerException

at org.jivesoftware.wildfire.component.ComponentSession.createSession(ComponentSes sion.java:160)

at org.jivesoftware.wildfire.net.ComponentSocketReader.createSession(ComponentSock etReader.java:116)

at org.jivesoftware.wildfire.net.SocketReader.createSession(SocketReader.java:466)

at org.jivesoftware.wildfire.net.NonBlockingReadingMode$StreamReader.readStream(No nBlockingReadingMode.java:233)

at org.jivesoftware.wildfire.net.NonBlockingReadingMode$StreamReader.run(NonBlocki ngReadingMode.java:187)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

I know it is experimental code, and this was just a test

Hey DNA,

Thanks for the bug report. That is the same type of problem I observed while testing non-blocking connections. For a future version we are planning to use a NIO framework that hopefully will solve this type of problems.

Regards,

– Gato