You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/03/25 14:49:00 UTC
[jira] [Resolved] (NIFI-1278) Spurious error in logs on startup / shutdown
[ https://issues.apache.org/jira/browse/NIFI-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann resolved NIFI-1278.
------------------------------------
Resolution: Cannot Reproduce
> Spurious error in logs on startup / shutdown
> --------------------------------------------
>
> Key: NIFI-1278
> URL: https://issues.apache.org/jira/browse/NIFI-1278
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.4.0
> Environment: OS X 10.8.5, jdk1.7.0_51
> Reporter: Sean Busbey
> Priority: Major
> Labels: 0.4.0_RC2
> Attachments: 0.4.0-rc2-first-run-logs.zip
>
>
> When I start NiFi 0.4.0 nifi-app.log claims things failed
> {code}
> 2015-12-11 02:12:57,605 INFO [main] org.eclipse.jetty.server.ServerConnector Started ServerConnector@a873882{HTTP/1.1}{0.0.0.0:8080}
> 2015-12-11 02:12:57,605 INFO [main] org.eclipse.jetty.server.Server Started @27201ms
> 2015-12-11 02:12:58,785 INFO [main] org.apache.nifi.web.server.JettyServer NiFi has started. The UI is available at the following URLs:
> 2015-12-11 02:12:58,785 INFO [main] org.apache.nifi.web.server.JettyServer http://172.16.0.136:8080/nifi
> 2015-12-11 02:12:58,785 INFO [main] org.apache.nifi.web.server.JettyServer http://172.18.13.132:8080/nifi
> 2015-12-11 02:12:58,785 INFO [main] org.apache.nifi.web.server.JettyServer http://127.0.0.1:8080/nifi
> 2015-12-11 02:12:58,791 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.net.SocketException: Invalid argument
> java.net.SocketException: Invalid argument
> at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.7.0_51]
> at java.net.SocketInputStream.read(SocketInputStream.java:152) ~[na:1.7.0_51]
> at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[na:1.7.0_51]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) ~[na:1.7.0_51]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) ~[na:1.7.0_51]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) ~[na:1.7.0_51]
> at java.io.InputStreamReader.read(InputStreamReader.java:184) ~[na:1.7.0_51]
> at java.io.BufferedReader.fill(BufferedReader.java:154) ~[na:1.7.0_51]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) ~[na:1.7.0_51]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) ~[na:1.7.0_51]
> at org.apache.nifi.BootstrapListener.sendCommand(BootstrapListener.java:118) ~[nifi-runtime-0.4.0.jar:0.4.0]
> at org.apache.nifi.BootstrapListener.sendStartedStatus(BootstrapListener.java:94) ~[nifi-runtime-0.4.0.jar:0.4.0]
> at org.apache.nifi.NiFi.<init>(NiFi.java:140) ~[nifi-runtime-0.4.0.jar:0.4.0]
> at org.apache.nifi.NiFi.main(NiFi.java:227) ~[nifi-runtime-0.4.0.jar:0.4.0]
> {code}
> Going to the posted URL shows me the normal NiFi GUI, and things appear to work AFAICT.
> The same kind of error appears at the end of the log once I issue {{./bin/nifi.sh stop}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)