[JIRA] (JENKINS-49630) Unable to view configuration of some projects after upgrade to 2.107

382 views
Skip to first unread message

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 10:51:03 AM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers created an issue
 
Jenkins / Bug JENKINS-49630
Unable to view configuration of some projects after upgrade to 2.107
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2018-02-19 15:50
Environment: Centos 7 Java 8
Priority: Major Major
Reporter: Ralph Goers

I upgraded Jenkins to 2.107 yesterday and upgraded all the plugins to their latest version. After that some of our jobs can no longer be configured. The page just shows "Loading" with a blinking icon. In addition, the chrome developer tool shows 

hudson-behavior.js:424 Uncaught TypeError: Cannot read property 'firstChild' of undefined
at registerValidator (hudson-behavior.js:424)
at Array.forEach (<anonymous>)
at behavior.js:111
at Array.forEach (<anonymous>)
at behavior.js:107
at Array.forEach (<anonymous>)
at Object.applySubtree (behavior.js:93)
at select.js:269
registerValidator @ hudson-behavior.js:424
(anonymous) @ behavior.js:111
(anonymous) @ behavior.js:107
applySubtree @ behavior.js:93
(anonymous) @ select.js:269
setTimeout (async)
(anonymous) @ select.js:263

I am also seeing errors in the logs which may or may not be related.

Caught exception evaluating: preloader.stateJson in /jenkins/blue/organizations/jenkins/js-modules/dashboard-ui/detail/PR-1/19/. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException at io.jenkins.blueocean.preload.PipelineActivityStatePreloader.getFetchData(PipelineActivityStatePreloader.java:67) at io.jenkins.blueocean.commons.RESTFetchPreloader.getStateJson(RESTFetchPreloader.java:64) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1738.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:140) at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:30) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:686) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 19, 2018, 10:54:02 AM2/19/18
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: blueocean-plugin
Component/s: core

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 19, 2018, 10:55:02 AM2/19/18
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

Looks like a BlueOcean issue. NullPointerException is always a bug IMO.

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 19, 2018, 10:55:02 AM2/19/18
to jenkinsc...@googlegroups.com

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 10:58:02 AM2/19/18
to jenkinsc...@googlegroups.com

I am also seeing

JENKINS-45892: reference to hudson.maven.MavenModuleSet@6b5ca68a[NotificationService_DryRun] being saved from unexpected /opt/jenkins/.jenkins/jobs/NotificationService_DryRun/builds/477/build.xml java.lang.IllegalStateException at hudson.XmlFile.replaceIfNotAtTopLevel(XmlFile.java:222) at hudson.model.AbstractItem.writeReplace(AbstractItem.java:492) at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteReplace(SerializationMethodInvoker.java:89) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:141) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) at hudson.XmlFile.write(XmlFile.java:193) at hudson.model.Run.save(Run.java:1923) at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:599) at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:618) at sun.reflect.GeneratedMethodAccessor2298.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.model.Executor$2.call(Executor.java:911) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy138.end(Unknown Source) at sun.reflect.GeneratedMethodAccessor2298.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:927) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:901) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:850) at hudson.remoting.UserRequest.perform(UserRequest.java:210) at hudson.remoting.UserRequest.perform(UserRequest.java:53) at hudson.remoting.Request$2.run(Request.java:364) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:19) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 10:59:03 AM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers edited a comment on Bug JENKINS-49630
I am also seeing the trace below. The strange thing is that I am not trying to edit that configuration, although it is possible someone else might be. 

- JENKINS-45892 - : reference to hudson.maven.MavenModuleSet@6b5ca68a[NotificationService_DryRun] being saved from unexpected /opt/jenkins/.jenkins/jobs/NotificationService_DryRun/builds/477/build.xml java.lang.IllegalStateException at hudson.XmlFile.replaceIfNotAtTopLevel(XmlFile.java:222) at hudson.model.AbstractItem.writeReplace(AbstractItem.java:492) at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteReplace(SerializationMethodInvoker.java:89) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:141) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:209) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:150) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) at hudson.XmlFile.write(XmlFile.java:193) at hudson.model.Run.save(Run.java:1923) at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:599) at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:618) at sun.reflect.GeneratedMethodAccessor2298.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.model.Executor$2.call(Executor.java:911) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy138.end(Unknown Source) at sun.reflect.GeneratedMethodAccessor2298.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:927) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:901) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:850) at hudson.remoting.UserRequest.perform(UserRequest.java:210) at hudson.remoting.UserRequest.perform(UserRequest.java:53) at hudson.remoting.Request$2.run(Request.java:364) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:19) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 19, 2018, 11:00:03 AM2/19/18
to jenkinsc...@googlegroups.com

The second issue is JENKINS-45892, which is fixed in the latest Maven Plugin release

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 11:01:02 AM2/19/18
to jenkinsc...@googlegroups.com

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 11:03:02 AM2/19/18
to jenkinsc...@googlegroups.com

