Hi

Was there resolution to the PMD pluging failing with exception on logging?
I'm running into same Exception issue with a Maven job.
      Jenkins LTS 1.466.2 .
      Static Analysis Utilities 1.47
      PMD plugin 3.32

Jan 

On Friday, July 27, 2012 8:34:14 AM UTC-4, Kjetil Ødegaard wrote:
>
> I'm trying to upgrade Jenkins and the PMD plugin, but I keep getting an 
> exception [1] on certain Maven jobs which use PMD. Is this a known problem?
>
> It works fine if I downgrade Jenkins to 1.455. Versions 1.456, 1.457, 
> 1.460, 1.465 and 1.473 all fail with this exception.
>
> PMD plugin version 3.29, analysis-core version 1.42. No other hpi plugins.
>
>
> Thanks for any help with this,
>
> —Kjetil
>
>
> [1] 
>
>  

> Caused by: java.lang.IllegalAccessError: tried to access class 
> org.apache.commons.logging.impl.LogFactoryImpl$3 from class 
> org.apache.commons.logging.impl.LogFactoryImpl
>
[Snipped] 

> Caused by: java.lang.IllegalAccessError: tried to access class 
> org.apache.commons.logging.impl.LogFactoryImpl$3 from class 
> org.apache.commons.logging.
> [INFO] Trace
> org.apache.commons.logging.LogConfigurationException: 
> java.lang.IllegalAccessError: tried to access class 
> org.apache.commons.logging.impl.LogFactoryImpl$3 from class 
> org.apache.commons.logging.impl.LogFactoryImpl (Caused by 
> java.lang.IllegalAccessError: tried to access class 
> org.apache.commons.logging.impl.LogFactoryImpl$3 from class 
> org.apache.commons.logging.impl.LogFactoryImpl)
>         at 
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:637)
>         at 
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
>         at 
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:704)
>         at org.apache.commons.digester.Digester.<init>(Digester.java:304)
>         at hudson.plugins.pmd.parser.PmdParser.parse(PmdParser.java:51)
>         at 
> hudson.plugins.analysis.core.AbstractAnnotationParser.parse(AbstractAnnotationParser.java:52)
>         at 
> hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:358)
>         at 
> hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:317)
>         at 
> hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:266)
>         at 
> hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31)
>         at hudson.FilePath.act(FilePath.java:832)
>         at hudson.FilePath.act(FilePath.java:814)
>         at hudson.plugins.pmd.PmdReporter.perform(PmdReporter.java:112)
>         at 
> hudson.plugins.analysis.core.HealthAwareReporter.postExecute(HealthAwareReporter.java:304)
>         at hudson.maven.Maven2Builder.postExecute(Maven2Builder.java:155)
>         at 
> hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:310)
>         at 
> hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170)
>         at 
> hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183)
>         at 
> org.apache.commons.logging.impl.LogFactoryImpl.getParentClassLoader(LogFactoryImpl.java:700)
>         at 
> org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1187)
>         at 
> org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
>         at 
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
>         ... 46 more
>  
>

Reply via email to