netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernard (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NETBEANS-1824) java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
Date Mon, 03 Jun 2019 12:19:00 GMT

     [ https://issues.apache.org/jira/browse/NETBEANS-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bernard updated NETBEANS-1824:
------------------------------
    Attachment: messages.log

> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> -------------------------------------------------------------------
>
>                 Key: NETBEANS-1824
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1824
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Editor
>    Affects Versions: 9.0, 10.0, 11.0
>            Reporter: Bernard
>            Priority: Critical
>         Attachments: JiraSeachExpression.PNG, messages.log, messages.log
>
>
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
> My IDE is frozen with  NetBeans using CPU on all 8 cores at 100%.
> The log is filled up with messages as below.
> On the screen, there is a dialog "Save (Not Responding)" where it asks to confirm saving
2 Java files. I clicked "Save All" but this kept popping up unresponsive after the IDE lost
focus and then re-gained focus in a cycle many times.
> I don't know what the primary issue is - the HIG CPU usage for perhaps another reason
or the errors in the log file. I cannot do anything at all because JVisualVM cannot get a
handle on NetBeans and waits forever computing a description.
> Therefore, I would think that solving the ClassNotFoundException has the higher priority.
It fills up the logs and prevents discovery of other issues. All 3 log files are full of that
exception.
>  
> BTW Jira is too hard to use, I cannot search with it in a meaningful way. If I search
for anything, then I get results from other projects as well as default which is stupid. The
lack of an automatic duplicate search alone has the potential to kill the entire project.
Atlassian Jira is the wrong tool for NetBeans. NetBeans needs bugzilla,
> INFO [com.sun.tools.javac.processing.JavacProcessingEnvironment]: Annotation processing
error:
> java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags
>     at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:422)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:156)
>     at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:244)
>     at lombok.javac.Javac.<clinit>(Javac.java:155)
> Caused: java.lang.ExceptionInInitializerError
>     at lombok.javac.handlers.HandleGetter.<clinit>(HandleGetter.java:303)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:348)
>     at lombok.core.SpiLoadUtil$1$1.next(SpiLoadUtil.java:111)
>     at lombok.javac.HandlerLibrary.loadAnnotationHandlers(HandlerLibrary.java:171)
>     at lombok.javac.HandlerLibrary.load(HandlerLibrary.java:156)
>     at lombok.javac.JavacTransformer.<init>(JavacTransformer.java:44)
>     at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:87)
>     at lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)
>     at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)
>     at lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)
> [catch] at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:683)
>     at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:783)
>     at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:878)
>     at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:112)
>     at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1236)
>     at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1315)
>     at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1341)
>     at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1231)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:397)
>     at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:320)
>     at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:620)
>     at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361)
>     at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84)
>     at org.netbeans.api.java.source.ui.ElementJavadoc.lambda$getElementDocFromSource$16(ElementJavadoc.java:846)
>     at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>     at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>     at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>     at org.netbeans.api.java.source.ui.ElementJavadoc.getElementDocFromSource(ElementJavadoc.java:845)
>     at org.netbeans.api.java.source.ui.ElementJavadoc.getElementDoc(ElementJavadoc.java:742)
>     at org.netbeans.api.java.source.ui.ElementJavadoc.<init>(ElementJavadoc.java:369)
>     at org.netbeans.api.java.source.ui.ElementJavadoc.create(ElementJavadoc.java:172)
>     at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery$3.create(JavaCompletionProvider.java:235)
>     at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery$3.create(JavaCompletionProvider.java:231)
>     at org.netbeans.modules.java.completion.JavaDocumentationTask.resolve(JavaDocumentationTask.java:90)
>     at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:93)
>     at org.netbeans.modules.java.completion.JavaDocumentationTask.run(JavaDocumentationTask.java:41)
>     at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:243)
>     at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198)
>     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>     at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>     at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message