java.lang.AssertionError

Jenkins JIRA | karthikeya karthi | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I've customized PMD, so to point my pmd jar I've edit pom.xml of jenkins pmd plugin sourcode and while building getting following error report. Problem encountered during annotation processing; see stacktrace below for more information. java.lang.AssertionError at com.sun.tools.apt.mirror.type.TypeMaker.getType(TypeMaker.java:76) at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.getSuperclass(ClassDeclarationImpl.java:64) at org.jvnet.hudson.maven.plugins.hpi.AnnotationProcessorFactoryImpl$1.process(AnnotationProcessorFactoryImpl.ja va:50) at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60) at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60) at com.sun.tools.apt.comp.Apt.main(Apt.java:454) at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:258) at com.sun.tools.apt.main.Main.compile(Main.java:1102) at com.sun.tools.apt.main.Main.compile(Main.java:964) at com.sun.tools.apt.Main.processing(Main.java:95) at com.sun.tools.apt.Main.process(Main.java:85) at org.jvnet.hudson.maven.plugins.hpi.AptCompiler.compileInProcess(AptCompiler.java:63) at org.jvnet.hudson.maven.plugins.hpi.AptCompiler.compile(AptCompiler.java:50) at org.jvnet.hudson.maven.plugins.hpi.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:486) at org.jvnet.hudson.maven.plugins.hpi.CompilerMojo.execute(CompilerMojo.java:111) at org.jvnet.hudson.maven.plugins.hpi.AptMojo.execute(AptMojo.java:24) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:55 6) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav a: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) C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdResult TokenMacro.java:4: package hudson.plugins.analysis.tokens does not exist import hudson.plugins.analysis.tokens.AbstractResultTokenMacro; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdResult TokenMacro.java:14: cannot find symbol symbol: class AbstractResultTokenMacro public class PmdResultTokenMacro extends AbstractResultTokenMacro { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsPriorityGraphPortlet.java:11: package hudson.plugins.view.dashboard does not exist import hudson.plugins.view.dashboard.DashboardPortlet; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsPriorityGraphPortlet.java:20: cannot access hudson.plugins.view.dashboard.DashboardPortlet class file for hudson.plugins.view.dashboard.DashboardPortlet not found public final class WarningsPriorityGraphPortlet extends AbstractWarningsGraphPortlet { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsPriorityGraphPortlet.java:64: cannot find symbol symbol : class DashboardPortlet location: class hudson.plugins.pmd.dashboard.WarningsPriorityGraphPortlet public static class WarningsGraphDescriptor extends Descriptor<DashboardPortlet> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\FixedPmdW arningsTokenMacro.java:4: package hudson.plugins.analysis.tokens does not exist import hudson.plugins.analysis.tokens.AbstractFixedAnnotationsTokenMacro; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\FixedPmdW arningsTokenMacro.java:14: cannot find symbol symbol: class AbstractFixedAnnotationsTokenMacro public class FixedPmdWarningsTokenMacro extends AbstractFixedAnnotationsTokenMacro { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsTablePortlet.java:42: cannot find symbol symbol : class DashboardPortlet location: class hudson.plugins.pmd.dashboard.WarningsTablePortlet public static class WarningsPerJobDescriptor extends Descriptor<DashboardPortlet> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsNewVersusFixedGraphPortlet.java:64: cannot find symbol symbol : class DashboardPortlet location: class hudson.plugins.pmd.dashboard.WarningsNewVersusFixedGraphPortlet public static class WarningsGraphDescriptor extends Descriptor<DashboardPortlet> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdReporter.java :9: cannot find symbol symbol : class HealthAwareReporter location: package hudson.plugins.analysis.core import hudson.plugins.analysis.core.HealthAwareReporter; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdReporter.java :26: cannot find symbol symbol: class HealthAwareReporter public class PmdReporter extends HealthAwareReporter<PmdResult> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdMavenResultAc tion.java:10: cannot find symbol symbol : class MavenResultAction location: package hudson.plugins.analysis.core import hudson.plugins.analysis.core.MavenResultAction; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdMavenResultAc tion.java:22: cannot find symbol symbol: class MavenResultAction public class PmdMavenResultAction extends MavenResultAction<PmdResult> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdMavenResultAc tion.java:68: cannot find symbol symbol : class MavenResultAction location: class hudson.plugins.pmd.PmdMavenResultAction public Class<? extends MavenResultAction<PmdResult>> getIndividualActionType() { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\NewPmdWar ningsTokenMacro.java:4: package hudson.plugins.analysis.tokens does not exist import hudson.plugins.analysis.tokens.AbstractNewAnnotationsTokenMacro; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\NewPmdWar ningsTokenMacro.java:14: cannot find symbol symbol: class AbstractNewAnnotationsTokenMacro public class NewPmdWarningsTokenMacro extends AbstractNewAnnotationsTokenMacro { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdWarnin gCountTokenMacro.java:4: package hudson.plugins.analysis.tokens does not exist import hudson.plugins.analysis.tokens.AbstractAnnotationsCountTokenMacro; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdWarnin gCountTokenMacro.java:14: cannot find symbol symbol: class AbstractAnnotationsCountTokenMacro public class PmdWarningCountTokenMacro extends AbstractAnnotationsCountTokenMacro { ^ Note: hudson.plugins.pmd.PmdDescriptor indexed under hudson.Extension Note: hudson.plugins.pmd.PmdReporterDescriptor indexed under hudson.Extension C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdResult TokenMacro.java:13: not assignable to java.lang.Object @Extension(optional = true) ^ Note: hudson.plugins.pmd.dashboard.WarningsPriorityGraphPortlet.WarningsGraphDescriptor indexed under hudson.Extension C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\FixedPmdW arningsTokenMacro.java:13: not assignable to java.lang.Object @Extension(optional = true) ^ Note: hudson.plugins.pmd.dashboard.WarningsTablePortlet.WarningsPerJobDescriptor indexed under hudson.Extension Note: hudson.plugins.pmd.dashboard.WarningsNewVersusFixedGraphPortlet.WarningsGraphDescriptor indexed under hudson.Exten sion C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\NewPmdWar ningsTokenMacro.java:13: not assignable to java.lang.Object @Extension(optional = true) ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdWarnin gCountTokenMacro.java:13: not assignable to java.lang.Object @Extension(optional = true) ^ 4 errors [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Fatal error compiling Embedded error: APT failed: 1 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 52 seconds [INFO] Finished at: Wed Apr 11 19:32:35 IST 2012 [INFO] Final Memory: 47M/112M [INFO] ------------------------------------------------------------------------

    Jenkins JIRA | 5 years ago | karthikeya karthi
    java.lang.AssertionError
  2. 0

    I've customized PMD, so to point my pmd jar I've edit pom.xml of jenkins pmd plugin sourcode and while building getting following error report. Problem encountered during annotation processing; see stacktrace below for more information. java.lang.AssertionError at com.sun.tools.apt.mirror.type.TypeMaker.getType(TypeMaker.java:76) at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.getSuperclass(ClassDeclarationImpl.java:64) at org.jvnet.hudson.maven.plugins.hpi.AnnotationProcessorFactoryImpl$1.process(AnnotationProcessorFactoryImpl.ja va:50) at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60) at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60) at com.sun.tools.apt.comp.Apt.main(Apt.java:454) at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:258) at com.sun.tools.apt.main.Main.compile(Main.java:1102) at com.sun.tools.apt.main.Main.compile(Main.java:964) at com.sun.tools.apt.Main.processing(Main.java:95) at com.sun.tools.apt.Main.process(Main.java:85) at org.jvnet.hudson.maven.plugins.hpi.AptCompiler.compileInProcess(AptCompiler.java:63) at org.jvnet.hudson.maven.plugins.hpi.AptCompiler.compile(AptCompiler.java:50) at org.jvnet.hudson.maven.plugins.hpi.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:486) at org.jvnet.hudson.maven.plugins.hpi.CompilerMojo.execute(CompilerMojo.java:111) at org.jvnet.hudson.maven.plugins.hpi.AptMojo.execute(AptMojo.java:24) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:55 6) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav a: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) C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdResult TokenMacro.java:4: package hudson.plugins.analysis.tokens does not exist import hudson.plugins.analysis.tokens.AbstractResultTokenMacro; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdResult TokenMacro.java:14: cannot find symbol symbol: class AbstractResultTokenMacro public class PmdResultTokenMacro extends AbstractResultTokenMacro { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsPriorityGraphPortlet.java:11: package hudson.plugins.view.dashboard does not exist import hudson.plugins.view.dashboard.DashboardPortlet; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsPriorityGraphPortlet.java:20: cannot access hudson.plugins.view.dashboard.DashboardPortlet class file for hudson.plugins.view.dashboard.DashboardPortlet not found public final class WarningsPriorityGraphPortlet extends AbstractWarningsGraphPortlet { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsPriorityGraphPortlet.java:64: cannot find symbol symbol : class DashboardPortlet location: class hudson.plugins.pmd.dashboard.WarningsPriorityGraphPortlet public static class WarningsGraphDescriptor extends Descriptor<DashboardPortlet> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\FixedPmdW arningsTokenMacro.java:4: package hudson.plugins.analysis.tokens does not exist import hudson.plugins.analysis.tokens.AbstractFixedAnnotationsTokenMacro; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\FixedPmdW arningsTokenMacro.java:14: cannot find symbol symbol: class AbstractFixedAnnotationsTokenMacro public class FixedPmdWarningsTokenMacro extends AbstractFixedAnnotationsTokenMacro { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsTablePortlet.java:42: cannot find symbol symbol : class DashboardPortlet location: class hudson.plugins.pmd.dashboard.WarningsTablePortlet public static class WarningsPerJobDescriptor extends Descriptor<DashboardPortlet> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\dashboard\Warnin gsNewVersusFixedGraphPortlet.java:64: cannot find symbol symbol : class DashboardPortlet location: class hudson.plugins.pmd.dashboard.WarningsNewVersusFixedGraphPortlet public static class WarningsGraphDescriptor extends Descriptor<DashboardPortlet> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdReporter.java :9: cannot find symbol symbol : class HealthAwareReporter location: package hudson.plugins.analysis.core import hudson.plugins.analysis.core.HealthAwareReporter; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdReporter.java :26: cannot find symbol symbol: class HealthAwareReporter public class PmdReporter extends HealthAwareReporter<PmdResult> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdMavenResultAc tion.java:10: cannot find symbol symbol : class MavenResultAction location: package hudson.plugins.analysis.core import hudson.plugins.analysis.core.MavenResultAction; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdMavenResultAc tion.java:22: cannot find symbol symbol: class MavenResultAction public class PmdMavenResultAction extends MavenResultAction<PmdResult> { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\PmdMavenResultAc tion.java:68: cannot find symbol symbol : class MavenResultAction location: class hudson.plugins.pmd.PmdMavenResultAction public Class<? extends MavenResultAction<PmdResult>> getIndividualActionType() { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\NewPmdWar ningsTokenMacro.java:4: package hudson.plugins.analysis.tokens does not exist import hudson.plugins.analysis.tokens.AbstractNewAnnotationsTokenMacro; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\NewPmdWar ningsTokenMacro.java:14: cannot find symbol symbol: class AbstractNewAnnotationsTokenMacro public class NewPmdWarningsTokenMacro extends AbstractNewAnnotationsTokenMacro { ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdWarnin gCountTokenMacro.java:4: package hudson.plugins.analysis.tokens does not exist import hudson.plugins.analysis.tokens.AbstractAnnotationsCountTokenMacro; ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdWarnin gCountTokenMacro.java:14: cannot find symbol symbol: class AbstractAnnotationsCountTokenMacro public class PmdWarningCountTokenMacro extends AbstractAnnotationsCountTokenMacro { ^ Note: hudson.plugins.pmd.PmdDescriptor indexed under hudson.Extension Note: hudson.plugins.pmd.PmdReporterDescriptor indexed under hudson.Extension C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdResult TokenMacro.java:13: not assignable to java.lang.Object @Extension(optional = true) ^ Note: hudson.plugins.pmd.dashboard.WarningsPriorityGraphPortlet.WarningsGraphDescriptor indexed under hudson.Extension C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\FixedPmdW arningsTokenMacro.java:13: not assignable to java.lang.Object @Extension(optional = true) ^ Note: hudson.plugins.pmd.dashboard.WarningsTablePortlet.WarningsPerJobDescriptor indexed under hudson.Extension Note: hudson.plugins.pmd.dashboard.WarningsNewVersusFixedGraphPortlet.WarningsGraphDescriptor indexed under hudson.Exten sion C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\NewPmdWar ningsTokenMacro.java:13: not assignable to java.lang.Object @Extension(optional = true) ^ C:\Documents and Settings\ET33783\Desktop\jenkinsci-pmd-plugin-a16ba49\src\main\java\hudson\plugins\pmd\tokens\PmdWarnin gCountTokenMacro.java:13: not assignable to java.lang.Object @Extension(optional = true) ^ 4 errors [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Fatal error compiling Embedded error: APT failed: 1 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 52 seconds [INFO] Finished at: Wed Apr 11 19:32:35 IST 2012 [INFO] Final Memory: 47M/112M [INFO] ------------------------------------------------------------------------

    Jenkins JIRA | 5 years ago | karthikeya karthi
    java.lang.AssertionError

    Root Cause Analysis

    1. java.lang.AssertionError

      No message provided

      at com.sun.tools.apt.mirror.type.TypeMaker.getType()
    2. com.sun.tools
      ClassDeclarationImpl.getSuperclass
      1. com.sun.tools.apt.mirror.type.TypeMaker.getType(TypeMaker.java:76)
      2. com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.getSuperclass(ClassDeclarationImpl.java:64)
      2 frames
    3. org.jvnet.hudson
      AnnotationProcessorFactoryImpl$1.process
      1. org.jvnet.hudson.maven.plugins.hpi.AnnotationProcessorFactoryImpl$1.process(AnnotationProcessorFactoryImpl.java:50)
      1 frame
    4. com.sun.mirror
      AnnotationProcessors$CompositeAnnotationProcessor.process
      1. com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
      2. com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
      2 frames
    5. com.sun.tools
      Main.process
      1. com.sun.tools.apt.comp.Apt.main(Apt.java:454)
      2. com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:258)
      3. com.sun.tools.apt.main.Main.compile(Main.java:1102)
      4. com.sun.tools.apt.main.Main.compile(Main.java:964)
      5. com.sun.tools.apt.Main.processing(Main.java:95)
      6. com.sun.tools.apt.Main.process(Main.java:85)
      6 frames
    6. org.jvnet.hudson
      AptMojo.execute
      1. org.jvnet.hudson.maven.plugins.hpi.AptCompiler.compileInProcess(AptCompiler.java:63)
      2. org.jvnet.hudson.maven.plugins.hpi.AptCompiler.compile(AptCompiler.java:50)
      3. org.jvnet.hudson.maven.plugins.hpi.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:486)
      4. org.jvnet.hudson.maven.plugins.hpi.CompilerMojo.execute(CompilerMojo.java:111)
      5. org.jvnet.hudson.maven.plugins.hpi.AptMojo.execute(AptMojo.java:24)
      5 frames
    7. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      1 frame
    8. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      8 frames
    9. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      1 frame
    10. org.apache.maven
      CompatibleMain.main
      1. org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    12. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames