THausherr commented on issue #7467: URL: https://github.com/apache/netbeans/issues/7467#issuecomment-2169212795
I'm having it right now, but unlike the OP, restarting netbeans fixes it, and it's not related to the file size. Here's what I got after adding a syntax error: INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: CancelableTaskWrapper[task: org.netbeans.modules.java.hints.infrastructure.LazyHintComputation@2dafff82, phase: RESOLVED, priority: 500] : class org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper ignored cancel for 60 ms. INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=jdk.nashorn.internal.objects.Global ] INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=com.sun.org.apache.bcel.internal.classfile.Annotations ] INFO [org.netbeans.modules.java.editor.imports.ComputeImports]: Cannot resolve type element "ElementHandle[kind=CLASS; sigs=com.sun.org.apache.bcel.internal.classfile.Annotations ]". INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=com.sun.tools.javac.code.TypeMetadata$Annotations ] INFO [org.netbeans.modules.java.editor.imports.ComputeImports]: Cannot resolve type element "ElementHandle[kind=CLASS; sigs=com.sun.tools.javac.code.TypeMetadata$Annotations ]". INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=com.sun.tools.javac.tree.TreeMaker ] after fixing it: INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 25.258 ms. INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 0 ms. INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 1.914 ms. When the first InstanceContent was created, the StackTrace was: Line: 2.450, ClassName.methodName: java.lang.Thread.getStackTrace Line: 94, ClassName.methodName: org.netbeans.modules.maven.j2ee.osgi.OsgiLookupProvider.createAdditionalLookup Line: 142, ClassName.methodName: org.netbeans.spi.project.support.DelegatingLookupImpl.doDelegate Line: 76, ClassName.methodName: org.netbeans.spi.project.support.DelegatingLookupImpl.<init> Line: 86, ClassName.methodName: org.netbeans.spi.project.support.LookupProviderSupport.createCompositeLookup Line: 282, ClassName.methodName: org.netbeans.modules.maven.NbMavenProjectImpl.<init> Line: 98, ClassName.methodName: org.netbeans.modules.maven.NbMavenProjectFactory.loadProject Line: 376, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager.createProject Line: 69, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager.access$300 Line: 289, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager$2.run Line: 218, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager$2.run Line: 188, ClassName.methodName: org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess Line: 232, ClassName.methodName: org.openide.util.Mutex.readAccess Line: 218, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager.findProject Line: 142, ClassName.methodName: org.netbeans.api.project.ProjectManager.findProject Line: 1.283, ClassName.methodName: org.netbeans.modules.project.ui.OpenProjectList.URLs2Projects Line: 116, ClassName.methodName: org.netbeans.modules.project.ui.OpenProjectList.access$1400 Line: 471, ClassName.methodName: org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.loadOnBackground Line: 384, ClassName.methodName: org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.run Line: 1.420, ClassName.methodName: org.openide.util.RequestProcessor$Task.run Line: 45, ClassName.methodName: org.netbeans.modules.openide.util.GlobalLookup.execute Line: 287, ClassName.methodName: org.openide.util.lookup.Lookups.executeWith Line: 2.035, ClassName.methodName: org.openide.util.RequestProcessor$Processor.run When the second InstanceContent was created, the StackTrace was: Line: 2.450, ClassName.methodName: java.lang.Thread.getStackTrace Line: 101, ClassName.methodName: org.netbeans.modules.maven.j2ee.osgi.OsgiLookupProvider.createAdditionalLookup Line: 142, ClassName.methodName: org.netbeans.spi.project.support.DelegatingLookupImpl.doDelegate Line: 76, ClassName.methodName: org.netbeans.spi.project.support.DelegatingLookupImpl.<init> Line: 86, ClassName.methodName: org.netbeans.spi.project.support.LookupProviderSupport.createCompositeLookup Line: 282, ClassName.methodName: org.netbeans.modules.maven.NbMavenProjectImpl.<init> Line: 98, ClassName.methodName: org.netbeans.modules.maven.NbMavenProjectFactory.loadProject Line: 376, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager.createProject Line: 69, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager.access$300 Line: 289, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager$2.run Line: 218, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager$2.run Line: 188, ClassName.methodName: org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess Line: 232, ClassName.methodName: org.openide.util.Mutex.readAccess Line: 218, ClassName.methodName: org.netbeans.modules.projectapi.nb.NbProjectManager.findProject Line: 142, ClassName.methodName: org.netbeans.api.project.ProjectManager.findProject Line: 144, ClassName.methodName: org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner Line: 93, ClassName.methodName: org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner Line: 125, ClassName.methodName: org.netbeans.api.project.FileOwnerQuery.getOwner Line: 42, ClassName.methodName: org.netbeans.modules.java.project.ProjectSourceForBinaryQuery.findSourceRoots Line: 71, ClassName.methodName: org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots Line: 140, ClassName.methodName: org.netbeans.modules.java.editor.overridden.ComputeOverriders.findBinaryRootsForSourceRoot Line: 304, ClassName.methodName: org.netbeans.modules.java.editor.overridden.ComputeOverriders.reverseSourceRootsInOrder Line: 349, ClassName.methodName: org.netbeans.modules.java.editor.overridden.ComputeOverriders.computeUsers Line: 203, ClassName.methodName: org.netbeans.modules.java.editor.overridden.ComputeOverriders.processImpl Line: 154, ClassName.methodName: org.netbeans.modules.java.editor.overridden.ComputeOverriders.process Line: 104, ClassName.methodName: org.netbeans.modules.java.editor.overridden.ComputeAnnotations.computeAnnotations Line: 85, ClassName.methodName: org.netbeans.modules.java.editor.overridden.ComputeAnnotations.run Line: 561, ClassName.methodName: org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask Line: 786, ClassName.methodName: org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run Line: 288, ClassName.methodName: org.openide.util.lookup.Lookups.executeWith Line: 702, ClassName.methodName: org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute Line: 663, ClassName.methodName: org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run Line: 572, ClassName.methodName: java.util.concurrent.Executors$RunnableAdapter.call Line: 317, ClassName.methodName: java.util.concurrent.FutureTask.run Line: 1.420, ClassName.methodName: org.openide.util.RequestProcessor$Task.run Line: 45, ClassName.methodName: org.netbeans.modules.openide.util.GlobalLookup.execute Line: 287, ClassName.methodName: org.openide.util.lookup.Lookups.executeWith Line: 2.035, ClassName.methodName: org.openide.util.RequestProcessor$Processor.run INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 4.298 ms. -- 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
