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

    • Similar Issues:

      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

            Hide
            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.

            Show
            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.
            Hide
            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'.
                *
            
            Show
            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' . *
            Hide
            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.

            Show
            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.
            Hide
            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

            Show
            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
            Hide
            edwardk Edward Kimber added a comment -

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

            Show
            edwardk Edward Kimber added a comment - Leroy Kendall Thanks very much for the fix!! I have put your changes in a new release which should show up in the update center soon.
            Hide
            mbreevoort Michel Breevoort added a comment -

            Edward Kimber 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?

            Show
            mbreevoort Michel Breevoort added a comment - Edward Kimber 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?
            Hide
            ilubenets Igor Lubenets added a comment -

            Hello Edward Kimber,

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

            Show
            ilubenets Igor Lubenets added a comment - Hello Edward Kimber , could you please say, when are you going to release new version? We have the same problem as described.
            Hide
            akhalymon Andrew Khalymon added a comment -

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

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

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

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

            Andrew Khalymon Thnx, with version 1.1.9 it works

            Show
            mbreevoort Michel Breevoort added a comment - - edited Andrew Khalymon Thnx, with version 1.1.9 it works
            Hide
            seanf Sean Flanigan added a comment -

            Seems like it might be a duplicate.

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

              People

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

                Dates

                • Created:
                  Updated: