[ https://issues.apache.org/jira/browse/NETBEANS-6467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494995#comment-17494995 ]
Mossroy commented on NETBEANS-6467: ----------------------------------- I tested switching to OpenJDK 17.0.1 (provided by Ubuntu): same result > StackOverflowError on each startup, when indexing Javascript > ------------------------------------------------------------ > > Key: NETBEANS-6467 > URL: https://issues.apache.org/jira/browse/NETBEANS-6467 > Project: NetBeans > Issue Type: Bug > Components: javascript - Editor > Affects Versions: 12.6 > Environment: Apache Netbeans 12.6 (upgraded from 12.0) > Ubuntu 20.04.3 (amd64) > OpenJDK 11.0.13 (provided by Ubuntu) > Reporter: Mossroy > Priority: Major > > After upgrading from 12.0 to 12.6 (and importing the settings from 12.0), I > have a StackOverflow error on each startup. > During the "background scanning of projects", an exception is thrown with > this stacktrace: > {code:java} > java.lang.StackOverflowError > at java.base/java.util.WeakHashMap.getTable(WeakHashMap.java:350) > at java.base/java.util.WeakHashMap.get(WeakHashMap.java:398) > at > org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:121) > at > org.openide.util.lookup.AbstractLookup.lookupItem(AbstractLookup.java:402) > at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:396) > at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:281) > at > org.netbeans.modules.javascript2.model.JsElementImpl.isInternalFile(JsElementImpl.java:194) > at > org.netbeans.modules.javascript2.model.JsElementImpl.isPlatform(JsElementImpl.java:188) > at > org.netbeans.modules.javascript2.model.api.IndexedElement$Flag.getFlag(IndexedElement.java:387) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.createDocument(JsIndexer.java:121) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:221) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229){code} > (this last line is repeated around 1000 times) > > The background scanning of projects never ends, and consumes a lot of CPU in > the background > Removing the cache and restarting Netbeans does not help. > > NB: I've set the affected component based on the packages of the stacktrace, > but am not sure. Feel free to change it if necessary. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- 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