com.redhat.ceylon.compiler.SystemErrorException: com.redhat.ceylon.langtools.tools.javac.processing.AnnotationProcessingError: com.redhat.ceylon.javax.lang.model.type.MirroredTypeException: Attempt to access Class object for TypeMirror foo.nbtest.Test2

GitHub | bjansen | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 6566#253760453

    GitHub | 7 months ago | bjansen
    com.redhat.ceylon.compiler.SystemErrorException: com.redhat.ceylon.langtools.tools.javac.processing.AnnotationProcessingError: com.redhat.ceylon.javax.lang.model.type.MirroredTypeException: Attempt to access Class object for TypeMirror foo.nbtest.Test2

    Root Cause Analysis

    1. com.redhat.ceylon.javax.lang.model.type.MirroredTypeException

      Attempt to access Class object for TypeMirror foo.nbtest.Test2

      at com.redhat.ceylon.langtools.tools.javac.model.AnnotationProxyMaker$MirroredTypeExceptionProxy.generateException()
    2. com.redhat.ceylon
      AnnotationProxyMaker$MirroredTypeExceptionProxy.generateException
      1. com.redhat.ceylon.langtools.tools.javac.model.AnnotationProxyMaker$MirroredTypeExceptionProxy.generateException(AnnotationProxyMaker.java:308)
      1 frame
    3. Java RT
      AnnotationInvocationHandler.invoke
      1. sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:84)
      1 frame
    4. com.sun.proxy
      $Proxy10.service
      1. com.sun.proxy.$Proxy10.service(Unknown Source)
      1 frame
    5. org.netbeans.modules
      ServiceProviderProcessor.handleProcess
      1. org.netbeans.modules.openide.util.ServiceProviderProcessor.register(ServiceProviderProcessor.java:103)
      2. org.netbeans.modules.openide.util.ServiceProviderProcessor.handleProcess(ServiceProviderProcessor.java:87)
      2 frames
    6. org.openide.util
      AbstractServiceProviderProcessor.process
      1. org.openide.util.lookup.implspi.AbstractServiceProviderProcessor.process(AbstractServiceProviderProcessor.java:117)
      1 frame
    7. com.redhat.ceylon
      CeylonTool.execute
      1. com.redhat.ceylon.langtools.tools.javac.processing.wrappers.ProcessorWrapper.process(ProcessorWrapper.java:62)
      2. com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:821)
      3. com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:732)
      4. com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:95)
      5. com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1065)
      6. com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1208)
      7. com.redhat.ceylon.langtools.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1173)
      8. com.redhat.ceylon.langtools.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:858)
      9. com.redhat.ceylon.compiler.java.tools.LanguageCompiler.compile(LanguageCompiler.java:266)
      10. com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:651)
      11. com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:563)
      12. com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:555)
      13. com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:544)
      14. com.redhat.ceylon.compiler.CeylonCompileTool.run(CeylonCompileTool.java:638)
      15. com.redhat.ceylon.common.tools.CeylonTool.run(CeylonTool.java:524)
      16. com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:405)
      16 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    9. com.redhat.ceylon
      Launcher.run
      1. com.redhat.ceylon.launcher.Launcher.runInJava7Checked(Launcher.java:115)
      2. com.redhat.ceylon.launcher.Launcher.run(Launcher.java:41)
      3. com.redhat.ceylon.launcher.Launcher.run(Launcher.java:34)
      3 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. com.redhat.ceylon
      Bootstrap.main
      1. com.redhat.ceylon.launcher.Bootstrap.runInternal(Bootstrap.java:139)
      2. com.redhat.ceylon.launcher.Bootstrap.run(Bootstrap.java:93)
      3. com.redhat.ceylon.launcher.Bootstrap.main(Bootstrap.java:85)
      3 frames