maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSHADE-99) Very wierd error message, "unknown local variable"
Date Thu, 26 May 2011 13:02:22 GMT

    [ http://jira.codehaus.org/browse/MSHADE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268612#action_268612
] 

Benson Margulies commented on MSHADE-99:
----------------------------------------

{noformat}
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error creating shaded jar: Unknown
local variable 5
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating shaded jar: Unknown
local variable 5
	at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute(ShadeMojo.java:503)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 17 more
Caused by: java.lang.IllegalStateException: Unknown local variable 5
	at org.objectweb.asm.commons.LocalVariablesSorter.remap(Unknown Source)
	at org.objectweb.asm.commons.LocalVariablesSorter.visitFrame(Unknown Source)
	at org.objectweb.asm.commons.RemappingMethodAdapter.visitFrame(Unknown Source)
	at org.objectweb.asm.ClassReader.accept(Unknown Source)
	at org.objectweb.asm.ClassReader.accept(Unknown Source)
	at org.apache.maven.plugins.shade.DefaultShader.addRemappedClass(DefaultShader.java:267)
	at org.apache.maven.plugins.shade.DefaultShader.shade(DefaultShader.java:148)
	at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute(ShadeMojo.java:444)
	... 19 more
{noformat}


> Very wierd error message, "unknown local variable"
> --------------------------------------------------
>
>                 Key: MSHADE-99
>                 URL: http://jira.codehaus.org/browse/MSHADE-99
>             Project: Maven 2.x Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Benson Margulies
>
> {noformat}
> [INFO] [shade:shade {execution: shade}]
> [INFO] Including com.basistech.rse:rse-generic:jar:1.8.100.2-SNAPSHOT in the shaded jar.
> [INFO] Including com.basistech.rse:rlp-common:jar:1.8.100.2-SNAPSHOT in the shaded jar.
> [INFO] Excluding com.basistech:common:jar:13 from the shaded jar.
> [INFO] Including com.ibm.icu:icu4j:jar:4.6.1 in the shaded jar.
> [INFO] Including com.basistech.rse:rlp-breaks:jar:1.8.100.2-SNAPSHOT in the shaded jar.
> [INFO] Including com.basistech.rse:rlp-segmentation:jar:1.8.100.2-SNAPSHOT in the shaded
jar.
> [INFO] Including com.basistech:ap-segmentation-features:jar:25 in the shaded jar.
> [INFO] Including commons-io:commons-io:jar:1.4 in the shaded jar.
> [INFO] Including it.unimi.dsi:fastutil:jar:6.3 in the shaded jar.
> [INFO] Including com.basistech.rse:rlp-hebrew-breaks:jar:1.8.100.2-SNAPSHOT in the shaded
jar.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error creating shaded jar: Unknown local variable 5
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 12 seconds
> [INFO] Finished at: Thu May 26 08:37:22 EDT 2011
> [INFO] Final Memory: 53M/107M
> [INFO] ------------------------------------------------------------------------
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message