Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
    • Environment:
      Jenkins version 1.475, Ubuntu .deb package
    • Similar Issues:

      Description

      Error

      Failed to parse form data. Please report this problem as a bug
      JSON={"":"<embed height=\"300\" src=\"http://jenkins.domain.com:8080/job/job-name/ws/build/pdepend/overview-pyramid.svg\" type=\"image/svg+xml\" width=\"500\"><\/embed>\n<embed height=\"300\" src=\"http://jenkins.domain.com:8080/job/job-name/ws/build/pdepend/dependencies.svg\" type=\"image/svg+xml\" width=\"500\"><\/embed>","builder":

      {"antOpts":"","buildFile":"","kind":"hudson.tasks.Ant","properties":"","stapler-class":"hudson.tasks.Ant","targets":"build-parallel"}

      ,"core:apply":"","description":"<embed height=\"300\" src=\"http://jenkins.domain.com:8080/job/job-name/ws/build/pdepend/overview-pyramid.svg\" type=\"image/svg+xml\" width=\"500\"><\/embed>\n<embed height=\"300\" src=\"http://jenkins.domain.com:8080/job/job-name/ws/build/pdepend/dependencies.svg\" type=\"image/svg+xml\" width=\"500\"><\/embed>","disable":{},"displayNameOrNull":"","hudson-triggers-SCMTrigger":

      {"scmpoll_spec":"* * * * *"}

      ,"logrotate":

      {"logrotate_artifact_days":"","logrotate_artifact_nums":"","logrotate_days":"","logrotate_nums":"200"}

      ,"name":"project-internal","properties":{"hudson-model-ParametersDefinitionProperty":{},"stapler-class-bag":"true"},"publisher":[{"canComputeNew":

      {"failedNewAll":"","failedNewHigh":"","failedNewLow":"","failedNewNormal":"","unstableNewAll":"","unstableNewHigh":"","unstableNewLow":"","unstableNewNormal":"","useDeltaValues":false}

      ,"canRunOnFailed":true,"defaultEncoding":"","failedTotalAll":"","failedTotalHigh":"","failedTotalLow":"","failedTotalNormal":"","healthy":"","kind":"hudson.plugins.checkstyle.CheckStylePublisher","pattern":"build/logs/checkstyle.xml","shouldDetectModules":false,"stapler-class":"hudson.plugins.checkstyle.CheckStylePublisher","thresholdLimit":"low","unHealthy":"","unstableTotalAll":"","unstableTotalHigh":"","unstableTotalLow":"","unstableTotalNormal":""},{"canComputeNew":

      {"failedNewAll":"","failedNewHigh":"","failedNewLow":"","failedNewNormal":"","unstableNewAll":"","unstableNewHigh":"","unstableNewLow":"","unstableNewNormal":"","useDeltaValues":false}

      ,"canRunOnFailed":true,"defaultEncoding":"","failedTotalAll":"","failedTotalHigh":"","failedTotalLow":"","failedTotalNormal":"","healthy":"","kind":"hudson.plugins.pmd.PmdPublisher","pattern":"build/logs/pmd.xml","shouldDetectModules":false,"stapler-class":"hudson.plugins.pmd.PmdPublisher","thresholdLimit":"low","unHealthy":"","unstableTotalAll":"","unstableTotalHigh":"","unstableTotalLow":"","unstableTotalNormal":""},{"canComputeNew":

      {"failedNewAll":"","failedNewHigh":"","failedNewLow":"","failedNewNormal":"","unstableNewAll":"","unstableNewHigh":"","unstableNewLow":"","unstableNewNormal":"","useDeltaValues":false}

      ,"canRunOnFailed":true,"defaultEncoding":"","failedTotalAll":"","failedTotalHigh":"","failedTotalLow":"","failedTotalNormal":"","healthy":"","highThreshold":"50","kind":"hudson.plugins.dry.DryPublisher","normalThreshold":"25","pattern":"build/logs/pmd-cpd.xml","shouldDetectModules":false,"stapler-class":"hudson.plugins.dry.DryPublisher","thresholdLimit":"low","unHealthy":"","unstableTotalAll":"","unstableTotalHigh":"","unstableTotalLow":"","unstableTotalNormal":""},{"kind":"hudson.plugins.plot.PlotPublisher","plots":[{"csvFileName":"123.csv","group":"phploc","numBuilds":"100","series":{"file":"build/logs/phploc.csv","fileType":{"displayTableFlag":false,"exclusionValues":"Lines of Code (LOC),Comment Lines of Code (CLOC),Non-Comment Lines of Code (NCLOC)","inclusionFlag":"INCLUDE_BY_STRING","url":"","value":"csv"}},"style":"line","title":"A - Lines of code","useDescr":false,"yaxis":"Lines of Code"},{"csvFileName":"1107599928.csv","group":"phploc","numBuilds":"100","series":{"file":"build/logs/phploc.csv","fileType":{"displayTableFlag":false,"exclusionValues":"Directories,Files,Namespaces,Interfaces,Classes,Methods,Functions,Anonymous Functions,Constants","inclusionFlag":"INCLUDE_BY_STRING","url":"","value":"csv"}},"style":"line","title":"B - Structures","useDescr":false,"yaxis":"Count"},{"csvFileName":"523405415.csv","group":"phploc","numBuilds":"100","series":{"file":"build/logs/phploc.csv","fileType":{"displayTableFlag":false,"exclusionValues":"Average Class Length (NCLOC),Average Method Length (NCLOC)","inclusionFlag":"INCLUDE_BY_STRING","url":"","value":"csv"}},"style":"line","title":"G - Average Length","useDescr":false,"yaxis":"Average Non-Comment Lines of Code"},{"csvFileName":"186376189.csv","group":"phploc","numBuilds":"100","series":{"file":"build/logs/phploc.csv","fileType":{"displayTableFlag":false,"exclusionValues":"Cyclomatic Complexity / Lines of Code,Cyclomatic Complexity / Number of Methods","inclusionFlag":"INCLUDE_BY_STRING","url":"","value":"csv"}},"style":"line","title":"H - Relative Cyclomatic Complexity","useDescr":false,"yaxis":"Cyclomatic Complexity by Strcuture"},{"csvFileName":"594356163.csv","group":"phploc","numBuilds":"100","series":{"file":"build/logs/phploc.csv","fileType":{"displayTableFlag":false,"exclusionValues":"Classes,Abstract Classes,Concrete Classes","inclusionFlag":"INCLUDE_BY_STRING","url":"","value":"csv"}},"style":"line","title":"D - Types of Classes","useDescr":false,"yaxis":"Count"},{"csvFileName":"1019987862.csv","group":"phploc","numBuilds":"100","series":{"file":"build/logs/phploc.csv","fileType":{"displayTableFlag":false,"exclusionValues":"Methods,Non-Static Methods,Static Methods,Public Methods,Non-Public Methods","inclusionFlag":"INCLUDE_BY_STRING","url":"","value":"csv"}},"style":"line","title":"E - Types of Methods","useDescr":false,"yaxis":"Count"},{"csvFileName":"217648577.csv","group":"phploc","numBuilds":"100","series":{"file":"build/logs/phploc.csv","fileType":{"displayTableFlag":false,"exclusionValues":"Constants,Global Constants,Class Constants","inclusionFlag":"INCLUDE_BY_STRING","url":"","value":"csv"}},"style":"line","title":"F - Types of Constants","useDescr":false,"yaxis":"Count"},{"csvFileName":"174807245.csv","group":"phploc","numBuilds":"100","series":{"file":"build/logs/phploc.csv","fileType":{"displayTableFlag":false,"exclusionValues":"Classes,Methods,Functions,Test Clases,Test Methods","inclusionFlag":"INCLUDE_BY_STRING","url":"","value":"csv"}},"style":"line","title":"C - Testing","useDescr":false,"yaxis":"Count"}],"stapler-class":"hudson.plugins.plot.PlotPublisher"},{"kind":"org.jenkinsci.plugins.cloverphp.CloverPublisher","methodCoverage":["70","",""],"publishHtmlReport":

      {"disableprojecthiving":false,"reportDir":"build/coverage"}

      ,"stapler-class":"org.jenkinsci.plugins.cloverphp.CloverPublisher","statementCoverage":["80","",""],"xmlLocation":"build/logs/clover.xml"},{"kind":"htmlpublisher.HtmlPublisher","reportTargets":[

      {"keepAll":true,"reportDir":"build/api","reportFiles":"index.html","reportName":"API Documentation"}

      ,

      {"keepAll":true,"reportDir":"build/code-browser","reportFiles":"index.html","reportName":"Code Browser"}

      ],"stapler-class":"htmlpublisher.HtmlPublisher"},{"kind":"org.jenkinsci.plugins.xunit.XUnitPublisher","stapler-class":"org.jenkinsci.plugins.xunit.XUnitPublisher","thresholds":[

      {"failureNewThreshold":"","failureThreshold":"","kind":"org.jenkinsci.plugins.xunit.threshold.FailedThresholdDescriptor","stapler-class":"org.jenkinsci.plugins.xunit.threshold.FailedThreshold","unstableNewThreshold":"","unstableThreshold":""}

      ,

      {"failureNewThreshold":"","failureThreshold":"","kind":"org.jenkinsci.plugins.xunit.threshold.SkippedThresholdDescriptor","stapler-class":"org.jenkinsci.plugins.xunit.threshold.SkippedThreshold","unstableNewThreshold":"","unstableThreshold":""}

      ],"tools":{"deleteOutputFiles":true,"faildedIfNotNew":true,"kind":"class com.thalesgroup.dtkit.junit.PHPUnit","pattern":"build/logs/junit.xml","stapler-class":"com.thalesgroup.dtkit.metrics.hudson.model.PHPUnitJunitHudsonTestType","stopProcessingIfError":true}},

      {"configuredJDependFile":"build/logs/jdepend.xml","kind":"hudson.plugins.jdepend.JDependRecorder","stapler-class":"hudson.plugins.jdepend.JDependRecorder"}

      ,

      {"encoding":"default","fauxProjectPath":"","kind":"hudson.plugins.violations.ViolationsPublisher","limit":"100","max":["999","999","999","999","999","999","999","999","999","999","999","999","999","999","999"],"min":["10","10","10","10","10","10","10","10","10","10","10","10","10","10","10"],"pattern":["build/logs/checkstyle.xml","","build/logs/pmd-cpd.xml","","","","","","","","","build/logs/pmd.xml","","",""],"sourcePathPattern":"","stapler-class":"hudson.plugins.violations.ViolationsPublisher","unstable":["999","999","999","999","999","999","999","999","999","999","999","999","999","999","999"]}

      ],"scm":{"":["hudson.plugins.git.util.DefaultBuildChooser","auto"],"authorOrCommitter":false,"branches":

      {"name":"next"}

      ,"buildChooser":

      {"stapler-class":"hudson.plugins.git.util.DefaultBuildChooser"}

      ,"clean":false,"disableSubmodules":false,"excludedRegions":"","excludedUsers":"","gitConfigEmail":"","gitConfigName":"","gitTool":"Default","ignoreNotifyCommit":false,"includedRegions":"","localBranch":"","pruneBranches":false,"recursiveSubmodules":false,"reference":"","relativeTargetDir":"","remotePoll":false,"scmName":"","skipTag":false,"userRemoteConfigs":

      {"name":"origin","refspec":"+refs/heads/*:refs/remotes/origin/*","url":"ssh://git@gitorious.domain.com/project/project.git"}

      ,"value":"1","wipeOutWorkspace":false}}

      net.sf.json.JSONException: JSONObject["thresholdMode"] is not a number.
      at net.sf.json.JSONObject.getInt(JSONObject.java:1722)
      at org.jenkinsci.plugins.xunit.XUnitPublisher$XUnitDescriptorPublisher.newInstance(XUnitPublisher.java:438)
      at org.jenkinsci.plugins.xunit.XUnitPublisher$XUnitDescriptorPublisher.newInstance(XUnitPublisher.java:393)
      at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:912)
      at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:899)
      at hudson.util.DescribableList.rebuildHetero(DescribableList.java:203)
      at hudson.model.Project.submit(Project.java:203)
      at hudson.model.Job.doConfigSubmit(Job.java:990)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:699)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yuav Jon Skarpeteig
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: