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

javax.servlet.ServletException Caused by: org.apache.commons.jelly.JellyTagException: in PIT Mutation Report

    XMLWordPrintable

Details

    Description

      Steps followed :
      1.Installed PIT Mutation Plugin ---version :1.0-13.
      2. Ran Pit tests , which generated mutations.xml and other html files in (target/pit-reports/*)
      3. Click on the ninja icon(PIT Mutation Report) in Jenkins job.
      4. getting below exception

      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/upapps/tmx/ci/plugins/pitmutation/WEB-INF/lib/classes.jar!/org/jenkinsci/plugins/pitmutation/PitProjectAction/nodata.jelly:4:64: <st:include> No page found 'sidepanel.jelly' for class org.jenkinsci.plugins.pitmutation.PitProjectAction

      Please find attached stack trace .

      Thanks,
      Firozkhan

      Attachments

        Issue Links

          Activity

            leroykendall Leroy Kendall added a comment -

            I have exactly the same issue.
            Is there any ETA when it is fixed?
            Does anybody work on this issue?
            It blocks us from using pit mutation plugin in Jenkins.
            Thanks.

            leroykendall Leroy Kendall added a comment - I have exactly the same issue. Is there any ETA when it is fixed? Does anybody work on this issue? It blocks us from using pit mutation plugin in Jenkins. Thanks.
            leroykendall Leroy Kendall added a comment - - edited

            I was able to fix this. Here is the diff:

            ---- src/main/java/org/jenkinsci/plugins/pitmutation/PitProjectAction.java ----
            index e7a76b4..73a7b7c 100644
            @@ -15,12 +15,16 @@ public class PitProjectAction extends Actionable implements ProminentProjectActi
               public PitProjectAction(AbstractProject<?, ?> project) {
                 this.project = project;
             
            -    PitPublisher cp = (PitPublisher) project.getPublishersList().get(PitPublisher.DESCRIPTOR);
            +//    PitPublisher cp = (PitPublisher) project.getPublishersList().get(PitPublisher.DESCRIPTOR);
             //    if (cp != null) {
             //      onlyStable = cp.getOnlyStable();
             //    }
               }
             
            +  public AbstractProject<?, ?> getProject() {
            +    return project;
            +  }
            +
               /**
                * Getter for property 'lastResult'.
                *
            
            leroykendall Leroy Kendall added a comment - - edited I was able to fix this. Here is the diff: ---- src/main/java/org/jenkinsci/plugins/pitmutation/PitProjectAction.java ---- index e7a76b4..73a7b7c 100644 @@ -15,12 +15,16 @@ public class PitProjectAction extends Actionable implements ProminentProjectActi public PitProjectAction(AbstractProject<?, ?> project) { this .project = project; - PitPublisher cp = (PitPublisher) project.getPublishersList().get(PitPublisher.DESCRIPTOR); + // PitPublisher cp = (PitPublisher) project.getPublishersList().get(PitPublisher.DESCRIPTOR); // if (cp != null ) { // onlyStable = cp.getOnlyStable(); // } } + public AbstractProject<?, ?> getProject() { + return project; + } + /** * Getter for property 'lastResult' . *
            firozkhan Firoz Khan added a comment -

            Great to see fix, Thank you Leroy Kendall . All these days as alternative I have configured HTML report to show up PIT results in CI.

            firozkhan Firoz Khan added a comment - Great to see fix, Thank you Leroy Kendall . All these days as alternative I have configured HTML report to show up PIT results in CI.

            Code changed in jenkins
            User: Ed Kimber
            Path:
            src/main/java/org/jenkinsci/plugins/pitmutation/PitProjectAction.java
            http://jenkins-ci.org/commit/pitmutation-plugin/aa2a09a00c8854fc08e9af819500c5fc9beb58f3
            Log:
            JENKINS-31779 Fix by Leroy Kendall

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ed Kimber Path: src/main/java/org/jenkinsci/plugins/pitmutation/PitProjectAction.java http://jenkins-ci.org/commit/pitmutation-plugin/aa2a09a00c8854fc08e9af819500c5fc9beb58f3 Log: JENKINS-31779 Fix by Leroy Kendall
            edwardk Edward Kimber added a comment -

            leroykendall Thanks very much for the fix!! I have put your changes in a new release which should show up in the update center soon.

            edwardk Edward Kimber added a comment - leroykendall Thanks very much for the fix!! I have put your changes in a new release which should show up in the update center soon.

            edwardk Stil have the same problem with 1.0-13 and there is no newer version yet. Probably you are very busy. It would be appreciated this fix is released? Can we help?

            mbreevoort Michel Breevoort added a comment - edwardk Stil have the same problem with 1.0-13 and there is no newer version yet. Probably you are very busy. It would be appreciated this fix is released? Can we help?
            ilubenets Igor Lubenets added a comment -

            Hello edwardk,

            could you please say, when are you going to release new version? We have the same problem as described.

            ilubenets Igor Lubenets added a comment - Hello edwardk , could you please say, when are you going to release new version? We have the same problem as described.

            ilubenets to workaround this issue I suggest just to downgrade maven.pitest.plugin.version to 1.1.9

            akhalymon Andrew Khalymon added a comment - ilubenets to workaround this issue I suggest just to downgrade maven.pitest.plugin.version to 1.1.9
            ilubenets Igor Lubenets added a comment -

            akhalymon yes, it works on version 1.1.9. Thanks a lot!

            ilubenets Igor Lubenets added a comment - akhalymon yes, it works on version 1.1.9. Thanks a lot!
            mbreevoort Michel Breevoort added a comment - - edited

            akhalymon Thnx, with version 1.1.9 it works

            mbreevoort Michel Breevoort added a comment - - edited akhalymon Thnx, with version 1.1.9 it works
            seanf Sean Flanigan added a comment -

            Seems like it might be a duplicate.

            seanf Sean Flanigan added a comment - Seems like it might be a duplicate.

            People

              edwardk Edward Kimber
              firozkhan408 firoz khan
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: