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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by bjansen
, 1 year ago
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
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
at com.redhat.ceylon.langtools.tools.javac.model.AnnotationProxyMaker$MirroredTypeExceptionProxy.generateException(AnnotationProxyMaker.java:308)
at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:84)
at com.sun.proxy.$Proxy10.service(Unknown Source)
at org.netbeans.modules.openide.util.ServiceProviderProcessor.register(ServiceProviderProcessor.java:103)
at org.netbeans.modules.openide.util.ServiceProviderProcessor.handleProcess(ServiceProviderProcessor.java:87)
at org.openide.util.lookup.implspi.AbstractServiceProviderProcessor.process(AbstractServiceProviderProcessor.java:117)
at com.redhat.ceylon.langtools.tools.javac.processing.wrappers.ProcessorWrapper.process(ProcessorWrapper.java:62)
at com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:821)
at com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:732)
at com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:95)
at com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1065)
at com.redhat.ceylon.langtools.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1208)
at com.redhat.ceylon.langtools.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1173)
at com.redhat.ceylon.langtools.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:858)
at com.redhat.ceylon.compiler.java.tools.LanguageCompiler.compile(LanguageCompiler.java:266)
at com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:651)
at com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:563)
at com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:555)
at com.redhat.ceylon.compiler.java.launcher.Main.compile(Main.java:544)
at com.redhat.ceylon.compiler.CeylonCompileTool.run(CeylonCompileTool.java:638)
at com.redhat.ceylon.common.tools.CeylonTool.run(CeylonTool.java:524)
at com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:405)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.redhat.ceylon.launcher.Launcher.runInJava7Checked(Launcher.java:115)
at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:41)
at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.redhat.ceylon.launcher.Bootstrap.runInternal(Bootstrap.java:139)
at com.redhat.ceylon.launcher.Bootstrap.run(Bootstrap.java:93)
at com.redhat.ceylon.launcher.Bootstrap.main(Bootstrap.java:85)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.