我添加了一些新任务,然后在运行作业或更改作业配置并保存时出现错误。
状态码:500 异常:java.lang.RuntimeException:无法为类 hudson.model.FreeStyleProject 序列化 hudson.model.AbstractProject#blockBuildWhenDownstreamBuilding Stacktrace:
javax.servlet.ServletException: java.lang.RuntimeException: 无法为 org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719) 的 org.kohsuke 类 hudson.model.FreeStyleProject 序列化 hudson.model.AbstractProject#blockBuildWhenDownstreamBuilding .stapler.Stapler.invoke(Stapler.java:770) 在 org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) 在 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 在 org .kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) 在 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) 在 org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) 在org.kohsuke.stapler.Stapler.service(Stapler.java:214) 在 winstone.ServletConfiguration 的 javax.servlet.http.HttpServlet.service(HttpServlet.java:45)。在 winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) 在 winstone.RequestDispatcher.forward(RequestDispatcher.java:333) 执行(ServletConfiguration.java:248) 在 hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)在 hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) 在 winstone.FilterConfiguration.execute(FilterConfiguration.java:194) 在 winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 在 hudson.security.csrf.CrumbFilter。 doFilter(CrumbFilter.java:48) 在 winstone.FilterConfiguration.execute(FilterConfiguration.java:194) 在 winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 在 hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)在 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:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util .CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 在 winstone.FilterConfiguration.execute(FilterConfiguration.java:194) 在 winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 在 winstone.RequestDispatcher.forward(RequestDispatcher.java:331) 在 winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) 在 winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) 在 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 在 java. util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java。 util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) : java.lang.RuntimeException: 无法为类 hudson 序列化 hudson.model.AbstractProject#blockBuildWhenDownstreamBuilding。model.FreeStyleProject at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:208) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:176) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields( PureJavaReflectionProvider.java:135) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:161) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:102) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller) .java:69) 在 com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) 在 com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) 在 com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) 在 com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) 在 com.thoughtworks.xstream.XStream.marshal (XStream.java:898) 在 com.thoughtworks.xstream.XStream.marshal(XStream.java:887) 在 com.thoughtworks.xstream.XStream.toXML(XStream.java:860) 在 hudson.XmlFile.write(XmlFile. java:183) at hudson.model.AbstractItem.save(AbstractItem.java:473) at hudson.model.Job.save(Job.java:154) at hudson.model.AbstractProject.save(AbstractProject.java:273) at hudson.model.AbstractProject.makeDisabled(AbstractProject.java:679) 在 hudson.model.AbstractProject.doDisable(AbstractProject.java:2038) 在 sun.reflect.NativeMethodAccessorImpl。在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在 java.lang.reflect.Method.invoke(Method.java: 43) 的 invoke0(Native Method) 601) 在 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) 在 org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:29) 在 org.kohsuke.stapler.Function $InterceptedFunction.invoke(Function.java:389) 在 org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) 在 org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) 在 org.kohsuke。 org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) ... 39 更多原因:com.thoughtworks.xstream.io.StreamException: : com.thoughtworks.xstream 的设备上没有剩余空间。 core.util.QuickWriter.flush(QuickWriter.java:77) at com.thoughtworks.xstream.core.util.QuickWriter.write(QuickWriter.java:37) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endNode( PrettyPrintWriter.java:313) 在 com.thoughtworks.xstream.io.WriterWrapper.endNode(WriterWrapper.java:37) 在 com.thoughtworks.xstream.io.path.PathTrackingWriter.endNode(PathTrackingWriter.java:48) 在 hudson.util .RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:205) ... 69 更多原因:java.io.IOException:java.io.FileOutputStream 的设备上没有剩余空间。writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:318) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder. java:291) 在 sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295) 在 sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141) 在 java.io.OutputStreamWriter.flush(OutputStreamWriter.java :229) 在 java.io.BufferedWriter.flush(BufferedWriter.java:254) 在 hudson.util.AtomicFileWriter.flush(AtomicFileWriter.java:90) 在 com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter. java:75) ... 74 更多nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) 在 sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295) 在 sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141) 在 java .io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at java.io.BufferedWriter.flush(BufferedWriter.java:254) at hudson.util.AtomicFileWriter.flush(AtomicFileWriter.java:90) at com.thoughtworks.xstream。 core.util.QuickWriter.flush(QuickWriter.java:75) ... 74 更多nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) 在 sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295) 在 sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141) 在 java .io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at java.io.BufferedWriter.flush(BufferedWriter.java:254) at hudson.util.AtomicFileWriter.flush(AtomicFileWriter.java:90) at com.thoughtworks.xstream。 core.util.QuickWriter.flush(QuickWriter.java:75) ... 74 更多254) 在 hudson.util.AtomicFileWriter.flush(AtomicFileWriter.java:90) 在 com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter.java:75) ... 74 更多254) 在 hudson.util.AtomicFileWriter.flush(AtomicFileWriter.java:90) 在 com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter.java:75) ... 74 更多