Re: Restore of Jenkins 1.616 back to 1.555

2015-06-13 Thread James Nord
By any chance did you upgrade to jdk 8 at the same time?
You may get lucky by downgrading to 1.7 as that looks like a buggy comparator 
being called to  null.
But only lucky if you never saved the system or job configurations post 
upgrade...

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/375b9b7b-cefb-4e04-9c58-c44280e4b296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Restore of Jenkins 1.616 back to 1.555

2015-06-11 Thread Paul Wilkins
Thanks for spending your time looking at this.   I had a thought that it
would be a lost cause.   I'll have to look over the old images of the
machine and see what I have got.

On Thu, Jun 11, 2015 at 2:26 PM, Daniel Beck m...@beckweb.net wrote:

 Downgrading to 1.555 from 1.616 is a lot of effort and requires quite a
 bit of Jenkins knowledge due to changed data formats between these
 versions, plugins detached from core, etc.

 Your best bet is to restore from backup.

 On 11.06.2015, at 15:20, Paul Wilkins wilkinspau...@gmail.com wrote:

  I was required to upgrade our jenkins install to the latest.   Once this
 was done I encountered some unexpected issues which forced me to want to
 restore back to 1.555.
 
  This is all running on a windows server 2012 running using Java 7
 although there is an folder for jre1.8.0_45.   This is an old system I
 inherited so I am bit vague on details.
 
  I hit the Restore to v1.555 button and all seemed ok.   Once I restarted
 the machine and opened Jenkins I get the following message.
 
  If there are anymore details that might help solve this issue please let
 me know.   Thank you.
 
 
  hudson.util.HudsonFailedToLoad:
 org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to
 read D:\Jenkins\config.xml
at hudson.WebAppMain$3.run(WebAppMain.java:234)
  Caused by: org.jvnet.hudson.reactor.ReactorException:
 java.io.IOException: Unable to read D:\Jenkins\config.xml
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:910)
at jenkins.model.Jenkins.init(Jenkins.java:809)
at hudson.model.Hudson.init(Hudson.java:82)
at hudson.model.Hudson.init(Hudson.java:78)
at hudson.WebAppMain$3.run(WebAppMain.java:222)
  Caused by: java.io.IOException: Unable to read D:\Jenkins\config.xml
at hudson.XmlFile.unmarshal(XmlFile.java:165)
at jenkins.model.Jenkins$17.run(Jenkins.java:2561)
at
 org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
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: com.thoughtworks.xstream.converters.ConversionException: -1 :
 -1
   Debugging information 
  message : -1
  cause-exception : java.lang.ArrayIndexOutOfBoundsException
  cause-message   : -1
  class   : hudson.model.Hudson
  required-type   : hudson.model.Hudson
  converter-type  : hudson.util.RobustReflectionConverter
  path: /hudson/disabledAdministrativeMonitors
  line number : 3
  version : not available
  ---
at
 com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
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:113)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
at hudson.XmlFile.unmarshal(XmlFile.java:163)
... 9 more
  Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at
 com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77)
at java.util.HashMap.putMapEntries(Unknown Source)
at java.util.HashMap.putAll(Unknown Source)
at
 com.thoughtworks.xstream.core.util.OrderRetainingMap.init(OrderRetainingMap.java:36)
at
 com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135)
at
 com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113)
at
 com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:186)
at
 hudson.util.RobustReflectionConverter.fieldDefinedInClass(RobustReflectionConverter.java:344)
at
 

Re: Restore of Jenkins 1.616 back to 1.555

2015-06-11 Thread Daniel Beck
Downgrading to 1.555 from 1.616 is a lot of effort and requires quite a bit of 
Jenkins knowledge due to changed data formats between these versions, plugins 
detached from core, etc.

Your best bet is to restore from backup.

On 11.06.2015, at 15:20, Paul Wilkins wilkinspau...@gmail.com wrote:

 I was required to upgrade our jenkins install to the latest.   Once this was 
 done I encountered some unexpected issues which forced me to want to restore 
 back to 1.555.
 
 This is all running on a windows server 2012 running using Java 7 although 
 there is an folder for jre1.8.0_45.   This is an old system I inherited so I 
 am bit vague on details.   
 
 I hit the Restore to v1.555 button and all seemed ok.   Once I restarted the 
 machine and opened Jenkins I get the following message.
 
 If there are anymore details that might help solve this issue please let me 
 know.   Thank you.
 
 
 hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: 
 java.io.IOException: Unable to read D:\Jenkins\config.xml
   at hudson.WebAppMain$3.run(WebAppMain.java:234)
 Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: 
 Unable to read D:\Jenkins\config.xml
   at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
   at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
   at jenkins.model.Jenkins.executeReactor(Jenkins.java:910)
   at jenkins.model.Jenkins.init(Jenkins.java:809)
   at hudson.model.Hudson.init(Hudson.java:82)
   at hudson.model.Hudson.init(Hudson.java:78)
   at hudson.WebAppMain$3.run(WebAppMain.java:222)
 Caused by: java.io.IOException: Unable to read D:\Jenkins\config.xml
   at hudson.XmlFile.unmarshal(XmlFile.java:165)
   at jenkins.model.Jenkins$17.run(Jenkins.java:2561)
   at 
 org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
   at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
   at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
   at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
   at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
   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: com.thoughtworks.xstream.converters.ConversionException: -1 : -1
  Debugging information 
 message : -1
 cause-exception : java.lang.ArrayIndexOutOfBoundsException
 cause-message   : -1
 class   : hudson.model.Hudson
 required-type   : hudson.model.Hudson
 converter-type  : hudson.util.RobustReflectionConverter
 path: /hudson/disabledAdministrativeMonitors
 line number : 3
 version : not available
 ---
   at 
 com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
   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:113)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
   at hudson.XmlFile.unmarshal(XmlFile.java:163)
   ... 9 more
 Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
   at 
 com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77)
   at java.util.HashMap.putMapEntries(Unknown Source)
   at java.util.HashMap.putAll(Unknown Source)
   at 
 com.thoughtworks.xstream.core.util.OrderRetainingMap.init(OrderRetainingMap.java:36)
   at 
 com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135)
   at 
 com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113)
   at 
 com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:186)
   at 
 hudson.util.RobustReflectionConverter.fieldDefinedInClass(RobustReflectionConverter.java:344)
   at 
 hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:283)
   at 
 hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:228)
   at 
 com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   ... 18 more
 
 
 -- 
 You received this message because you are subscribed to 

Restore of Jenkins 1.616 back to 1.555

2015-06-11 Thread Paul Wilkins
I was required to upgrade our jenkins install to the latest.   Once this 
was done I encountered some unexpected issues which forced me to want to 
restore back to 1.555.

This is all running on a windows server 2012 running using Java 7 although 
there is an folder for jre1.8.0_45.   This is an old system I inherited so 
I am bit vague on details.   

I hit the Restore to v1.555 button and all seemed ok.   Once I restarted 
the machine and opened Jenkins I get the following message.

If there are anymore details that might help solve this issue please let me 
know.   Thank you.


hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: 
java.io.IOException: Unable to read D:\Jenkins\config.xml
at hudson.WebAppMain$3.run(WebAppMain.java:234)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: 
Unable to read D:\Jenkins\config.xml
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:910)
at jenkins.model.Jenkins.init(Jenkins.java:809)
at hudson.model.Hudson.init(Hudson.java:82)
at hudson.model.Hudson.init(Hudson.java:78)
at hudson.WebAppMain$3.run(WebAppMain.java:222)
Caused by: java.io.IOException: Unable to read D:\Jenkins\config.xml
at hudson.XmlFile.unmarshal(XmlFile.java:165)
at jenkins.model.Jenkins$17.run(Jenkins.java:2561)
at 
org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
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: com.thoughtworks.xstream.converters.ConversionException: -1 : -1
 Debugging information 
message : -1
cause-exception : java.lang.ArrayIndexOutOfBoundsException
cause-message   : -1
class   : hudson.model.Hudson
required-type   : hudson.model.Hudson
converter-type  : hudson.util.RobustReflectionConverter
path: /hudson/disabledAdministrativeMonitors
line number : 3
version : not available
---
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
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:113)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
at hudson.XmlFile.unmarshal(XmlFile.java:163)
... 9 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at 
com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77)
at java.util.HashMap.putMapEntries(Unknown Source)
at java.util.HashMap.putAll(Unknown Source)
at 
com.thoughtworks.xstream.core.util.OrderRetainingMap.init(OrderRetainingMap.java:36)
at 
com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135)
at 
com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113)
at 
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:186)
at 
hudson.util.RobustReflectionConverter.fieldDefinedInClass(RobustReflectionConverter.java:344)
at 
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:283)
at 
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:228)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
... 18 more

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit