[ https://issues.apache.org/jira/browse/AMQ-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15585442#comment-15585442 ]
Maxence Dunnewind commented on AMQ-6469: ---------------------------------------- Mhh no, by "but basically it seems that stoping wss requests stop this" I mean that if I block wss port in firewall, so that no connections happen, then the NPE dissapear, so it's likely that this NPE is caused by wss (we also use stomp, hence this precision). We've not identified when this issue occurs, and were not able to reproduce it by ourself (we have quiet a lot of traffic). However, it keeps happening quiet often (~ 1 per second). I'm available on IRC (Sp4rKy) if you want some more live debugging. > NPE using wss > ------------- > > Key: AMQ-6469 > URL: https://issues.apache.org/jira/browse/AMQ-6469 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.14.0, 5.14.1 > Environment: Debian Jessie 8.5 > Reporter: Maxence Dunnewind > Attachments: activemq.xml, jetty.xml > > > Enabling wss on activemq generates lot of NPE exceptions. Tested in 5.14.0 > and 5.14.1 , both produce same result : > {quote} > 2016-10-17 17:19:14,041 | WARN | /stomp | > org.eclipse.jetty.servlet.ServletHandler | qtp1200906406-405501 > java.lang.NullPointerException > at > org.apache.activemq.transport.ws.jetty9.WSServlet.doGet(WSServlet.java:88)[activemq-http-5.14.1.jar:5.14.1] > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[tomcat-servlet-api-8.0.24.jar:] > at > org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:167)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[tomcat-servlet-api-8.0.24.jar:] > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1129)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.server.Server.handle(Server.java:499)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730] > at java.lang.Thread.run(Thread.java:745)[:1.8.0_66] > {quote} > Config file attached, but basically it seems that stoping wss requests stop > this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)