maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] (MSHARED-219) Maven3 LinkageError in maven report
Date Mon, 09 Apr 2012 17:44:02 GMT

     [ https://jira.codehaus.org/browse/MSHARED-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Herve Boutemy updated MSHARED-219:
----------------------------------

    Description: 
Creating a maven report using some kind of a filter sink:

{code:java}public class DoxiaTestMojo extends AbstractMavenReport {

...

 @Override
 protected void executeReport(Locale locale) throws
MavenReportException {
     org.apache.maven.doxia.sink.Sink s = new SinkAdapter() {
             ...
     };
     ...
 }
}{code}

produces the following error:

{noformat}[WARNING] An issue has occurred with report at.gw.test.DoxiaTestMojo,
skip LinkageError loader constraint violation in interface itable
initialization: when resolving method
"org.apache.maven.doxia.sink.AbstractSink.enableLogging(Lorg/apache/maven/doxia/logging/Log;)V"
the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) of the current
class, org/apache/maven/doxia/sink/AbstractSink, and the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm)
for interface org/apache/maven/doxia/logging/LogEnabled have different Class objects for the
type org/apache/maven/doxia/logging/Log used in the signature, please report an issue to Maven
dev team.{noformat}


  was:
Creating a maven report using some kind of a filter sink:

public class DoxiaTestMojo extends AbstractMavenReport {

...

 @Override
 protected void executeReport(Locale locale) throws
MavenReportException {
     org.apache.maven.doxia.sink.Sink s = new SinkAdapter() {
             ...
     };
     ...
 }
}

produces the following error:

[WARNING] An issue has occurred with report at.gw.test.DoxiaTestMojo,
skip LinkageError loader constraint violation in interface itable
initialization: when resolving method
"org.apache.maven.doxia.sink.AbstractSink.enableLogging(Lorg/apache/maven/doxia/logging/Log;)V"
the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) of the current
class, org/apache/maven/doxia/sink/AbstractSink, and the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm)
for interface org/apache/maven/doxia/logging/LogEnabled have different Class objects for the
type org/apache/maven/doxia/logging/Log used in the signature, please report an issue to Maven
dev team.


    
> Maven3 LinkageError in maven report
> -----------------------------------
>
>                 Key: MSHARED-219
>                 URL: https://jira.codehaus.org/browse/MSHARED-219
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-reporting-exec
>    Affects Versions: maven-reporting-exec-1.0.1
>         Environment: [INFO] Maven Version: 3.0.3
> [INFO] JDK Version: 1.6.0_26 normalized as: 1.6.0-26
> [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.32-37-generic
>            Reporter: Gerhard Wipplinger
>            Assignee: Olivier Lamy
>             Fix For: maven-reporting-exec-1.0.2
>
>         Attachments: MSHARED-219.patch
>
>
> Creating a maven report using some kind of a filter sink:
> {code:java}public class DoxiaTestMojo extends AbstractMavenReport {
> ...
>  @Override
>  protected void executeReport(Locale locale) throws
> MavenReportException {
>      org.apache.maven.doxia.sink.Sink s = new SinkAdapter() {
>              ...
>      };
>      ...
>  }
> }{code}
> produces the following error:
> {noformat}[WARNING] An issue has occurred with report at.gw.test.DoxiaTestMojo,
> skip LinkageError loader constraint violation in interface itable
> initialization: when resolving method
> "org.apache.maven.doxia.sink.AbstractSink.enableLogging(Lorg/apache/maven/doxia/logging/Log;)V"
the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) of the current
class, org/apache/maven/doxia/sink/AbstractSink, and the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm)
for interface org/apache/maven/doxia/logging/LogEnabled have different Class objects for the
type org/apache/maven/doxia/logging/Log used in the signature, please report an issue to Maven
dev team.{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message