Warning when generating the dependencies report: Invalid byte tag in constant pool

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Warning when generating the dependencies report: Invalid byte tag in constant pool

g.hohl
Hello everyone,

 

 

I get an odd warning from the Maven Report Plugin "Maven Project Info
Reports Plugin".

Seems it can't handle the file asm-6.1.1.jar of the ASM library.

But it's the latest version of the plug-in as far as I can see.

I'm using the latest Java 8 JDK for executing Maven.

Any thoughts on that?

 

[INFO] Generating "Surefire Report" report      ---
maven-surefire-report-plugin:2.21.0:report

[INFO] Generating "Tag List" report             ---
taglist-maven-plugin:2.4:taglist

[WARNING] Using legacy tag format.  This is not recommended.

[INFO] Generating "CI Management" report        ---
maven-project-info-reports-plugin:2.9:cim

[INFO] Generating "Dependencies" report         ---
maven-project-info-reports-plugin:2.9:dependencies

[WARNING] Unable to process class module-info.class in JarAnalyzer File
C:\Users\g.hohl\.m2\repository\org\ow2\asm\asm\6.1.1\asm-6.1.1.jar

org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in
constant pool: 19

                at
org.apache.bcel.classfile.Constant.readConstant(Constant.java:161)

                at
org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:69)

                at
org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:
235)

                at
org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:143)

                at
org.apache.maven.shared.jar.classes.JarClassesAnalysis.analyze(JarClasse
sAnalysis.java:96)

                at
org.apache.maven.report.projectinfo.dependencies.Dependencies.getJarDepe
ndencyDetails(Dependencies.java:259)

                at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRe
nderer.hasSealed(DependenciesRenderer.java:1542)

                at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRe
nderer.renderSectionDependencyFileDetails(DependenciesRenderer.java:545)

                at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRe
nderer.renderBody(DependenciesRenderer.java:240)

                at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMa
venReportRenderer.java:83)

                at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(Dep
endenciesReport.java:201)

                at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRep
ort.java:255)

                at
org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocume
nt(ReportDocumentRenderer.java:230)

                at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSi
teRenderer.java:349)

                at
org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo.java
:184)

                at
org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:133)

                at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBui
ldPluginManager.java:101)

                at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:209)

                at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:153)

                at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:145)

                at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
LifecycleModuleBuilder.java:84)

                at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
LifecycleModuleBuilder.java:59)

                at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild
(LifecycleStarter.java:183)

                at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSt
arter.java:161)

                at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

                at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

                at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

                at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

                at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:62)

                at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:498)

                at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launche
r.java:290)

                at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:2
30)

                at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc
her.java:409)

                at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352
)

[INFO] Generating "Dependency Information" report ---
maven-project-info-reports-plugin:2.9:dependency-info

 

 

Regards,

Gerrit