• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • crap4j-plugin
    • None
    • Platform: All, OS: Linux

      [CRAP4J] Searching for report files within crap4j/report.xml
      [CRAP4J] Using the new FileSetBuilder
      FATAL: Unparseable number: "?" for ?
      java.lang.NumberFormatException: Unparseable number: "?" for ?
      at
      com.schneide.crap4j.reader.util.NumericalParser.parseDouble(NumericalParser.java:27)
      at com.schneide.crap4j.reader.ReportReader.parseStatistics(ReportReader.java:143)
      at com.schneide.crap4j.reader.ReportReader.parseData(ReportReader.java:131)
      at
      hudson.plugins.crap4j.Crap4JPublisher.loadProjectCrapBeans(Crap4JPublisher.java:134)
      at
      hudson.plugins.crap4j.Crap4JPublisher.createCurrentProjectCrapBean(Crap4JPublisher.java:116)
      at hudson.plugins.crap4j.Crap4JPublisher.perform(Crap4JPublisher.java:96)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:466)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:454)
      at hudson.model.Build$RunnerImpl.post2(Build.java:146)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:438)
      at hudson.model.Run.run(Run.java:1140)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)

          [JENKINS-4483] Unparseable number: "?" for ?

          dlindner added a comment -

          This problem appeared sooner in combination with different locales for the
          crap4j report writer and this plugin and in combination with AspectJ. I
          harnessed the plugin against the first problem, but couldn't do much about the
          latter one.

          Please refer to issue 2953 https://hudson.dev.java.net/issues/show_bug.cgi?id=2953
          and see if your problem is the same. If not, can you describe your use case a bit?

          dlindner added a comment - This problem appeared sooner in combination with different locales for the crap4j report writer and this plugin and in combination with AspectJ. I harnessed the plugin against the first problem, but couldn't do much about the latter one. Please refer to issue 2953 https://hudson.dev.java.net/issues/show_bug.cgi?id=2953 and see if your problem is the same. If not, can you describe your use case a bit?

          eagleigor added a comment -

          I have a more basic request for the XML parsing errors. If plug-in for some
          reason can not parse a file it would be great to catch exception and print some
          warning message about it, instead of completely failed whole build process.

          In my case we run a lot of different reports and if one of them failed it is
          great to have some warning why, but still not to break entire build.

          As for the "?" - NumberFormatException, I'm not sure this is locale issue, we
          use only en locale.

          eagleigor added a comment - I have a more basic request for the XML parsing errors. If plug-in for some reason can not parse a file it would be great to catch exception and print some warning message about it, instead of completely failed whole build process. In my case we run a lot of different reports and if one of them failed it is great to have some warning why, but still not to break entire build. As for the "?" - NumberFormatException, I'm not sure this is locale issue, we use only en locale.

            dlindner dlindner
            eagleigor eagleigor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: