This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183948

Summary: StackOverflowError at com.sun.source.util.TreeScanner.visitMethodInvocation
Product: javaee Reporter: _ gjijon <gjijon>
Component: WicketAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: normal CC: brambut, hathomson
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 145517
Attachments: stacktrace

Description _ gjijon 2010-04-12 19:50:51 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux

User Comments:
hathomson: Copying classes from one package to another in the same project.  

Note: There is a memory leak in the Netbeans 6.5 platform, this scan is one of the suspect's. I have disabled most plug-in's one by one, it was really bad with the PHP [which seemed to be connected to "scan"], however despite removing the plug-in's, the leak persists. I started profiling Netbeans with the VisualVM, when the scan TreePathScanner is running, heap spze starts to slowly increase.  Eventually the heap space will hit the max limit and generate the wonderful OOM [out of memory] message.  Have not investigated the TreePathScanner, but will do so now that this has appeared.

GUEST: starting netbeans with two large projects

GUEST: saving wicket application

brambut: Dear NetBeans developers,

I have been getting this error since this morning when I tried to work with my codes that extends org.apache.wicket.markup.html.tree.AbstractTree. Before today, there have never been any problem with netbeans. I tested this class also on friday and it worked just fine. I hope there is something you can tell me to solve this problem.

Thank you in advance.

gjijon: When I programing with Tree and TreeNodes




Stacktrace: 
java.lang.StackOverflowError
   at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:265)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1311)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
   at com.sun.source.util.TreePath$1PathFinder.scan(TreePath.java:66)
   at com.sun.source.util.TreePath$1PathFinder.scan(TreePath.java:62)
   at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:332)
Comment 1 _ gjijon 2010-04-12 19:50:55 UTC
Created attachment 97121 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 08:56:04 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss