Cannot read debug info for @Aspect to handle formal binding in pointcuts

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot read debug info for @Aspect to handle formal binding in pointcuts

Dal Bem, Edinei

Have you seen this error?

 

 

Compiler errors :

error at com/qualcomm/mf/itv/validation/ValidationAspect.java::0 Cannot read debug info for @Aspect to handle formal binding in pointcuts (please compile with 'javac -g' or '<javac debug='true'.../>' in Ant)

 

[INFO] ------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

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

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

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

        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: Can not execute Sonar

        at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:87)

        at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)

        at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)

        ... 16 more

Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo

        at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:54)

        at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:33)

        at org.sonar.mojo.InternalMojo.executeMojo(InternalMojo.java:279)

        at org.sonar.mojo.InternalMojo.executeMojos(InternalMojo.java:261)

        at org.sonar.mojo.InternalMojo.processModules(InternalMojo.java:175)

        at org.sonar.mojo.InternalMojo.execute(InternalMojo.java:160)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)

        at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82)

        ... 20 more

Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Compiler errors :

error at com/qualcomm/mf/itv/validation/ValidationAspect.java::0 Cannot read debug info for @Aspect to handle formal binding in pointcuts (please compile with 'javac -g' or '<javac debug='true'.../>' in Ant)

 

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:924)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:767)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:529)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

        at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:49)

        ... 27 more

Caused by: org.codehaus.mojo.aspectj.CompilationFailedException: Compiler errors :

error at com/qualcomm/mf/itv/validation/ValidationAspect.java::0 Cannot read debug info for @Aspect to handle formal binding in pointcuts (please compile with 'javac -g' or '<javac debug='true'.../>' in Ant)

 

        at org.codehaus.mojo.aspectj.AbstractAjcCompiler.execute(AbstractAjcCompiler.java:364)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)

        ... 37 more

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 2 seconds

[INFO] Finished at: Thu Jun 04 08:04:42 PDT 2009

[INFO] Final Memory: 55M/508M

[INFO] ------------------------------------------------------------------------

mft-maven-dev{843}$

 

 

Regards,


Edinei Dal Bem  (Nei)
Qualcomm Inc., Media
FLO CRM
W: (858) 651-6187
[hidden email]

 

Reply | Threaded
Open this post in threaded view
|

Re: Cannot read debug info for @Aspect to handle formal binding in pointcuts

Olivier Gaudin-2
Hello Edinei,

Does not looks like a Sonar issue.

It might help to have a look at http://jira.codehaus.org/browse/MCOBERTURA-80.

Olivier


On Thu, Jun 4, 2009 at 5:35 PM, Dal Bem, Edinei <[hidden email]> wrote:

Have you seen this error?

 

 

Compiler errors :

error at com/qualcomm/mf/itv/validation/ValidationAspect.java::0 Cannot read debug info for @Aspect to handle formal binding in pointcuts (please compile with 'javac -g' or '<javac debug='true'.../>' in Ant)

 

[INFO] ------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

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

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

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

        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: Can not execute Sonar

        at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:87)

        at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)

        at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)

        ... 16 more

Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo

        at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:54)

        at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:33)

        at org.sonar.mojo.InternalMojo.executeMojo(InternalMojo.java:279)

        at org.sonar.mojo.InternalMojo.executeMojos(InternalMojo.java:261)

        at org.sonar.mojo.InternalMojo.processModules(InternalMojo.java:175)

        at org.sonar.mojo.InternalMojo.execute(InternalMojo.java:160)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)

        at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82)

        ... 20 more

Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Compiler errors :

error at com/qualcomm/mf/itv/validation/ValidationAspect.java::0 Cannot read debug info for @Aspect to handle formal binding in pointcuts (please compile with 'javac -g' or '<javac debug='true'.../>' in Ant)

 

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:924)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:767)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:529)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

        at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:49)

        ... 27 more

Caused by: org.codehaus.mojo.aspectj.CompilationFailedException: Compiler errors :

error at com/qualcomm/mf/itv/validation/ValidationAspect.java::0 Cannot read debug info for @Aspect to handle formal binding in pointcuts (please compile with 'javac -g' or '<javac debug='true'.../>' in Ant)

 

        at org.codehaus.mojo.aspectj.AbstractAjcCompiler.execute(AbstractAjcCompiler.java:364)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)

        ... 37 more

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 2 seconds

[INFO] Finished at: Thu Jun 04 08:04:42 PDT 2009

[INFO] Final Memory: 55M/508M

[INFO] ------------------------------------------------------------------------

mft-maven-dev{843}$

 

 

Regards,


Edinei Dal Bem  (Nei)
Qualcomm Inc., Media
FLO CRM
W: (858) 651-6187
[hidden email]