The Maven Integration Plugin?  That is currently at 3.0. I see 3.1 just became available. Is that what I need to upgrade?

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 19, 2018, 11:07:02 AM2/19/18
to jenkinsc...@googlegroups.com

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 11:37:02 AM2/19/18
to jenkinsc...@googlegroups.com

Upgrading the Maven plugin seems to have resolved the second stack trace but I still cannot view the configuration for several jobs. They are still getting the Javascript error I noted above.

kzantow@cloudbees.com (JIRA)

unread,
Feb 19, 2018, 11:44:03 AM2/19/18
to jenkinsc...@googlegroups.com

Just to be clear, you're looking at classic Jenkins, correct? hudson-behavior.js has nothing to do with Blue Ocean.

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 11:48:04 AM2/19/18
to jenkinsc...@googlegroups.com

Yes - this is Jenkins downloaded from your site as a war on Friday.  I am adding as much information as I can here in the hopes that something in the logs is related to what is happening in the UI.

After upgrading the Maven plugin I now notice. I am not sure if this was there previously and I just missed it or if it is new to the restart. 
Feb 19, 2018 9:32:00 AM WARNING hudson.init.impl.InstallUncaughtExceptionHandler lambda$init$0
null org.apache.commons.jelly.JellyTagException: jar:file:/opt/jenkins/apache-tomcat-7.0.65/webapps/jenkins/WEB-INF/lib/jenkins-core-2.107.jar!/hudson/model/View/index.jelly:42:43: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/opt/jenkins/apache-tomcat-7.0.65/webapps/jenkins/WEB-INF/lib/jenkins-core-2.107.jar!/lib/hudson/projectViewRow.jelly:38:17: <st:nbsp> java.net.SocketException: Broken pipe at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:140) at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:30) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:782) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: org.apache.commons.jelly.JellyTagException: jar:file:/opt/jenkins/apache-tomcat-7.0.65/webapps/jenkins/WEB-INF/lib/jenkins-core-2.107.jar!/lib/hudson/projectViewRow.jelly:38:17: <st:nbsp> java.net.SocketException: Broken pipe at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:280) at org.kohsuke.stapler.jelly.groovy.Namespace$ProxyImpl.invoke(Namespace.java:92) at com.sun.proxy.$Proxy106.projectView(Unknown Source) at lib.JenkinsTagLib$projectView$1.call(Unknown Source) at hudson.model.View.main.run(main.groovy:16) at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:74) at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:62) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 105 more Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/opt/jenkins/apache-tomcat-7.0.65/webapps/jenkins/WEB-INF/lib/jenkins-core-2.107.jar!/lib/hudson/projectViewRow.jelly:38:17: <st:nbsp> java.net.SocketException: Broken pipe at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:276) ... 113 more Caused by: org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:407) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:432) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:420) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91) at com.jcraft.jzlib.DeflaterOutputStream.deflate(DeflaterOutputStream.java:144) at com.jcraft.jzlib.DeflaterOutputStream.write(DeflaterOutputStream.java:102) at org.kohsuke.stapler.compression.FilterServletOutputStream.write(FilterServletOutputStream.java:41) at org.kohsuke.stapler.jelly.DefaultScriptInvoker$1.write(DefaultScriptInvoker.java:99) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at java.io.BufferedWriter.flush(BufferedWriter.java:254) at org.dom4j.io.XMLWriter.flush(XMLWriter.java:276) at org.apache.commons.jelly.XMLOutput.flush(XMLOutput.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:271) ... 133 more Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:93) at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192) at org.apache.coyote.Response.doWrite(Response.java:499) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:402) ... 151 more Caused: javax.servlet.ServletException at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:140) at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:30) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:782) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 11:52:02 AM2/19/18
to jenkinsc...@googlegroups.com

Adding links to 2 other issues which seem to be similar.

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 12:07:02 PM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers updated an issue
 
Change By: Ralph Goers
Attachment: image-2018-02-19-10-06-25-260.png

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 12:08:01 PM2/19/18
to jenkinsc...@googlegroups.com
 
Re: Unable to view configuration of some projects after upgrade to 2.107

I have no idea if this will help but here is a screen shot of what I am seeing in the debugger when stopped at the line that fails.

 

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 12:15:06 PM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers edited a comment on Bug JENKINS-49630
I have no idea if this will help but here is a screen shot of what I am seeing in the debugger when stopped Looking further at the line that fails. exception we see

