-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: PC, OS: Windows XP
i enter some configuration data for the project
and get this tomcat stacktrace:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: Invalid final field
hudson.tasks.ArtifactArchiver.artifacts
org.kohsuke.stapler.Stapler.invoke(Stapler.java:220)
org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:110)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:211)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:157)
org.kohsuke.stapler.Stapler.service(Stapler.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Invalid
final field hudson.tasks.ArtifactArchiver.artifacts
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.validateFieldAccess(PureJavaReflectionProvider.java:149)
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:105)
com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(ReflectionConverter.java:44)
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:68)
com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:47)
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)
com.thoughtworks.xstream.converters.reflection.ReflectionConverter$1.writeField(ReflectionConverter.java:81)
com.thoughtworks.xstream.converters.reflection.ReflectionConverter$1.visit(ReflectionConverter.java:59)
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:108)
com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(ReflectionConverter.java:44)
com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)
com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:46)
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marshal(ReferenceByXPathMarshallingStrategy.java:17)
com.thoughtworks.xstream.XStream.marshal(XStream.java:476)
com.thoughtworks.xstream.XStream.marshal(XStream.java:466)
com.thoughtworks.xstream.XStream.toXML(XStream.java:449)
hudson.XmlFile.write(XmlFile.java:71)
hudson.model.Job.save(Job.java:403)
hudson.model.Job.doConfigSubmit(Job.java:444)
hudson.model.Project.doConfigSubmit(Project.java:540)
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
Source)
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:133)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:211)
org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:110)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
note The full stack trace of the root cause is available in the Apache Tomcat/
5.5.17 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.17