-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Red Hat Enterprise Linux Server release 6.2 (Santiago), Java 1.6.0_25-b06, Jenkins 1.528, Jenkins IRC Plugin 2.23, Jenkins instant-messaging plugin 1.27
Jenkins terminates due to an exception in the IRC code. I don't know how the exception is triggered or why, but I'm sure that a failure to echo something to an IRC channel isn't a terribly good reason to to shut down jenkins itself.
Here's the relevant log snippets:
Exception in thread "bot1-output" Aug 20, 2013 7:33:13 AM winstone.Logger logInternal
INFO: JVM is terminating. Shutting down Winstone
java.lang.RuntimeException: Exception encountered when writing to socket
at org.pircbotx.OutputThread.sendRawLineNow(OutputThread.java:70)
at org.pircbotx.OutputThread.run(OutputThread.java:104)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
at sun.nio.cs.StreamEncoder.flush(Unknown Source)
at java.io.OutputStreamWriter.flush(Unknown Source)
at java.io.BufferedWriter.flush(Unknown Source)
at org.pircbotx.OutputThread.sendRawLineNow(OutputThread.java:66)
... 1 more
That seems unlikely to me. The log looks more like the PIRC exception is caused by Jenkins shutting down and not the other way round.
Can you post more of the log?