basven commented on issue #8157:
URL: https://github.com/apache/netbeans/issues/8157#issuecomment-2607862813

   I haven't had to use NB  too much this past week, but when I do, I have not
   yet run into this problem.
   
   On Wed, Jan 15, 2025 at 3:21 PM Bas Ven ***@***.***> wrote:
   
   > Thanks Michael,
   >
   > I did notice both those exceptions and the indexing.  I have about 5
   > multi-module maven projects and I can try to close a few if you think that
   > helps since I usually jump only between 2 of them.  As a first test,
   > turning off the hint option seems to have helped.   If it helps, the
   > classes don't have unused imports.  At least I am now unable to reproduce
   > what you saw in the recordings I uploaded.  It puzzles me though, why this
   > wasn't a problem before and then out of nowhere manifests itself.
   > I will continue working with just this change and let you know in a week
   > or so, if the problem persists.
   >
   > Thanks for the quick response,
   > Bas
   >
   > On Wed, Jan 15, 2025 at 2:54 PM Michael Bien ***@***.***>
   > wrote:
   >
   >> 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.
   >>
   >> —
   >> Reply to this email directly, view it on GitHub
   >> <https://github.com/apache/netbeans/issues/8157#issuecomment-2593913762>,
   >> or unsubscribe
   >> 
<https://github.com/notifications/unsubscribe-auth/AAROFYJGT2TWDXNOYVH4KP32K3DGZAVCNFSM6AAAAABVIAESW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJTHEYTGNZWGI>
   >> .
   >> You are receiving this because you authored the thread.Message ID:
   >> ***@***.***>
   >>
   >
   


-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to