[jira] [Commented] (NETBEANS-3962) Background scanning of projects seems to never end

2020-04-27 Thread Laszlo Kishalmi (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
> 

[jira] [Commented] (NETBEANS-3962) Background scanning of projects seems to never end

2020-03-06 Thread Birger Skogeng Pedersen (Jira)


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

Birger Skogeng Pedersen commented on NETBEANS-3962:
---

You should describe your problem better.

You should put the UI and IDE logs into files. Right now this issues is 
thousands of lines long because of the logs.

Please fix this.

> 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
>
> UI Log
> ==
> 
>  2020-03-06T10:21:28
>  1583468488636
>  12
>  300
>  17
>  SCREEN SIZE
>  1366
>  768
>  1
> 
> 
>  2020-03-06T10:21:28
>  1583468488636
>  13
>  700
>  17
>  IDE_STARTUP
> 
> 
>  2020-03-06T10:21:30
>  1583468490410
>  22
>  800
>  17
>  USG_LOOK_AND_FEEL
>  Windows
>  Windows
> 
> 
>  2020-03-06T10:21:34
>  1583468494405
>  69
>  800
>  29
>  USG_VCS_CLIENT
>  GIT
>  JAVALIB
> 
> 
>  2020-03-06T10:21:34
>  1583468494709
>  72
>  800
>  27
>  MEMORY
>  8363778048
> 
> 
>  2020-03-06T10:21:36
>  1583468496761
>  74
>  800
>  47
>  USG_PROJECT_HTML5_OPEN
>  USG_PROJECT_HTML5_OPEN
>  org.netbeans.modules.web.clientproject.Bundle
>  Chrome.INTEGRATED
>  NO
>  NO
>  NO
>  NO
>  YES
>  NO
>  NO
>  
> 
> 
>  2020-03-06T10:22:27
>  1583468547051
>  76
>  800
>  47
>  USG_PROJECT_OPEN_PHP
>  USG_PROJECT_OPEN_PHP
>  org.netbeans.modules.php.project.Bundle
>  
> 
> 
>  2020-03-06T10:22:39
>  1583468559351
>  77
>  800
>  47
>  USG_PROJECT_OPEN_PHP
>  USG_PROJECT_OPEN_PHP
>  org.netbeans.modules.php.project.Bundle
>  Smarty PHP Web Framework
> 
> 
>  2020-03-06T10:22:41
>  1583468561525
>  78
>  800
>  47
>  USG_PROJECT_OPEN_PHP
>  USG_PROJECT_OPEN_PHP
>  org.netbeans.modules.php.project.Bundle
>  
> 
> 
>  2020-03-06T10:23:03
>  1583468583877
>  79
>  500
>  23
>  LOG_WINDOW_DEACTIVATED
>  LOG_WINDOW_DEACTIVATED
>  org.netbeans.core.ui.warmup.Bundle
> 
> 
>  2020-03-06T10:23:08
>  1583468588057
>  80
>  800
>  47
>  USG_PROJECT_HTML5_OPEN
>  USG_PROJECT_HTML5_OPEN
>  org.netbeans.modules.web.clientproject.Bundle
>  Chrome.INTEGRATED
>  NO
>  NO
>  NO
>  NO
>  YES
>  NO
>  NO
>  
> 
> 
>  2020-03-06T10:23:08
>  1583468588073
>  81
>  700
>  47
>  UI_INIT_PROJECTS
>  UI_INIT_PROJECTS
>  org.netbeans.modules.project.ui.Bundle
>  org.netbeans.modules.web.clientproject.ClientSideProject
>  ClientSideProject
>  2
> 
> 
>  2020-03-06T10:23:08
>  1583468588073
>  82
>  700
>  47
>  UI_INIT_PROJECTS
>  UI_INIT_PROJECTS
>  org.netbeans.modules.project.ui.Bundle
>  org.netbeans.modules.php.project.PhpProject
>  PhpProject
>  3
> 
> 
>  2020-03-06T10:23:08
>  1583468588073
>  83
>  800
>  47
>  USG_PROJECT_OPEN
>  org.netbeans.modules.web.clientproject.ClientSideProject
> 
> 
>  2020-03-06T10:23:08
>  1583468588073
>  84
>  800
>  47
>  USG_PROJECT_OPEN
>  org.netbeans.modules.php.project.PhpProject
> 
> 
>  2020-03-06T10:23:08
>  1583468588073
>  85
>  800
>  47
>  USG_PROJECT_OPEN
>  org.netbeans.modules.php.project.PhpProject
> 
> 
>  2020-03-06T10:23:08
>  1583468588073
>  86
>  800
>  47
>  USG_PROJECT_OPEN
>  org.netbeans.modules.php.project.PhpProject
> 
> 
>  2020-03-06T10:23:08
>  1583468588073
>  87
>  800
>  47
>  USG_PROJECT_OPEN
>  org.netbeans.modules.web.clientproject.ClientSideProject
> 
> 
>  2020-03-06T10:23:08
>  1583468588104
>  88
>  800
>  67
>  INDEXING_STARTED
>  INDEXING_STARTED
>  org.netbeans.modules.parsing.impl.indexing.Bundle
>  0
> 
> 
>  2020-03-06T10:25:06
>  1583468706153
>  2721
>  500
>  23
>  LOG_WINDOW_DEACTIVATED
>  LOG_WINDOW_DEACTIVATED
>  org.netbeans.core.ui.warmup.Bundle
> 
> 
>  2020-03-06T10:27:27
>  1583468847222
>  16189
>  500
>  23
>  LOG_WINDOW_DEACTIVATED
>  LOG_WINDOW_DEACTIVATED
>  org.netbeans.core.ui.warmup.Bundle
> 
> 
>  2020-03-06T10:32:22
>  1583469142919
>  43836
>  400
>  23
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Toolbar$DefaultIconButton[]
>  org.openide.awt.Toolbar$DefaultIconButton
>  org.openide.awt.GeneralAction$BaseDelAction[Save All]
>  org.openide.awt.GeneralAction$BaseDelAction
>  Save All
> 
> 
>  2020-03-06T10:32:26
>  1583469146384
>  44831
>  500
>  23
>  LOG_WINDOW_DEACTIVATED
>  LOG_WINDOW_DEACTIVATED
>  org.netbeans.core.ui.warmup.Bundle
> 
> 
>  2020-03-06T10:35:17
>  1583469317702
>  63844
>  400
>  23
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Toolbar$DefaultIconButton[]
>  org.openide.awt.Toolbar$DefaultIconButton
>  org.openide.awt.GeneralAction$BaseDelAction[Save All]
>  org.openide.awt.GeneralAction$BaseDelAction
>  Save All
> 
> 
>  2020-03-06T10:35:18
>