mbien commented on issue #8157:
URL: https://github.com/apache/netbeans/issues/8157#issuecomment-2593913762
> Not sure if I should completely wipe out my .netbeans folder and start
from scratch.
one easy way to quickly check something is to start netbeans with a fresh
temporary config (this will put the cache into the same folder).
```
netbeans --userdir /tmp/tmpusr1
```
your log doesn't look good though:
```
java.lang.NoSuchFieldError: Class
com.sun.tools.javac.parser.Tokens$Comment$CommentStyle does not have member
field 'com.sun.tools.javac.parser.Tokens$Comment$CommentStyle JAVADOC'
at lombok.javac.Javac$JavadocOps_8$1.getStyle(Javac.java:364)
at
com.sun.tools.javac.parser.DocCommentParser.getTextKind(DocCommentParser.java:171)
at
com.sun.tools.javac.parser.DocCommentParser.<init>(DocCommentParser.java:164)
at
com.sun.tools.javac.parser.DocCommentParser.<init>(DocCommentParser.java:139)
at
com.sun.tools.javac.api.JavacTrees.getDocCommentTree(JavacTrees.java:1130)
...
at
org.netbeans.modules.java.editor.base.imports.UnusedImports.process(UnusedImports.java:85)
at
org.netbeans.modules.java.editor.base.imports.UnusedImports.computeUnusedImports(UnusedImports.java:69)
at org.netbeans.modules.java.hints.Imports.unusedImport(Imports.java:83)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[catch] at
org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:305)
```
this is the unused imports hint failing. Wondering if turning it off helps
(under Hint settings `Imports -> Unused Imports`).
```
WARNING [org.netbeans.modules.parsing.impl.indexing.LogContext]: Excessive
indexing rate detected: 6 in 2mins, treshold is 5. Dumping suspicious contexts
SCAN_EXCEEDS_RATE ID: 1965, Type:INDEXER
```
this is also unusual. Are we dealing with huge projects or very big project
groups? I could only reproduce things like this in load tests where I opened
hundreds of projects on startup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists