• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Fails to parse the Emma-Input-File:

      hudson.util.IOException2: Failed to parse
      /home/tascheb/.hudson/jobs/Info-Manager/builds/2007-03-08_09-33-29/emma.xml
      at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:115)
      at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:33)
      at hudson.model.Build$RunnerImpl.post(Build.java:135)
      at hudson.model.Run.run(Run.java:562)
      at hudson.model.Build.run(Build.java:99)
      at hudson.model.Executor.run(Executor.java:61)
      Caused by: org.xmlpull.v1.XmlPullParserException: expected event START_TAG with
      name 'coverage' and with namespace '' but got name 'package' (postion: START_TAG
      seen ...ue="8% (9943/118717)"/>\n\n <package name="de.lexis.lexdiff">...
      @15:40)
      at org.xmlpull.mxp1.MXParser.require(MXParser.java:973)
      at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:138)
      at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:113)
      ... 5 more
      finished: FAILURE

      I am using the latest Hudson and Emma-Release

          [JENKINS-350] Emma fails

          Would it be possible for you to post your emma.xml file as an attachment to this
          issue?

          Kohsuke Kawaguchi added a comment - Would it be possible for you to post your emma.xml file as an attachment to this issue?

          troggan added a comment -

          Yes, I will attach the file tomorrow morning when i am back at work.

          troggan added a comment - Yes, I will attach the file tomorrow morning when i am back at work.

          troggan added a comment -

          Created an attachment (id=41)
          Emma-File

          troggan added a comment - Created an attachment (id=41) Emma-File

          troggan added a comment -

          I added the xml-File.

          troggan added a comment - I added the xml-File.

          Fixed in 1.6.

          I didn't realize that line coverage can be disabled, and that was causing a
          parse error.

          Kohsuke Kawaguchi added a comment - Fixed in 1.6. I didn't realize that line coverage can be disabled, and that was causing a parse error.

          troggan added a comment -

          Sorry, this is not fixed in v1.87 :

          Recording Emma reports trunk/release/emma/coverage.emma
          FATAL: failed
          hudson.util.IOException2: Failed to parse
          /home/tascheb/.hudson/jobs/Info-Manager/builds/2007-03-15_09-28-00/emma.xml
          at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:115)
          at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:33)
          at hudson.model.Build$RunnerImpl.post(Build.java:135)
          at hudson.model.Run.run(Run.java:557)
          at hudson.model.Build.run(Build.java:99)
          at hudson.model.Executor.run(Executor.java:61)
          Caused by: org.xmlpull.v1.XmlPullParserException: only whitespace content
          allowed before start tag and not E (position: START_DOCUMENT seen E... @1:1)
          at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1475)
          at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1351)
          at org.xmlpull.mxp1.MXParser.next(MXParser.java:1061)
          at org.xmlpull.mxp1.MXParser.nextTag(MXParser.java:1046)
          at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:128)
          at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:113)
          ... 5 more
          finished: FAILURE

          troggan added a comment - Sorry, this is not fixed in v1.87 : Recording Emma reports trunk/release/emma/coverage.emma FATAL: failed hudson.util.IOException2: Failed to parse /home/tascheb/.hudson/jobs/Info-Manager/builds/2007-03-15_09-28-00/emma.xml at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:115) at hudson.plugins.emma.EmmaPublisher.perform(EmmaPublisher.java:33) at hudson.model.Build$RunnerImpl.post(Build.java:135) at hudson.model.Run.run(Run.java:557) at hudson.model.Build.run(Build.java:99) at hudson.model.Executor.run(Executor.java:61) Caused by: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not E (position: START_DOCUMENT seen E... @1:1) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1475) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1351) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1061) at org.xmlpull.mxp1.MXParser.nextTag(MXParser.java:1046) at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:128) at hudson.plugins.emma.EmmaBuildAction.load(EmmaBuildAction.java:113) ... 5 more finished: FAILURE

          This seems like a totally different error, though. The
          /home/tascheb/.hudson/jobs/Info-Manager/builds/2007-03-15_09-28-00/emma.xml file
          is probably not well-formed. Can you check?

          Kohsuke Kawaguchi added a comment - This seems like a totally different error, though. The /home/tascheb/.hudson/jobs/Info-Manager/builds/2007-03-15_09-28-00/emma.xml file is probably not well-formed. Can you check?

          troggan added a comment -

          I tried to reproduce it this morning, but I failed . You're free to close this
          bug.

          troggan added a comment - I tried to reproduce it this morning, but I failed . You're free to close this bug.

          This seems like a well-formedness error in the emma.xml file.

          Kohsuke Kawaguchi added a comment - This seems like a well-formedness error in the emma.xml file.

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

              Created:
              Updated:
              Resolved: