Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18684

Can not create new Free Style Job

XMLWordPrintable

      Hi,

      I have upgraded to Jenkins 1.522 (with latest ruby-runtime plugin). I could not create new jobs any more.

      1. I tried to create new free style job

      2. Job configuration page appears

      3. DO some configuration (Like adding build steps)

      4. Press Save , I see following exception

      ------------>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---------------------
      Stack trace

      javax.servlet.ServletException: java.lang.NullPointerException
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:726)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:684)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:684)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:586)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:217)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      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:118)
      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 org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64)
      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:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.NullPointerException
      at org.jenkinsci.plugins.buildresulttrigger.BuildResultTrigger.getLogFile(BuildResultTrigger.java:46)
      at org.jenkinsci.plugins.buildresulttrigger.BuildResultTrigger.getProjectActions(BuildResultTrigger.java:51)
      at hudson.model.Project.createTransientActions(Project.java:222)
      at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:724)
      at hudson.model.AbstractProject.save(AbstractProject.java:279)
      at hudson.model.AbstractItem.setDisplayName(AbstractItem.java:156)
      at hudson.model.Job.doConfigSubmit(Job.java:1044)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:765)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:684)
      ... 64 more
      ------------>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---------------------

      Jenkins full log

      ----------------------------->>>>>>>>>>>>>>>>>>
      Running from: /home/JENKINS_HOME/jenkins.war
      webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
      Jul 10, 2013 1:19:56 PM winstone.Logger logInternal
      INFO: Beginning extraction from war file
      Jenkins home directory: /home/JENKINS_HOME found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
      Jul 10, 2013 1:19:56 PM winstone.Logger logInternal
      INFO: HTTP Listener started: port=8080
      Jul 10, 2013 1:19:56 PM winstone.Logger logInternal
      INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled
      Jul 10, 2013 1:19:57 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Started initialization
      Jul 10, 2013 1:19:57 PM hudson.ClassicPluginStrategy createPluginWrapper
      INFO: Plugin startup-trigger-plugin.jpi is disabled
      Jul 10, 2013 1:19:57 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Listed all plugins
      Jul 10, 2013 1:19:57 PM ruby.RubyRuntimePlugin start
      INFO: Injecting JRuby into XStream
      Trying to load models from /home/JENKINS_HOME/plugins/nodeofflinenotification/WEB-INF/classes/models
      Loading /home/JENKINS_HOME/plugins/nodeofflinenotification/WEB-INF/classes/models/emailnodeproperty.rb
      Loading /home/JENKINS_HOME/plugins/nodeofflinenotification/WEB-INF/classes/models/java_emailcomputerlistener.rb
      Loading /home/JENKINS_HOME/plugins/nodeofflinenotification/WEB-INF/classes/models/src/emailcomputerlistener.rb
      Loading /home/JENKINS_HOME/plugins/nodeofflinenotification/WEB-INF/classes/models/src/java_wrapper.rb
      Jul 10, 2013 1:20:01 PM hudson.plugins.greenballs.PluginImpl start
      INFO: Green Balls!
      Jul 10, 2013 1:20:01 PM hudson.plugins.ansicolor.PluginImpl start
      INFO: AnsiColor: eliminating boring output (https://github.com/dblock/jenkins-ansicolor-plugin)
      Jul 10, 2013 1:20:01 PM de.pellepelster.jenkins.walldisplay.WallDisplayPlugin loadConfiguration
      INFO: Loaded configuration data: de.pellepelster.jenkins.walldisplay.Configuration@37503f7c[
      theme=default
      jenkinsTimeOut=15
      jenkinsUpdateInterval=20
      showDetails=false
      showGravatar=false
      fontFamily=sans-serif
      buildRange=all
      sortOrder=job name
      ]
      Jul 10, 2013 1:20:01 PM org.jvnet.hudson.plugins.backup.BackupPluginImpl loadConfiguration
      INFO: Loading configuration...
      Jul 10, 2013 1:20:01 PM org.jvnet.hudson.plugins.backup.utils.BackupPersistence loadConfig
      INFO: Config file not found.
      Jul 10, 2013 1:20:01 PM hudson.plugins.virtualbox.VirtualBoxPlugin start
      INFO: Starting VirtualBoxPlugin
      Jul 10, 2013 1:20:01 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Prepared all plugins
      Jul 10, 2013 1:20:05 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Started all plugins
      Jul 10, 2013 1:20:05 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Augmented all extensions
      Jul 10, 2013 1:20:05 PM hudson.util.CopyOnWriteList$ConverterImpl unmarshal
      WARNING: Failed to resolve class
      com.thoughtworks.xstream.mapper.CannotResolveClassException: org.jvnet.hudson.plugins.triggers.startup.HudsonStartupTrigger
      at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:56)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:255)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at org.jenkinsci.jruby.JRubyMapper.realClass(JRubyMapper.java:34)
      at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:49)
      at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
      at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:70)
      at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:193)
      at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:263)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333)
      at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275)
      at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
      at hudson.util.XStream2.unmarshal(XStream2.java:109)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:925)
      at hudson.XmlFile.read(XmlFile.java:143)
      at hudson.model.Items.load(Items.java:220)

            Unassigned Unassigned
            sambakki Bakkiaraj Murugesan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: