Code Spotter created MEECROWAVE-34:
--------------------------------------
Summary: meecrowave pidfile option fails with NPE
Key: MEECROWAVE-34
URL: https://issues.apache.org/jira/browse/MEECROWAVE-34
Project: Meecrowave
Issue Type: Bug
Affects Versions: 0.3.1
Environment: win10, jdk1.8.0_u131
Reporter: Code Spotter
{code}
meecrowave>java -jar
meecrowave-core\target\meecrowave-core-0.3.2-SNAPSHOT-runner.jar --http 8090
--pid-file lala.pid
[16:33:29.625][←[32mINFO ←[m][ main][oyote.http11.Http11NioProtocol]
Initializing ProtocolHandler ["http-nio-8090"]
[16:33:29.671][←[32mINFO ←[m][ main][omcat.util.net.NioSelectorPool]
Using a shared selector for servlet write/read
[16:33:29.671][←[32mINFO ←[m][ main][.catalina.core.StandardService]
Starting service [Tomcat]
[16:33:29.687][←[32mINFO ←[m][ main][e.catalina.core.StandardEngine]
Starting Servlet Engine: Apache Tomcat/9.0.0.M21
[16:33:29.687][←[32mINFO ←[m][ main][oyote.http11.Http11NioProtocol]
Starting ProtocolHandler ["http-nio-8090"]
[16:33:29.687][←[32mINFO ←[m][ main][oyote.http11.Http11NioProtocol]
Pausing ProtocolHandler ["http-nio-8090"]
[16:33:29.750][←[32mINFO ←[m][ main][.catalina.core.StandardService]
Stopping service [Tomcat]
[16:33:29.750][←[32mINFO ←[m][ main][oyote.http11.Http11NioProtocol]
Stopping ProtocolHandler ["http-nio-8090"]
[16:33:29.765][←[32mINFO ←[m][ main][oyote.http11.Http11NioProtocol]
Destroying ProtocolHandler ["http-nio-8090"]
Exception in thread "main" java.lang.NullPointerException
at org.apache.meecrowave.Meecrowave.lambda$start$21(Meecrowave.java:606)
at java.util.Optional.ifPresent(Optional.java:159)
at org.apache.meecrowave.Meecrowave.start(Meecrowave.java:605)
at org.apache.meecrowave.runner.Cli.run(Cli.java:69)
at org.apache.meecrowave.runner.Cli.main(Cli.java:84)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)