!image Exception
:
TypeError: Cannot read property 'firstChild' of undefined at updateListBox (https://jenkins.nextiva.xyz/jenkins/adjuncts/7c62842d/lib/form/select/select.js:8:67) at https://jenkins.nextiva.xyz/jenkins/adjuncts/7c62842d/lib/form/select/select.js:79:13 at h (https://jenkins.nextiva.xyz/jenkins/static/7c62842d/scripts/hudson
- 2018 behavior.js:1298:9) at refillOnChange (https://jenkins.nextiva.xyz/jenkins/static/7c62842d/scripts/hudson - 02 behavior.js:1313:5) at https://jenkins.nextiva.xyz/jenkins/adjuncts/7c62842d/lib/form/select/select.js:77:9 at Array.forEach (<anonymous>) at https://jenkins.nextiva.xyz/jenkins/static/7c62842d/scripts/behavior.js:111:30 at Array.forEach (<anonymous>) at https://jenkins.nextiva.xyz/jenkins/static/7c62842d/scripts/behavior.js:107:27 at Array.forEach (<anonymous>)
arguments
:
Arguments(3) [select.setting
- 19 input.select.credentials - 10 select, "/jenkins/view/Calendar/job/calendar - 06 dry - 25 run - 260 rev/descriptorByName/bitbucketpullrequestbuilder . png! bitbucketpullrequestbuilder.BitbucketBuildTrigger/fillCredentialsIdItems", F, callee: ƒ, Symbol(Symbol.iterator): ƒ]

 

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 12:49:03 PM2/19/18
to jenkinsc...@googlegroups.com

I created a new Job and selected "Maven Project" as the type. It has the same problem without me configuring anything.

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 1:41:02 PM2/19/18
to jenkinsc...@googlegroups.com

In stepping through the code where the error is occurring I can see it is going through an HTMLCollection that contains a set of div.credentials-select-control objects. I am having some trouble getting any deeper.

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 19, 2018, 1:47:01 PM2/19/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 19, 2018, 1:49:01 PM2/19/18
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

Which version have been using before the upgrade BTW?

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 1:51:03 PM2/19/18
to jenkinsc...@googlegroups.com

We were on 2.76. I am not sure to tell you the versions of all the plugins we were using.

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 2:04:02 PM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers updated an issue
 
Change By: Ralph Goers
Attachment: image-2018-02-19-12-03-57-775.png

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 2:06:02 PM2/19/18
to jenkinsc...@googlegroups.com
 
Re: Unable to view configuration of some projects after upgrade to 2.107

Digging further we see that select.js updateListBox is calling hudson-behavior.js findFollowingTR which is returning undefined, causing the subsequent code to fail.

 

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 2:07:02 PM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers edited a comment on Bug JENKINS-49630
Digging further we see that select.js updateListBox is calling hudson-behavior.js findFollowingTR which is returning undefined, causing the subsequent code to fail.

 

!image-2018-02-19-12- 03 06 - 57 02 - 775 174 .png!

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 2:11:02 PM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers edited a comment on Bug JENKINS-49630
Digging further we see that select.js updateListBox is calling hudson-behavior.js findFollowingTR which is returning undefined, causing the subsequent code to fail.

! See https://issues.jenkins-ci.org/secure/attachment/41529/ image-2018-02-19-12- 06 03 - 02 57 - 174 775 .png !

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 2:17:02 PM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers edited a comment on Bug JENKINS-49630
Digging further we see that select.js updateListBox is calling hudson-behavior.js findFollowingTR which is returning undefined, causing the subsequent code to fail.

See  https://issues.jenkins-ci.org/secure/attachment/41529/ [^ image-2018-02-19-12-03-57-775.png ]

I am also noticing that the number of div.credentials-select-control items seems to vary each time I run it. It will contain anywhere from 4 to 6 items. I have no idea why that would change.

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 19, 2018, 10:43:02 PM2/19/18
to jenkinsc...@googlegroups.com
Ralph Goers edited a comment on Bug JENKINS-49630
Digging further we see that select.js updateListBox is calling hudson-behavior.js findFollowingTR which is returning undefined, causing the subsequent code to fail.

See [^image-2018-02-19-12-03-57-775.png]


I am also noticing that the number of div.credentials-select-control items seems to vary each time I run it. It will contain anywhere from 4 to 6 items. I have no idea why that would change.


I should also add that we see the same Javascript error on other pages but only ones with the credentials selection seem to fail to completely load.

jdumay@cloudbees.com (JIRA)

unread,
Feb 20, 2018, 12:57:01 AM2/20/18
to jenkinsc...@googlegroups.com

Vivek Pandey not sure why our Blue Ocean preloader is running in this case - this appears to be rendering a classic jelly page. Something strange going on?

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 20, 2018, 10:05:02 AM2/20/18
to jenkinsc...@googlegroups.com

After research we determined that the problem is related to the jobs configuration files (config.xml)

In the changelog we found information that in version 2.105 changes were made with updating xml version from 1.0 to 1.1. - https://jenkins.io/changelog/#v2.105

After rollback to version 2.104 and several manual manipulations Jenkins started with no error.

 So, what we have done:

  • We downgraded Jenkins from 2.107 to 2.104

2.104 version is the latest stable version with support xml 1.0

  • In all xml-files we changed xml-version from 1.1 to 1.0  (<?xml version='1.0' encoding='UTF-8'?>) 

After all changes Jenkins master started with no errors and look all jobs works fine now.

 

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 20, 2018, 10:10:04 AM2/20/18
to jenkinsc...@googlegroups.com
Oleg Nenashev edited a comment on Bug JENKINS-49630
Assigned to [~mikecirioli] then,
It may be an issue
impacting the LTS baseline selection

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 20, 2018, 10:10:04 AM2/20/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 20, 2018, 10:10:04 AM2/20/18
to jenkinsc...@googlegroups.com

mikecirioli@gmail.com (JIRA)

unread,
Feb 20, 2018, 10:20:02 AM2/20/18
to jenkinsc...@googlegroups.com
mike cirioli commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

@reporter - if possible, can you attach the broken config.xml, as well as provide any relevant detail about the manual manipulations you had to perfrom for the the downgrade (ie. was it more than just changing the xml version in the config files?)

 

 

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 20, 2018, 12:34:02 PM2/20/18
to jenkinsc...@googlegroups.com

I didn't perform the work myself, but I am told that after downgrading to 2.104 the only change was to change the XML version in the files. 

<?xml version='1.1' encoding='UTF-8'?>  to  <?xml version='1.0' encoding='UTF-8'?>

christoph.dreis@innogames.com (JIRA)

unread,
Feb 21, 2018, 3:43:02 AM2/21/18
to jenkinsc...@googlegroups.com

As noted in JENKINS-49625 I appreciate the workaround, Ralph Goers. Yet, this doesn't seem to confirm that the root cause is actually in the XML file parsing. It only confirms that one could go back to 2.104. Yesterday, I set up a Jenkins Docker instance and couldn't reproduce the bug so far. Although a newly created config.xml looks the same on both our real Jenkins instance and the Docker one.

mikecirioli@gmail.com (JIRA)

unread,
Feb 21, 2018, 7:49:02 AM2/21/18
to jenkinsc...@googlegroups.com

I was also unable to reproduce this with the information provided.  Nothing in the stack trace indicates to me that this is related to the XML change.

christoph.dreis@innogames.com (JIRA)

unread,
Feb 21, 2018, 9:20:02 AM2/21/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 21, 2018, 9:27:03 AM2/21/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 21, 2018, 9:31:03 AM2/21/18
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

IIUC the issue does not apprear on 2.104 with the latest BlueOcean release, am I right?
If yes, something is clearly wrong in the core.

How to diagnose the issue?

  • Start Web Developer tools in your browser
  • Open script console
  • Open the Jenkins page which fails to load
  • Debug JavaScript to see which form fails and what is the reason for the first reported issue (what field/data cause that).

You mileage may vary. I am not a JS developer, and I am definitely not the best source of such guidelines . Maybe Keith Zantow can provide more details

christoph.dreis@innogames.com (JIRA)

unread,
Feb 21, 2018, 9:45:02 AM2/21/18
to jenkinsc...@googlegroups.com

It's actually unrelated to BlueOcean at all, I think. In our setup we don't have BlueOcean installed and it still fails. So I agree that there is something fishy in the core (or the maven-plugin)

christoph.dreis@innogames.com (JIRA)

unread,
Feb 21, 2018, 9:49:03 AM2/21/18
to jenkinsc...@googlegroups.com

And in some maven jobs I can't actually get to the point of seeing the spinner above the config page, but simply nothing happens and the request eventually times out. So I'd even argue it is JS related.

ferratello@gmail.com (JIRA)

unread,
Feb 21, 2018, 12:20:02 PM2/21/18
to jenkinsc...@googlegroups.com

 I've just solved it disabling 2 very outdated plugins:

  • Violations (violations-plugin)
  • Warnings 

But looking at the jenkins thread dumps I'm pretty sure was caused by Violations plugin

Notes:
Jenkins Version: 2.108
All plugins updated to the latest versions.

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 21, 2018, 12:23:03 PM2/21/18
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: violation-columns-plugin
Component/s: warnings-plugin
Component/s: blueocean-plugin

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 21, 2018, 12:23:04 PM2/21/18
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: violations-plugin
Component/s: violation-columns-plugin

christoph.dreis@innogames.com (JIRA)

unread,
Feb 21, 2018, 12:48:03 PM2/21/18
to jenkinsc...@googlegroups.com
Christoph Dreis commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

Mauro Ferratello You're the man! That worked for me as well. I actually installed the violations plugin on the Docker instance and it works, but somehow it doesn't on our live setup. Fun fact: The plugin wasn't even used in the respective Maven Jobs, but in a different non-maven job

ralph.goers@dslextreme.com (JIRA)

unread,
Feb 21, 2018, 12:51:03 PM2/21/18
to jenkinsc...@googlegroups.com

We have violations 0.7.11 and warnings 4.6.5 installed. Since we are now back on 2.104 I can't say if they are the real cause of the problem. I also don't think it has anything to do with blue ocean, despite seeing the exception in the log.

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 21, 2018, 1:53:02 PM2/21/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 21, 2018, 1:58:04 PM2/21/18
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

Thanks a lot for the analysis! There is a branch for Violations plugin with a serious rewrite by Tomas Bjerre: https://github.com/jenkinsci/violations-plugin/commits/master . If somebody can try that and verify that the issue dissapears, it could be an additional justification to move forward with that

tomas.bjerre85@gmail.com (JIRA)

unread,
Feb 21, 2018, 3:22:02 PM2/21/18
to jenkinsc...@googlegroups.com

For the record, future of violations plugin is discussed here:

https://github.com/jenkinsci/violations-plugin/issues/88

I don't mind releasing it. Should require minimal effort from my part to maintain as I already maintain the lib for a bunch of other tools.

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 22, 2018, 7:16:05 AM2/22/18
to jenkinsc...@googlegroups.com
Oleg Nenashev edited a comment on Bug JENKINS-49630
The last change in core's registerValidator JavaScript was 5 years ago. the failing line is here: https://github.com/jenkinsci/jenkins/blame/5c8cc45900bf8d78058cecd471840bdbc88215d3/war/src/main/webapp/scripts/hudson-behavior.js#L424

Apparently, "validation-error-area" is missing, and it causes the code to fail.

Since Violations plugin has not been updated for long as well, my theory is that the plugin is a collateral damage as well. Likely recent update in something (e.g. analytics core) contributed an extension
point implementation with a bogus field.

Will see if I can reproduce that

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 22, 2018, 7:16:05 AM2/22/18
to jenkinsc...@googlegroups.com

The last change in core's registerValidator JavaScript was 5 years ago. the failing line is here: https://github.com/jenkinsci/jenkins/blame/5c8cc45900bf8d78058cecd471840bdbc88215d3/war/src/main/webapp/scripts/hudson-behavior.js#L424

Apparently, "validation-error-area" is missing, and it causes the code to fail.

Since Violations plugin has not been updated for long as well, my theory is that the plugin is a collateral damage as well. Likely recent update in something (e.g. analytics core) contributed an extension point with bogus field.

Will see if I can reproduce that

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 22, 2018, 7:17:02 AM2/22/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 22, 2018, 7:19:05 AM2/22/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 22, 2018, 7:19:07 AM2/22/18
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
I upgraded Jenkins to 2.107 yesterday and upgraded all the plugins to their latest version. After that some of our jobs can no longer be configured. The page just shows "Loading" with a blinking icon. In addition, the chrome developer tool shows 

hudson-behavior.js:424 Uncaught TypeError: Cannot read property 'firstChild' of undefined
at registerValidator (hudson-behavior.js:424)
at Array.forEach (<anonymous>)
at behavior.js:111
at Array.forEach (<anonymous>)
at behavior.js:107
at Array.forEach (<anonymous>)
at Object.applySubtree (behavior.js:93)
at select.js:269
registerValidator @ hudson-behavior.js:424
(anonymous) @ behavior.js:111
(anonymous) @ behavior.js:107
applySubtree @ behavior.js:93
(anonymous) @ select.js:269
setTimeout (async)
(anonymous) @ select.js:263

I am also seeing errors in the logs which may or may not be related.

Caught exception evaluating: preloader.stateJson in /jenkins/blue/organizations/jenkins/js-modules/dashboard-ui/detail/PR-1/19/. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException at io.jenkins.blueocean.preload.PipelineActivityStatePreloader.getFetchData(PipelineActivityStatePreloader.java:67) at io.jenkins.blueocean.commons.RESTFetchPreloader.getStateJson(RESTFetchPreloader.java:64) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1738.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:140) at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:30) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:686) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 22, 2018, 9:07:02 AM2/22/18
to jenkinsc...@googlegroups.com
 
Re: Unable to view configuration of some projects after upgrade to 2.107

I have tried to reproduce the issue by installing Violations / Warnings and other plugins on 2.108, was unable to do so.
From the screenshots I see that it something related to credentials: "select.credentials-select". It comes from Credentials plugin: https://github.com/jenkinsci/credentials-plugin/search?utf8=%E2%9C%93&q=%22credentials-select%22&type=

Now the challenge is to find an overlap between Credentials and Violations

jglick@cloudbees.com (JIRA)

unread,
Feb 23, 2018, 1:14:03 PM2/23/18
to jenkinsc...@googlegroups.com

As a general note, I would kindly request that whenever coming across a reproducible case of Jenkins emitting an Uncaught TypeError: Cannot read property 'firstChild' of undefined for any reason, that in addition to fixing the root cause, the assignee also improve hudson-behavior.js to

  • console.log a meaningful warning explaining what exactly it was looking for and where it failed to find that
  • if possible, carry on other JavaScript processing on the page, so that the UI is not completely broken

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 2, 2018, 4:14:06 AM3/2/18
to jenkinsc...@googlegroups.com
Oleg Nenashev assigned an issue to Unassigned
 
Change By: Oleg Nenashev
Assignee: Oleg Nenashev

dennis.bliefernicht@triphoenix.de (JIRA)

unread,
Mar 2, 2018, 7:22:02 AM3/2/18
to jenkinsc...@googlegroups.com
Dennis Bliefernicht commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

As an additional data point: in our current system (didn't manage to isolate the exact plugin combination yet) we can only observe this behaviour with Maven/Ivy Projects. Specifically it is enough to try to create a new job of these types as the renderer will fail on first enter of the UI already. This behaviour does not occur with Freestyle, Pipeline or External Jobs. However we also do have the Validations and Warnings plugins installed (which I cannot remove easily right now).

Without knowing too much about the code around this: the target element ID of the failing element is select.setting-input.validated.select.credentials-select
The surrounding DOM looks like this, so given from the select element in the last TR element there actually is no following TR to find here. The block seems to step from the Git configuration block and looking at a Freestyle project, those actually do have following TR elements.

<table style="width:100%">
    <tbody>
        <tr>
            <td class="setting-leftspace">&nbsp;</td>
            <td class="setting-name">Repository URL</td>
            <td class="setting-main">
                <input checkdependson="credentialsId" checkmethod="post" checkurl="/job/DB-MavenJob/descriptorByName/hudson.plugins.git.UserRemoteConfig/checkUrl" name="_.url" type="text" class="setting-input validated  " value="">
            </td>
            <td class="setting-help">
                <a helpurl="/descriptor/hudson.plugins.git.UserRemoteConfig/help/url" href="#" class="help-button"><img src="/static/431de1fb/images/16x16/help.png" alt="Help for feature: Repository URL" style="width: 16px; height: 16px; " class="icon-help icon-sm"></a></td></tr><tr class="validation-error-area"><td colspan="2"></td><td></td><td></td></tr><tr class="help-area"><td></td><td colspan="2"><div class="help">Loading...</div>
            </td>
            <td></td>
        </tr>
        <tr>
            <td class="setting-leftspace">&nbsp;</td>
            <td class="setting-name">Credentials</td>
            <td class="setting-main">
                <div class="credentials-select-control"><div class="credentials-select-content-select credentials-select-content-active">
                    <select checkdependson="url" fillurl="/job/DB-MavenJob/descriptorByName/hudson.plugins.git.UserRemoteConfig/fillCredentialsIdItems" checkurl="/job/DB-MavenJob/descriptorByName/hudson.plugins.git.UserRemoteConfig/checkCredentialsId" filldependson="url credentialsId" name="_.credentialsId" class="setting-input validated select  credentials-select" value=""></select>&nbsp;
                    <span class="yui-button yui-menu-button" id="yui-gen3"><span class="first-child"><button type="button" tabindex="0" id="yui-gen3-button" class="credentials-add-menu" suffix="null"><img src="/static/431de1fb/plugin/credentials/images/16x16/new-credential.png" style="width: 16px; height: 16px; " class="icon-credentials-new-credential icon-sm">
                        Add</button></span></span>
                    <div class="credentials-add-menu-items yuimenu yui-module yui-overlay yui-overlay-hidden yui-button-menu yui-menu-button-menu" id="yui-gen4" style="z-index: 2; position: absolute; visibility: hidden;"><div class="bd"><ul class="first-of-type"><li class="yuimenuitem" data-url="/descriptor/com.cloudbees.plugins.credentials.CredentialsSelectHelper/resolver/com.cloudbees.plugins.credentials.CredentialsSelectHelper$SystemContextResolver/provider/com.cloudbees.plugins.credentials.SystemCredentialsProvider$ProviderImpl/context/jenkins/dialog"><span tooltip="Jenkins Credentials Provider" class="yuimenuitemlabel"><img src="/static/431de1fb/plugin/credentials/images/16x16/system-store.png" style="width: 16px; height: 16px; " class="icon-credentials-system-store icon-sm">
                      Jenkins
                    </span></li></ul></div></div></div>
                </div>
            </td>
        </tr>
    </tbody>
</table>

dbeck@cloudbees.com (JIRA)

unread,
Mar 5, 2018, 8:21:02 AM3/5/18
to jenkinsc...@googlegroups.com

From previous comments, it seems to happen in Maven projects, with Violations and Warnings plugins installed. Is that the consensus here?

dennis.bliefernicht@triphoenix.de (JIRA)

unread,
Mar 5, 2018, 10:39:05 AM3/5/18
to jenkinsc...@googlegroups.com

At least in our installation it seems to be localized to Maven and Ivy projects only, although I couldn't reproduce it on a fresh instance yet (even with Violations / Warnings installed). One other thing I noticed is that the DOM tree seems to look okay after the problematic JS call failed (i.e. there is a proper following TR element then). Maybe the call somehow gets issued too early or there is some kind of race condition going on?

ralph.goers@dslextreme.com (JIRA)

unread,
Mar 5, 2018, 12:06:06 PM3/5/18
to jenkinsc...@googlegroups.com

In my case the problem was only happening in Maven projects. We had both the Violations and Warnings plugins installed.

Note that even after downgrading to 2.104 we are still getting the javascript error from hudson-behavior.js. That error appears on most of our job's configuration pages. So I doubt it is related to whatever the problem was when we were running 2.107.  It would be useful to fix that javascript error just so it doesn't keep muddying the waters.

ralph.goers@dslextreme.com (JIRA)

unread,
Mar 5, 2018, 12:06:07 PM3/5/18
to jenkinsc...@googlegroups.com
Ralph Goers edited a comment on Bug JENKINS-49630
In my case the problem was only happening in Maven projects. We had both the Violations and Warnings plugins installed.

Note that even after downgrading to 2.104 we are still getting the javascript error from hudson-behavior.js , although the pages are now working properly . That error appears on most of our job's configuration pages. So I doubt it is related to whatever the problem was when we were running 2.107.  It would be useful to fix that javascript error just so it doesn't keep muddying the waters.

elcrux@tesla.com (JIRA)

unread,
Mar 8, 2018, 6:27:03 PM3/8/18
to jenkinsc...@googlegroups.com
Ellinor Crux updated an issue
 
Change By: Ellinor Crux
Attachment: image-2018-03-08-15-26-46-035.png

elcrux@tesla.com (JIRA)

unread,
Mar 8, 2018, 6:29:01 PM3/8/18
to jenkinsc...@googlegroups.com
Ellinor Crux commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

I have had this same issue in Jenkins version 2.109 with Freestyle jobs. I've looked at the thread dump for projects that I couldn't load and saw this: 

It appears to be stuck loading something with the violations plugin. This appears to affect all the freestyle jobs that use the violations plugin on my server. 

elcrux@tesla.com (JIRA)

unread,
Mar 8, 2018, 6:33:02 PM3/8/18
to jenkinsc...@googlegroups.com
Ellinor Crux edited a comment on Bug JENKINS-49630
I have had this same issue in Jenkins version 2.109 , violations version 0.7.11  with Freestyle jobs. I've looked at the thread dump for projects that I couldn't load and saw this: 

!image-2018-03-08-15-26-46-035.png|width=1222,height=149!


It appears to be stuck loading something with the violations plugin. This appears to affect all the freestyle jobs that use the violations plugin on my server. 

dennis.bliefernicht@triphoenix.de (JIRA)

unread,
Mar 12, 2018, 6:06:02 AM3/12/18
to jenkinsc...@googlegroups.com

Actually upgrading to 2.111 fixed the issue completely for me. Could this be related to the fix to JENKINS-49968? Comments there mention breaking the validation logic which seems to be involved in this one as well.

dbeck@cloudbees.com (JIRA)

unread,
Mar 12, 2018, 6:26:02 AM3/12/18
to jenkinsc...@googlegroups.com

dennis.bliefernicht@triphoenix.de (JIRA)

unread,
Mar 12, 2018, 9:56:02 AM3/12/18
to jenkinsc...@googlegroups.com

That's true, however I can observe that while the JavaScript TypeError in findFollowingTR still occurs (as others noted here that probably happened before already), the inability to edit maven projects did in fact disappear for us when upgrading to 2.111 (only other updates were the Durable Tasks 1.18 to 1.21 and Metrics 3.1.2.10 to 3.1.2.11); maybe the issue is now shadowed or handled better by existing code? 

alexander.lautenbach@ac-b.de (JIRA)

unread,
Mar 19, 2018, 2:59:03 AM3/19/18
to jenkinsc...@googlegroups.com
io39d updated an issue
 
Change By: io39d
Attachment: image-2018-03-19-07-58-52-706.png

alexander.lautenbach@ac-b.de (JIRA)

unread,
Mar 19, 2018, 3:16:04 AM3/19/18
to jenkinsc...@googlegroups.com
io39d commented on Bug JENKINS-49630
 
Re: Unable to view configuration of some projects after upgrade to 2.107

View Image: image-2018-03-19-07-58-52-706.png
updateListBox gets called before a following tr with the class="validation-error-area" exists / is being appended.

That js error exists for long time in jenkins.

kimmo.toro@f-secure.com (JIRA)

unread,
Mar 24, 2018, 6:18:06 AM3/24/18
to jenkinsc...@googlegroups.com

Had a similar problem, was fixed after uninstalling Violations plugin.

chenrui333@gmail.com (JIRA)

unread,
Mar 28, 2018, 4:19:02 PM3/28/18
to jenkinsc...@googlegroups.com
Rui Chen commented on Bug JENKINS-49630

"uninstalling Violations plugin" works for us (maven project loading issue is gone), we are using v2.113

spartakusmd@gmail.com (JIRA)

unread,
Apr 19, 2018, 4:32:04 AM4/19/18
to jenkinsc...@googlegroups.com

Same here with Jenkins 2.107.2. Desactivating the Violations plugin 0.7.11 (with dependencies on him Violation Columns(List View Columns) 1.6, Warnings Plug-in, Static Analysis Collector Plug-in 1.52) made possible editing the configuration of the project. Still getting JS errors in the browser console :

 

hudson-behavior.js:424 Uncaught TypeError: Cannot read property 'firstChild' of undefined
    at registerValidator (hudson-behavior.js:424)
    at Array.forEach (<anonymous>)
    at behavior.js:111
    at Array.forEach (<anonymous>)
    at behavior.js:107
    at Array.forEach (<anonymous>)
    at Object
.applySubtree (behavior.js:93)
    at select.js:269
registerValidator	@	hudson-behavior.js:424
(anonymous)	@	behavior.js:111
(anonymous)	@	behavior.js:107
applySubtree	@	behavior.js:93
(anonymous)	@	select.js:269
setTimeout (async)		
(anonymous)	@	select.js:263




configure:1 [DOM] Found 2 elements with non-unique id #svn.remote.loc: (More info: https://goo.gl/9p2vKq) input#svn.remote.loc.setting-input.validated input#svn.remote.loc.setting-input.validated




hudson-behavior.js:1311 Unable to find nearby server
(anonymous)	@	hudson-behavior.js:1311
(anonymous)	@	prototype.js:853
each	@	prototype.js:852
refillOnChange	@	hudson-behavior.js:1308
(anonymous)	@	select.js:77
(anonymous)	@	behavior.js:111
(anonymous)	@	behavior.js:107
applySubtree	@	behavior.js:93
apply	@	behavior.js:76
(anonymous)	@	behavior.js:71
window.onload	@	behavior.js:125

lambert.ma@yahoo.com (JIRA)

unread,
May 7, 2018, 8:05:02 PM5/7/18
to jenkinsc...@googlegroups.com

Deactivating just Violations plugin 0.7.11 work for us.  Using Jenkins 2.107.2 LTS also.

jorgematricali@gmail.com (JIRA)

unread,
May 17, 2018, 6:48:02 AM5/17/18
to jenkinsc...@googlegroups.com

Deactivating Violations plugin just works. Thank you

mattsi.jansky@codurance.com (JIRA)

unread,
Sep 17, 2018, 8:18:05 AM9/17/18
to jenkinsc...@googlegroups.com

Having this issue on a brand new Jenkins ver. 2.138.1 instance with only the default suggested plugins, can't create a new build pipeline because of it. Don't have violations plugin. Can't remove the credentials plugin because everything (even git integration) is dependent on it.

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Sep 17, 2018, 10:18:03 AM9/17/18
to jenkinsc...@googlegroups.com

This issue seems to have become a grab-bag of possibly many unrelated problems, without steps to reproduce. I would suggest closing it. Anyone encountering reproducible issues should please ignore this and file fresh issues with complete steps to reproduce from scratch.

raphael.greger@axa-tech.com (JIRA)

unread,
Nov 16, 2018, 9:32:03 AM11/16/18
to jenkinsc...@googlegroups.com

I have this issue on new updated Jenkins (2.138.3). I can't create or open a Jenkins job with Maven type. It tries to load the config page and the loading symbol do not stop moving. If I remove the mentioned "violations" plugin, it works again. But I can't just remove the plugin. It will be needed for the code analysis I guess.

Are there any news?

mattsi.jansky@codurance.com (JIRA)

unread,
Nov 16, 2018, 9:36:02 AM11/16/18
to jenkinsc...@googlegroups.com

In our case, we found that (for whatever reason) restarting the Jenkins instance fixed the issue.

raphael.greger@axa-tech.com (JIRA)

unread,
Nov 16, 2018, 9:48:02 AM11/16/18
to jenkinsc...@googlegroups.com

Thank you for your answer, but in my case it do not solve the problem. I restarted Jenkins the last 3 days more than 20 times.

raphael.greger@axa-tech.com (JIRA)

unread,
Nov 20, 2018, 7:03:05 AM11/20/18
to jenkinsc...@googlegroups.com

As I read, the violations plugin will be replaced by the warnings plugin. So I removed the violations plugin and my Jenkins is now running without problem.

Reply all
Reply to author
Forward
0 new messages