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

StackOverflowError migrating from 1.286 to 1.289

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • other
    • None
    • Platform: All, OS: All

      I was migrating from 1.286 to 1.289 using glassfish as the container and
      received a StackOverflowError on the layout.jelly file. I then tried to
      redeployed back to version 1.286 and received the same error. I was only
      successful migrating back to version 1.282...

      Error from the web page:

      type Exception report

      message

      descriptionThe server encountered an internal error () that prevented it from
      fulfilling this request.

      exception

      javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException:
      file:/home/hudson/domains/hudson/generated/jsp/j2ee-modules/hudson/loader/lib/layout/layout.jelly:119:53:
      java.lang.StackOverflowError

      root cause

      org.apache.commons.jelly.JellyTagException:
      file:/home/hudson/domains/hudson/generated/jsp/j2ee-modules/hudson/loader/lib/layout/layout.jelly:119:53:
      java.lang.StackOverflowError

      root cause

      java.lang.StackOverflowError

      note The full stack traces of the exception and its root causes are available in
      the Sun Java System Application Server 9.1_01 logs.

      stack from server.log:

      [#|2009-03-03T22:36:57.302-0500|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=158;_ThreadName=hudson
      initialization
      thread;_RequestID=a2c6d3c7-91b4-4ad0-82c3-9e83c3193ce9;|java.lang.Error:
      hudson.util.IOException2: Unable to read /home/hudson/ci/hudson/config.xml
      at hudson.WebAppMain$2.run(WebAppMain.java:192)
      Caused by: hudson.util.IOException2: Unable to read
      /home/hudson/ci/hudson/config.xml
      at hudson.XmlFile.unmarshal(XmlFile.java:150)
      at hudson.model.Hudson.load(Hudson.java:1794)
      at hudson.model.Hudson.<init>(Hudson.java:514)
      at hudson.WebAppMain$2.run(WebAppMain.java:190)
      Caused by: com.thoughtworks.xstream.converters.ConversionException: Could not
      call hudson.model.ListView.readResolve() : null : Could not call
      hudson.model.ListView.readResolve() : null
      ---- Debugging information ----
      message : Could not call hudson.model.ListView.readResolve() : null
      cause-exception :
      com.thoughtworks.xstream.converters.reflection.ObjectAccessException
      cause-message : Could not call hudson.model.ListView.readResolve() : null
      class : hudson.model.Hudson
      required-type : hudson.model.ListView
      path : /hudson/views/listView
      line number : 135
      -------------------------------
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:88)
      at
      com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)
      at
      com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:77)
      at
      hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:79)
      at
      com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
      at
      hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:71)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      at
      com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)
      at
      hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:262)
      at
      hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:222)
      at
      hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:173)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      at
      com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142)
      at
      com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931)
      at hudson.util.XStream2.unmarshal(XStream2.java:65)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917)
      at hudson.XmlFile.unmarshal(XmlFile.java:146)
      ... 3 more
      Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException:
      Could not call hudson.model.ListView.readResolve() : null
      at
      com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:50)
      at
      hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:174)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81)
      ... 27 more
      Caused by: java.lang.StackOverflowError
      at java.util.zip.Inflater.inflate(Inflater.java:221)
      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135)
      at java.io.FilterInputStream.read(FilterInputStream.java:116)
      at
      java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2269)
      at
      java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2277)
      at
      java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2433)
      at
      java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2497)
      at
      java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2569)
      at java.io.DataInputStream.readInt(DataInputStream.java:370)
      at
      java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2774)
      at java.io.ObjectInputStream.readInt(ObjectInputStream.java:950)
      at java.util.TreeMap.readObject(TreeMap.java:2266)
      at sun.reflect.GeneratedMethodAccessor1697.invoke(Unknown Source)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:133)
      at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146)
      at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146)
      at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146)
      at net.java.sezpoz.Index$LazyIndexIterator.doPeek(Index.java:146)
      a

      The stack claims it couldn't read the config.xml file but that is not true @ all.

            Unassigned Unassigned
            mezlight mezlight
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: