Null pointer when using SSL

38 views
Skip to first unread message

Mario Giammarco

unread,
Mar 16, 2012, 7:21:07 PM3/16/12
to hawtdi...@googlegroups.com
Hello,
I am using hawtdispatch indirectly because I am using stompjms.

If I use tcp transport of stompjms all goes well.
If I use ssl transport I got this:

java.lang.NullPointerException
        at org.fusesource.hawtdispatch.transport.SslTransport.transportFlush(SslTransport.java:193)
        at org.fusesource.hawtdispatch.transport.SslTransport.handshake(SslTransport.java:303)
        at org.fusesource.hawtdispatch.transport.SslTransport.onConnected(SslTransport.java:155)
        at org.fusesource.hawtdispatch.transport.TcpTransport$2.run(TcpTransport.java:403)
        at org.fusesource.hawtdispatch.internal.NioDispatchSource$3.run(NioDispatchSource.java:226)
        at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:83)
        at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:61)
I do not understand why the byteBuffer is null, infact nobody sets it.

What can I do?
Thanks,
Mario

Hiram Chirino

unread,
Mar 17, 2012, 12:28:12 PM3/17/12
to hawtdi...@googlegroups.com
What version of stompjms are you using?
--

Hiram Chirino

Software Fellow | FuseSource Corp.

chi...@fusesource.com | fusesource.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo




Mario Giammarco

unread,
Mar 17, 2012, 7:28:10 PM3/17/12
to hawtdi...@googlegroups.com
 Version 1.6 from Maven , hawtbuf version 1.8.

Mario Giammarco

unread,
Mar 18, 2012, 7:47:32 AM3/18/12
to hawtdi...@googlegroups.com
Hi,
stompjms 1.6 hawtdispatch 1.6 hawtbuf 1.8 (the latest from maven I hope).


Il giorno sabato 17 marzo 2012 17:28:12 UTC+1, Hiram Chirino ha scritto:
Reply all
Reply to author
Forward
0 new messages