-
Bug
-
Resolution: Fixed
-
Critical
-
Jenkins 2.102
OpenJDK 1.8.0_151
Amazon Linux
I have Jenkins 2.101 running perfectly well. When yum upgrades to 2.102 it fails to start with a "java.nio.charset.MalformedInputException: Input length = 1" error.
I can downgrade back to 101 and it starts fine.
I'd guess at something in a config file somewhere it doesn't like, but 101 is happy with it, and it isn't telling me which config file. We're unlikely to be using any international characters beyond ASCII, but we could be, somewhere...
(I've included the error messages about slaves but I expect they're just a consequence of the main app failing to start. It does run a web server, and I can get the same error about charset in my browser, framed by a normal Jenkins page.)
Jenkins home directory: /var/lib/jenkins found at: SystemProperties.getProperty("JENKINS_HOME") Jan 21, 2018 12:43:40 PM org.eclipse.jetty.server.handler.ContextHandler doStart INFO: Started w.@798162bc{/,file:///var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war} Jan 21, 2018 12:43:40 PM org.eclipse.jetty.server.AbstractConnector doStart INFO: Started ServerConnector@13526e59{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} Jan 21, 2018 12:43:40 PM org.eclipse.jetty.server.Server doStart INFO: Started @2973ms Jan 21, 2018 12:43:40 PM winstone.Logger logInternal INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled Jan 21, 2018 12:43:40 PM hudson.util.BootFailure publish SEVERE: Failed to initialize Jenkins hudson.util.HudsonFailedToLoad: java.nio.charset.MalformedInputException: Input length = 1 at hudson.WebAppMain$3.run(WebAppMain.java:250) Caused by: java.nio.charset.MalformedInputException: Input length = 1 at java.nio.charset.CoderResult.throwException(CoderResult.java:281) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:161) at java.io.BufferedReader.readLine(BufferedReader.java:324) at java.io.BufferedReader.readLine(BufferedReader.java:389) at hudson.util.TextFile.read(TextFile.java:76) at hudson.util.TextFile.readTrim(TextFile.java:204) at jenkins.model.Jenkins.<init>(Jenkins.java:869) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:233) Jan 21, 2018 12:43:40 PM jenkins.model.Jenkins cleanUp INFO: Stopping Jenkins Jan 21, 2018 12:43:40 PM jenkins.model.Jenkins$19 onAttained INFO: Started termination Jan 21, 2018 12:43:40 PM jenkins.model.Jenkins$19 onTaskFailed SEVERE: Failed IOHubProvider.cleanUp java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.IOHubProvider at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at jenkins.model.Jenkins$18.execute(Jenkins.java:3274) at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128) at jenkins.model.Jenkins$18.execute(Jenkins.java:3274) at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:263) at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3271) at jenkins.model.Jenkins.cleanUp(Jenkins.java:3192) at hudson.WebAppMain$3.run(WebAppMain.java:254) Jan 21, 2018 12:43:40 PM jenkins.model.Jenkins$19 onTaskFailed SEVERE: Failed NioChannelSelector.cleanUp java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.NioChannelSelector at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at jenkins.model.Jenkins$18.execute(Jenkins.java:3274) at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128) at jenkins.model.Jenkins$18.execute(Jenkins.java:3274) at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:263) at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3271) at jenkins.model.Jenkins.cleanUp(Jenkins.java:3192) at hudson.WebAppMain$3.run(WebAppMain.java:254) Jan 21, 2018 12:43:40 PM jenkins.model.Jenkins$19 onAttained INFO: Completed termination Jan 21, 2018 12:43:40 PM jenkins.model.Jenkins _cleanUpDisconnectComputers INFO: Starting node disconnection Jan 21, 2018 12:43:40 PM jenkins.model.Jenkins _cleanUpPersistQueue INFO: Persisting build queue Jan 21, 2018 12:43:41 PM jenkins.model.Jenkins cleanUp INFO: Jenkins stopped
- relates to
-
JENKINS-49112 Get more information of 'java.nio.charset.UnmappableCharacterException'
- Resolved
- links to