Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
11.3
-
None
-
Windows 10
16GB RAM
i7-4650U
256 SSD with 5GB empty space
Description
I have a library project that is shared across multiple projects which contains application related constant values. I am attempting to rename a constant variable but getting StackOverflowException. The stack trace is quite large. I recently switched from NetBeans 8.2 to 11.3. I can perform the refactoring in NetBeans 8.2 (even though it takes about 20 seconds), it gives me no exception. I am not sure if I can help with this error because I've never contributed to NetBeans and I am not sure the guidelines and steps for that but I'd like to.
java.lang.StackOverflowErrorjava.lang.StackOverflowError at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitNewClass(TreeScanner.java:551) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1820) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:706) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:534) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:706) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:534) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:706) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:534) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:706) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:534) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:706) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:534) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:706) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:534) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:706) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:534) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:706) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2231) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:534) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:535) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1759) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:495) at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1663) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1048) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:207) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:147) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:141) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:914) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:822) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:603) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:149) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) 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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$getParameterName$1(ParameterNameProviderImpl.java:139) at java.util.HashMap.computeIfAbsent(HashMap.java:1127) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:133) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:91) at com.sun.proxy.$Proxy26.getParameterName(Unknown Source) at com.sun.tools.javac.code.MissingInfoHandler.getParameterName(MissingInfoHandler.java:63) at com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1746) at com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1731) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.lambda$visitMethod$0(ParameterNameProviderImpl.java:145) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:145) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:141) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:914) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:822) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:603) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:149) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) 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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$getParameterName$1(ParameterNameProviderImpl.java:139)