[ 
https://issues.apache.org/jira/browse/NETBEANS-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16864055#comment-16864055
 ] 

Geertjan Wielenga commented on NETBEANS-2671:
---------------------------------------------

Which operating system? Which JDK?

> NetBeans 11 unbearbly slow due to infinite scanning of projectsa
> ----------------------------------------------------------------
>
>                 Key: NETBEANS-2671
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2671
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.0
>         Environment: Windows 10 64
>            Reporter: Grzegorz
>            Priority: Critical
>
> As netbeans is best program ever to edit PHP code for me, it has one flaw 
> since 8.0. It can sometimes hang on background scanning without any reason.
> What I tried: 
> - Restart
> - Cache Clear
> - Project delete and create new one
> - Also Disabled: Menu -> Tools -> Options -> Miscellaneus -> Files -> Enable 
> auto-scanning
> Problem occurs on every start of netbeans with startup scan.
> Cannot cancel scan.
> Added not needed dirs into ignore folders.
>  
> Below is exception from log.
> org.netbeans.modules.parsing.impl.indexing.ScanCancelledException: Slow 
> scanning in TLIndexer
>     at java.base/java.lang.Thread.getStackTrace(Thread.java:1602)
>     at 
> org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:111)
>     at 
> org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:102)
>     at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:936)
>     at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:929)
>     at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:68)
>     at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry$Listener.pathsAdded(PathRegistry.java:1204)
>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:567)
>     at 
> org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:462)
>     at com.sun.proxy.$Proxy2.pathsAdded(Unknown Source)
>     at 
> org.netbeans.api.java.classpath.GlobalPathRegistry.register(GlobalPathRegistry.java:205)
>     at 
> org.netbeans.modules.javascript2.editor.classpath.ClassPathProviderImpl$2.run(ClassPathProviderImpl.java:151)
>     at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>     at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>     at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>     at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>     at 
> java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
>     at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>     at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>     at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>     at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>     at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>     at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>     at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>     at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-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