AnsweredAssumed Answered

Not able to read a streaming service

Question asked by moaiem0a@aramco.com on Jul 11, 2018
Latest reply on Jul 16, 2019 by William.Stafford@edmontonpolice.ca

I created a streaming service which reads from a feature layer. Input/output/GeoEvent Process were all created and I can see they are updating in Monitoring tab.

 

the issue is when I try to consume this streaming service through portal, I don't see the points. and I got the following error on GeoEvent Manager log (all other logs in portal and AGS are clear)

 

 

 

.servlet.ServletHandler

/arcgis/ws/services/stream-service-out-vesseles-wkid4326/StreamServer/subscribe java.lang.NullPointerException at com.esri.arcgis.discovery.stream.StreamServlet.authenticateFederated(StreamServlet.java:398) [24:com.esri.arcgis.discovery.arcgis-stream-container:10.6.0] at com.esri.arcgis.discovery.stream.StreamServlet.checkSecurity(StreamServlet.java:433) [24:com.esri.arcgis.discovery.arcgis-stream-container:10.6.0] at com.esri.arcgis.discovery.stream.StreamServlet.getStreamServiceByFolderAndServiceName(StreamServlet.java:862) [24:com.esri.arcgis.discovery.arcgis-stream-container:10.6.0] at com.esri.arcgis.discovery.stream.StreamServlet.getStreamServiceFromURL(StreamServlet.java:291) [24:com.esri.arcgis.discovery.arcgis-stream-container:10.6.0] at com.esri.arcgis.discovery.stream.StreamSocketCreator.createWebSocket(StreamSocketCreator.java:44) [24:com.esri.arcgis.discovery.arcgis-stream-container:10.6.0] at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:187) [414:org.eclipse.jetty.websocket.server:9.3.14.v20161028] at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:172) [414:org.eclipse.jetty.websocket.server:9.3.14.v20161028] at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:155) [415:org.eclipse.jetty.websocket.servlet:9.3.14.v20161028] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [226:javax.servlet-api:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [404:org.eclipse.jetty.servlet:9.3.14.v20161028] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) [404:org.eclipse.jetty.servlet:9.3.14.v20161028] at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:72) [435:org.ops4j.pax.web.pax-web-jetty:6.0.3] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [401:org.eclipse.jetty.security:9.3.14.v20161028] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) [435:org.ops4j.pax.web.pax-web-jetty:6.0.3] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [404:org.eclipse.jetty.servlet:9.3.14.v20161028] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [435:org.ops4j.pax.web.pax-web-jetty:6.0.3] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.eclipse.jetty.server.Server.handle(Server.java:534) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [403:org.eclipse.jetty.server:9.3.14.v20161028] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [395:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [395:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:202) [395:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [395:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [395:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [395:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [406:org.eclipse.jetty.util:9.3.14.v20161028] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [406:org.eclipse.jetty.util:9.3.14.v20161028] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [406:org.eclipse.jetty.util:9.3.14.v20161028] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [406:org.eclipse.jetty.util:9.3.14.v20161028] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [406:org.eclipse.jetty.util:9.3.14.v20161028] at java.lang.Thread.run(Thread.java:748) [?:?]

 

 

 

 

 

I tried to figure out the cause of the issue but no luck, any help is appreciated 

Outcomes