Hey, i finally found my problem in a commit [0]. Version differences... I developed a solution suggestion [1]. Further discussion on github are welcome.
Cheers, Philippe [0] https://github.com/eclipse/sumo/commit/5dee0724d99683b7bdbcb9800a24a433deb1cd5f#diff-d57f2ead2c9812e76750c671e15beaef7b828d3915e68213faab7078e177ea90 [1] https://github.com/eclipse/sumo/issues/8065 Am Fr. 23. April 2021 14:16 CEST, schrieb Käufer, Philippe <phili...@pilarkto.net>: Hey, First of all: Thanks a lot to all of you for your great work in the sumo project. I appreciate it every time when working with SUMO. In my master thesis, I want to evaluate different scenarios for emergency vehicles with car2x communication. The emergency vehicle should communicate with traffic lights. For that, I want to use a LISA traffic light definition of the local transport authorities. Therefore, I follow the wiki [0] and hustled a week to get all run J Finally gui is back running [1] and communication between SUMO (tried Version 1.9 and 1.1) <-> LiSuM (1.1 from sumo Master Branch [2]) <-> Virtual LISA+ TLS Controller (from here [3]) is generally running. When starting the SUMO Project via LiSuM gui the OmlFgServer are showing some exceptions [Logs-0]. In both example projects [3] the traffic light is switching to blue/off in simulation step 1 and stays there forever. As described in [4] page 148: In LiSuM Log [Logs-1] and [Logs-2] the respond of signal states are all always “0”. Originally, it seems that the example projects worked in [5]. Does anybody of you have a example where the traffic lights are working or any hints where to investigate next? Cheers, Philippe [0] https://sumo.dlr.de/docs/Tools/LiSuM.html [1] https://github.com/eclipse/sumo/pull/8542 [2] https://github.com/eclipse/sumo/tree/master/tools/contributed/lisum [3] https://github.com/maxidigital/LisumExamples.git [4] https://www.dlr.de/ts/Portaldata/16/Resources/projekte/sumo/Proceedings_SUMO2017.pdf [5] https://elib.dlr.de/112830/ [Logs-0]: OmlFgServer: Apr 23, 2021 1:02:37 PM org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage INFORMATION: Invoking POST on /getObjectList Apr 23, 2021 1:06:06 PM org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage INFORMATION: Invoking POST on /getObjectList Apr 23, 2021 1:03:15 PM org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage INFORMATION: Invoking POST on /getObjectList Apr 23, 2021 1:06:12 PM org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor handleMessage INFORMATION: URIParameterInterceptor handle message on path [/getObjectList] with content-type [text/plain; charset=UTF-8] Apr 23, 2021 1:06:12 PM org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor handleMessage INFORMATION: URIParameterInterceptor handle message on path [/getObjectList] with content-type [text/plain; charset=UTF-8] Apr 23, 2021 1:06:12 PM org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor handleMessage INFORMATION: URIParameterInterceptor handle message on path [/getObjectList] with content-type [text/plain; charset=UTF-8] 2021-04-23 13:06:12,454 DEBUG [btpool0-3] (?:?) - Executing getObjectList 2021-04-23 13:06:12,454 DEBUG [btpool0-1] (?:?) - Executing getObjectList 2021-04-23 13:06:12,454 DEBUG [btpool0-2] (?:?) - Executing getObjectList 2021-04-23 13:06:12,487 ERROR [btpool0-2] (?:?) - java.lang.NullPointerException java.lang.NullPointerException at oml.plus.C.V.A(Unknown Source) at oml.plus.C.V.setObjs(Unknown Source) at oml.plus.B.G.A(Unknown Source) at oml.plus.B.G.A(Unknown Source) Apr 23, 2021 1:06:12 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFORMATION: Application has thrown exception, unwinding now: de.schlothauer.omtc.services.GetObjsFaultMsg: java.lang.NullPointerException Apr 23, 2021 1:06:12 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFORMATION: Application has thrown exception, unwinding now: org.mortbay.jetty.EofException: Could not send Message. Apr 23, 2021 1:06:12 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFORMATION: Interceptor has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221) at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:278) at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:252) at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: org.mortbay.jetty.EofException at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:760) at org.mortbay.jetty.HttpGenerator.complete(HttpGenerator.java:646) at org.mortbay.jetty.HttpConnection.commitResponse(HttpConnection.java:583) at org.mortbay.jetty.HttpConnection$Output.close(HttpConnection.java:894) at org.apache.cxf.transport.http.AbstractHTTPDestination$WrappedOutputStream.close(AbstractHTTPDestination.java:517) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) ... 19 more Caused by: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen at sun.nio.ch.SocketDispatcher.writev0(Native Method) at sun.nio.ch.SocketDispatcher.writev(Unknown Source) at sun.nio.ch.IOUtil.write(Unknown Source) at sun.nio.ch.SocketChannelImpl.write(Unknown Source) at java.nio.channels.SocketChannel.write(Unknown Source) at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:229) at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:197) at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:682) ... 25 more Apr 23, 2021 1:06:12 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept INFORMATION: Interceptor has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: XML_WRITE_EXC at org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor.handleMessage(XMLFaultOutInterceptor.java:82) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221) at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:278) at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:252) at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: javax.xml.stream.XMLStreamException: Trying to output second root, <ns1:XMLFault> at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1473) at com.ctc.wstx.sw.BaseStreamWriter.throwOutputError(BaseStreamWriter.java:1480) at com.ctc.wstx.sw.BaseStreamWriter.reportNwfStructure(BaseStreamWriter.java:1508) at com.ctc.wstx.sw.BaseNsStreamWriter.checkStartElement(BaseNsStreamWriter.java:444) at com.ctc.wstx.sw.SimpleNsStreamWriter.writeStartOrEmpty(SimpleNsStreamWriter.java:260) at com.ctc.wstx.sw.BaseNsStreamWriter.writeStartElement(BaseNsStreamWriter.java:319) at org.apache.cxf.staxutils.StaxUtils.writeStartElement(StaxUtils.java:224) at org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor.handleMessage(XMLFaultOutInterceptor.java:61) ... 21 more Apr 23, 2021 1:06:12 PM org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage INFORMATION: Invoking POST on /setDataDir Apr 23, 2021 1:06:12 PM org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor handleMessage [Logs-1]: LiSuM Log: 20210423 13:06:43.102 | [LisaControlUnits] Executing on Control Unit: ZNr 1 FNr 1 SignalGruppe{name=K1 color=OFF}, SignalGruppe{name=K2 color=OFF}, SignalGruppe{name=K3 color=OFF}, SignalGruppe{name=KRi2 color=OFF}, 20210423 13:06:43.102 | [LisaCommands] Sending requesto to Lisa: <Message xmlns="http://www.schlothauer.de/omtc/services"><Msg>1 1 60 0:1{"Run"}{1;0;0;0;1;11;1;2;1;1;0}{}{}{}{}</Msg></Message> 20210423 13:06:43.109 | [LisaCommands] Lisa responds: 200 | <ns2:putMessageResponse xmlns:ns2="http://www.schlothauer.de/services/PDCallback" xmlns="http://www.schlothauer.de/omtc/services">1:{2.0}{0;1;1;0;4;0;1;1;1;1}{0/0/0/0}{}{}{}</ns2:putMessageResponse> 20210423 13:07:59.249 | [LisaControlUnits] Executing on Control Unit: ZNr 1 FNr 1 SignalGruppe{name=K1 color=OFF}, SignalGruppe{name=K2 color=OFF}, SignalGruppe{name=K3 color=OFF}, SignalGruppe{name=KRi2 color=OFF}, [Logs-2]: OmlFgServer: INFORMATION: Invoking POST on /putMessage Apr 23, 2021 1:06:43 PM org.apache.cxf.binding.http.interceptor.URIParameterInInterceptor handleMessage INFORMATION: URIParameterInterceptor handle message on path [/putMessage] with content-type [text/plain; charset=UTF-8] 2021-04-23 13:06:43,108 DEBUG [btpool0-1] (?:?) - Executing putMessage(1,90 ms) Request: 1 1 60 0:1{"Run"}{1;0;0;0;1;11;1;2;1;1;0}{}{}{}{} Response: 1:{2.0}{0;1;1;0;4;0;1;1;1;1}{0/0/0/0}{}{}{} Apr 23, 2021 1:07:59 PM org.apache.cxf.binding.http.interceptor.DispatchInterceptor handleMessage
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user