[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2014-02-15 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-21024


Miscellaneous exceptions in config.xml can prevent entire job from loading















Code changed in jenkins
User: Jesse Glick
Path:
 core/src/main/java/hudson/util/CopyOnWriteList.java
 core/src/main/java/hudson/util/RobustCollectionConverter.java
 core/src/main/java/hudson/util/RobustReflectionConverter.java
 core/src/main/java/hudson/util/xstream/ImmutableListConverter.java
 test/src/test/groovy/hudson/model/RunMapTest.groovy
 test/src/test/java/hudson/util/RobustReflectionConverterTest.java
 test/src/test/resources/hudson/util/RobustReflectionConverterTest/randomExceptionsReported.zip
http://jenkins-ci.org/commit/jenkins/15fcf7c78b456321b1c0d306675b0907298ea770
Log:
  FIXED JENKINS-21024 Catch a full range of XStreamException’s during deserialization, including rethrown exceptions from readResolve.
(cherry picked from commit c3508113f0e1659f0e6c1064f31cb2ac1caa2ef3)

Conflicts:
	changelog.html
	core/src/main/java/hudson/util/RobustReflectionConverter.java





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2014-01-27 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 updated  JENKINS-21024


Miscellaneous exceptions in config.xml can prevent entire job from loading
















Change By:


Jesse Glick
(27/Jan/14 4:39 PM)




Labels:


lts-candidate
robustnessxstream



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2014-01-27 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-21024


Miscellaneous exceptions in config.xml can prevent entire job from loading















Should be considered for backport. For example, saw a job which had a number of historical builds none of which could be loaded:


WARNING hudson.model.RunMap retrieve
could not load /…/jobs/…/builds/2013-06-05_17-40-05
hudson.util.IOException2: Unable to read /…/jobs/…/builds/2013-06-05_17-40-05/build.xml
	at hudson.XmlFile.unmarshal(XmlFile.java:170)
	at hudson.model.Run.reload(Run.java:320)
	at hudson.model.Run.(Run.java:309)
	at hudson.model.AbstractBuild.(AbstractBuild.java:187)
	at hudson.model.Build.(Build.java:103)
	at hudson.model.FreeStyleBuild.(FreeStyleBuild.java:41)
	at sun.reflect.GeneratedConstructorAccessor104.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1152)
	at hudson.model.AbstractProject$1.create(AbstractProject.java:339)
	at hudson.model.AbstractProject$1.create(AbstractProject.java:337)
	at hudson.model.RunMap.retrieve(RunMap.java:225)
	at hudson.model.RunMap.retrieve(RunMap.java:59)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:677)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:660)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:459)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:536)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:382)
	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:221)
	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:105)
	at hudson.model.Job.getBuildStabilityHealthReport(Job.java:1082)
	at hudson.model.Job.getBuildHealthReports(Job.java:1042)
	at hudson.model.Job.getBuildHealth(Job.java:1007)
	at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
	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.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
	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 

[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2013-12-16 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 created  JENKINS-21024


Miscellaneous exceptions in config.xml can prevent entire job from loading















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


16/Dec/13 6:31 PM



Description:


Jenkins has code to ensure that certain kinds of errors in configuration XML, such as missing classes saved by formerly installed plugins, are safely sent to OldDataMonitor and do not break loading of the rest of the item. But this does not seem to work for miscellaneous exceptions rethrown by XStream, such as a syntactically malformed trigger specification.




Project:


Jenkins



Labels:


robustness
xstream




Priority:


Major



Reporter:


Jesse Glick

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2013-12-16 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 started work on  JENKINS-21024


Miscellaneous exceptions in config.xml can prevent entire job from loading
















Change By:


Jesse Glick
(16/Dec/13 6:37 PM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2013-12-16 Thread jgl...@cloudbees.com (JIRA)















































Jesse Glick
 assigned  JENKINS-21024 to Jesse Glick



Miscellaneous exceptions in config.xml can prevent entire job from loading
















Change By:


Jesse Glick
(16/Dec/13 6:37 PM)




Assignee:


JesseGlick



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2013-12-16 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-21024 as Fixed


Miscellaneous exceptions in config.xml can prevent entire job from loading
















Change By:


SCM/JIRA link daemon
(16/Dec/13 9:24 PM)




Status:


InProgress
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2013-12-16 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-21024


Miscellaneous exceptions in config.xml can prevent entire job from loading















Code changed in jenkins
User: Jesse Glick
Path:
 changelog.html
 core/src/main/java/hudson/util/CopyOnWriteList.java
 core/src/main/java/hudson/util/RobustCollectionConverter.java
 core/src/main/java/hudson/util/RobustReflectionConverter.java
 core/src/main/java/hudson/util/xstream/ImmutableListConverter.java
 test/src/test/groovy/hudson/model/RunMapTest.groovy
 test/src/test/java/hudson/util/RobustReflectionConverterTest.java
 test/src/test/resources/hudson/util/RobustReflectionConverterTest/randomExceptionsReported.zip
http://jenkins-ci.org/commit/jenkins/c3508113f0e1659f0e6c1064f31cb2ac1caa2ef3
Log:
  FIXED JENKINS-21024 Catch a full range of XStreamException’s during deserialization, including rethrown exceptions from readResolve.





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-21024) Miscellaneous exceptions in config.xml can prevent entire job from loading

2013-12-16 Thread dogf...@java.net (JIRA)














































dogfood
 commented on  JENKINS-21024


Miscellaneous exceptions in config.xml can prevent entire job from loading















Integrated in  jenkins_main_trunk #3120
 FIXED JENKINS-21024 Catch a full range of XStreamException’s during deserialization, including rethrown exceptions from readResolve. (Revision c3508113f0e1659f0e6c1064f31cb2ac1caa2ef3)

 Result = SUCCESS
Jesse Glick : c3508113f0e1659f0e6c1064f31cb2ac1caa2ef3
Files : 

	test/src/test/groovy/hudson/model/RunMapTest.groovy
	test/src/test/resources/hudson/util/RobustReflectionConverterTest/randomExceptionsReported.zip
	core/src/main/java/hudson/util/xstream/ImmutableListConverter.java
	test/src/test/java/hudson/util/RobustReflectionConverterTest.java
	core/src/main/java/hudson/util/RobustCollectionConverter.java
	core/src/main/java/hudson/util/CopyOnWriteList.java
	changelog.html
	core/src/main/java/hudson/util/RobustReflectionConverter.java





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.