activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Posta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-220) Websocket example is not working
Date Thu, 12 Jul 2012 17:54:34 GMT

    [ https://issues.apache.org/jira/browse/APLO-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413001#comment-13413001
] 

Christian Posta commented on APLO-220:
--------------------------------------

With DEBUG enabled, I see this stack trace... looking into it...

2012-07-12 13:45:59,520 | WARN  | java.lang.NullPointerException | org.apache.activemq.apollo.broker.Broker
| hawtdispatch-DEFAULT-2
2012-07-12 13:45:59,520 | DEBUG | java.lang.NullPointerException | org.apache.activemq.apollo.broker.Broker
| hawtdispatch-DEFAULT-2
java.lang.NullPointerException
        at org.apache.activemq.apollo.broker.protocol.AnyProtocolCodec$$anonfun$read$1.apply(AnyProtocol.scala:115)
        at org.apache.activemq.apollo.broker.protocol.AnyProtocolCodec$$anonfun$read$1.apply(AnyProtocol.scala:112)
        at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
        at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:38)
        at org.apache.activemq.apollo.broker.protocol.AnyProtocolCodec.read(AnyProtocol.scala:112)
        at org.apache.activemq.apollo.broker.jetty.WebSocketTransportFactory$WebSocketTransport.drain_inbound(WebSocketTransportFactory.scala:395)
        at org.apache.activemq.apollo.broker.jetty.WebSocketTransportFactory$WebSocketTransport$$anonfun$onMessage$1.apply$mcV$sp(WebSocketTransportFactory.scala:326)
        at org.fusesource.hawtdispatch.package$$anon$3.run(hawtdispatch.scala:357)
        at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:96)
        at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:96)
        at org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77)
2012-07-12 13:46:02,962 | DEBUG | close SCEP@42145315{l(/0:0:0:0:0:0:0:1%0:57909)<->r(/0:0:0:0:0:0:0:1%0:61623),d=false,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{WebSocketServletConnectionD00@1c341b90}
| org.eclipse.jetty.io.nio.ChannelEndPoint | Apollo Task
2012-07-12 13:46:02,962 | DEBUG | destroyEndPoint SCEP@42145315{l(null)<->r(/0:0:0:0:0:0:0:1%0:61623),d=false,open=false,ishut=true,oshut=true,rb=false,wb=false,w=true,i=1!}-{WebSocketServletConnectionD00@1c341b90}
| org.eclipse.jetty.io.nio | Apollo Task Selector0
                
> Websocket example is not working
> --------------------------------
>
>                 Key: APLO-220
>                 URL: https://issues.apache.org/jira/browse/APLO-220
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: mac os x
> tested on safari Version 5.1.7 (7534.57.2)
> and chrome Version 20.0.1132.47 beta
>            Reporter: Jeff Mesnil
>
> the websocket example from Apollo 1.3 is not working.
> I created a broker and opened the examples/websocket/ example.
> On the web browser , the debug log displays: 
> Opening Web Socket...
> Web Socket Opened...
> >>> CONNECT
> login:admin
> passcode:password
> Whoops! Lost connection to ws://localhost:61623
> Looking at apollo console, I see that a NPE occured:
> WARN  | java.lang.NullPointerException
> but there is not a lot more information in the apollo.log:
> 2012-07-08 18:03:09,437 | WARN  | java.lang.NullPointerException | org.apache.activemq.apollo.broker.Broker
| hawtdispatch-DEFAULT-1
> fwiw, last time I checked apollo when I was working on stomp-websocket (for APLO-199),
the example was running fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message