[ https://issues.apache.org/jira/browse/NETBEANS-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17093966#comment-17093966 ]
Laszlo Kishalmi commented on NETBEANS-3962: ------------------------------------------- Also if it is possible create a project where this issue can be reproduced. Without that these kind of issues are most probably not resolvable. > Background scanning of projects seems to never end > -------------------------------------------------- > > Key: NETBEANS-3962 > URL: https://issues.apache.org/jira/browse/NETBEANS-3962 > Project: NetBeans > Issue Type: Bug > Affects Versions: 11.3 > Environment: WIndows 10 > Reporter: Rejoan > Priority: Blocker > > It seems JavaScript parser throws some exception making background scanning > never end: > again.INFO [org.netbeans.modules.extbrowser]: interrupted in run(): > java.lang.InterruptedExceptionWARNING > [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]java.lang.StringIndexOutOfBoundsException: > begin 39, end 41, length 40 at > java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) at > java.base/java.lang.String.substring(String.java:1874) at > org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createParameterElement(JsDocElementUtils.java:189) > at > org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createElementForType(JsDocElementUtils.java:63) > at > org.netbeans.modules.javascript2.jsdoc.JsDocParser.parseCommentBlock(JsDocParser.java:138) > at > org.netbeans.modules.javascript2.jsdoc.JsDocParser.parse(JsDocParser.java:75) > at > org.netbeans.modules.javascript2.jsdoc.JsDocDocumentationHolder.getCommentBlocks(JsDocDocumentationHolder.java:41) > at > org.netbeans.modules.javascript2.doc.spi.JsDocumentationHolder.getDocumentation(JsDocumentationHolder.java:184) > at > org.netbeans.modules.javascript2.model.ModelVisitor.handleDeclaredVariable(ModelVisitor.java:1652) > at > org.netbeans.modules.javascript2.model.ModelVisitor.access$100(ModelVisitor.java:110) > at > org.netbeans.modules.javascript2.model.ModelVisitor$1.handleDeclarations(ModelVisitor.java:1468) > at > org.netbeans.modules.javascript2.model.ModelVisitor$1.leaveBlock(ModelVisitor.java:1494) > at com.oracle.js.parser.ir.Block.accept(Unknown Source) at > com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(Unknown Source) at > com.oracle.js.parser.ir.Block.accept(Unknown Source) at > org.netbeans.modules.javascript2.model.ModelVisitor.processDeclarations(ModelVisitor.java:1558) > at > org.netbeans.modules.javascript2.model.ModelVisitor.enterFunctionNode(ModelVisitor.java:934) > at com.oracle.js.parser.ir.FunctionNode.accept(Unknown Source) at > com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(Unknown Source) at > com.oracle.js.parser.ir.LexicalContextExpression.accept(Unknown Source) at > org.netbeans.modules.javascript2.model.ModelVisitor.init(ModelVisitor.java:145) > at > org.netbeans.modules.javascript2.model.api.Model.getModelVisitor(Model.java:168) > at > org.netbeans.modules.javascript2.model.api.Model.getGlobalObject(Model.java:468) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:96) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223)[catch] > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at > org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)INFO > [org.netbeans.modules.subversion]: Subversion.cleanupTask: Scanning in > progress, trying again in 10,000msINFO [null]: Last record repeated > again.INFO [null]: Last record repeated again.INFO [null]: Last record > repeated again.INFO [null]: Last record repeated again.INFO [null]: Last > record repeated again.INFO [null]: Last record repeated again.INFO [null]: > Last record repeated again.INFO [null]: Last record repeated again. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- 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