[JIRA] (JENKINS-40106) Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND

2016-11-30 Thread samta.sha...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 S Sharma closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Upgrading to new version of Jenkins was the fix.   
 

  
 
 
 
 

 
 Jenkins /  JENKINS-40106  
 
 
  Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND   
 

  
 
 
 
 

 
Change By: 
 S Sharma  
 
 
Status: 
 Resolved Closed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-40106) Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND

2016-11-30 Thread samta.sha...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 S Sharma commented on  JENKINS-40106  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND   
 

  
 
 
 
 

 
 Ulli Hafner Thats right. Just the update to new Jenkins fixed the issue. Thanks very much!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-40106) Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND

2016-11-30 Thread samta.sha...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 S Sharma commented on  JENKINS-40106  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND   
 

  
 
 
 
 

 
 Ulli Hafner Thanks for looking into the issue. By analysis core you mean Static Analysis Utilities? I have 1.80 now and i was working on 1.79 before.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-40106) Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND

2016-11-30 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner resolved as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 I think your installation is too old: please update Jenkins and the analysis plugins. (required core >= 1.625.1)  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-40106  
 
 
  Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND   
 

  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving 

[JIRA] (JENKINS-40106) Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND

2016-11-29 Thread samta.sha...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 S Sharma updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40106  
 
 
  Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND   
 

  
 
 
 
 

 
Change By: 
 S Sharma  
 

  
 
 
 
 

 
 Hi,I am trying to publish PMD analysis report published by my ANT script in freestyle project(jenkins job). The ANT Script runs successfully and i can see the warnings generated in the pmd.xml file in my jenkins workspace folder .The pmd report is saved as pmd.xml in the root of workspace. Also, when I configure the settings of the job, i see an ERROR right away after i add publish PMD report in Post build actions. The stack trace has been attached along with the console output for pmd. What I tried: Downgrading to Static Analysis Utilities 1.60. with no success in resolving the issue. Update: I tried build again, without any changes but it gives me different stack trace on console from first output (attached):{color:red}(second build console output ){color}Total time: 2 seconds[PMD] Collecting PMD analysis files...ERROR: Publisher hudson.plugins.pmd.PmdPublisher aborted due to exceptionjava.lang.NoClassDefFoundError: jenkins/MasterToSlaveFileCallable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1138) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:756) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1309) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1365) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at jenkins.ClassLoaderReflectionToolkit.invoke(ClassLoaderReflectionToolkit.java:44) at jenkins.ClassLoaderReflectionToolkit._findClass(ClassLoaderReflectionToolkit.java:86) at hudson.ClassicPluginStrategy$DependencyClassLoader.findClass(ClassicPluginStrategy.java:634) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at jenkins.util.AntClassLoader.findBaseClass(AntClassLoader.java:1397) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1074) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:80) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:68) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:280) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at 

[JIRA] (JENKINS-40106) Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND

2016-11-29 Thread samta.sha...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 S Sharma updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40106  
 
 
  Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND   
 

  
 
 
 
 

 
Change By: 
 S Sharma  
 
 
Environment: 
 Windows 7 E, 64 bit | Jenkins v1.581  | analysis-core-1.79 |analysis-collector-1.41| pmd- 3.45  | apache-ant-1.9.4| jdk-1.7.0-60 | Static analysis utilities-1.79 |  Web Browser- Chrome  | pmd 5.5.2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-40106) Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND

2016-11-29 Thread samta.sha...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SAMTA SHARMA created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40106  
 
 
  Adding PMD plugin gives javax.servlet.ServletException: java.lang.NoSuchFieldError: VALIDATE_ANT_FILE_MASK_BOUND   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Ulli Hafner  
 
 
Attachments: 
 consoleOutput.txt, PostBuildActionErrorStackTrace.txt  
 
 
Components: 
 pmd-plugin  
 
 
Created: 
 2016/Nov/29 9:17 PM  
 
 
Environment: 
 Windows 7 E, 64 bit | Jenkins v1.581 | analysis-core-1.79 |analysis-collector-1.41| pmd- 3.45 | apache-ant-1.9.4| jdk-1.7.0-60 | Static analysis utilities-1.79 |  Web Browser- Chrome  
 
 
Labels: 
 pmd plugin  
 
 
Priority: 
  Major  
 
 
Reporter: 
 SAMTA SHARMA  
 

  
 
 
 
 

 
 Hi, I am trying to publish PMD analysis report published by my ANT script in freestyle project(jenkins job). The ANT Script runs successfully and i can see the warnings generated in the pmd.xml file in my jenkins workspace folder .The pmd report is saved as pmd.xml in the root of workspace.  Also, when I configure the settings of the job, i see an ERROR right away after i add publish PMD report in Post build actions. The stack trace has been attached along with the console output for pmd.  What I tried: Downgrading to Static Analysis Utilities 1.60. with no success in resolving the issue.