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.
My netbeans settings are -J-Xms1024m -J-Xmx1536m The issue is reproduced only with JDK 1.6 Steps to reproduce: - Get Java source files from <jdk6-install-path>/src.zip file - Reverse engineer 'java.*' and 'javax.*' packages Dialog with StackOverflowError appears. See the attached IDE log file. The generated uml project is empty
Created attachment 40093 [details] IDE log file
summary: - it's impossible to re full sources of java6 and work with result model (at least on my system), you'll get heap space problem on java5 - it's possible to re java+javax package of java6 sources if ide started on java5 with increaing of heap space - it's not possible to re java+javax package of java6 with ide started on java6 with increaing heap space only, you have to increase stack size also or you'll get stackoverflow (I used Xss8m option). it may be required to add information about stack to our release notes/installation instructions, as I know we have information about heap increase only
It was said to me today default stack size was decreased in java6 in order to support more threads at the same time.
reverse engineering the full sources of java6 might not be a common use case since java6 source is huge. People probably just re specific packages of interests, eg, java + javax packages which can be accomplished by increasing the stack size as a workaround. I'm downgrading this issue to a P2.
Of course, we need to document that increasing the stack size helps so users know what to do if such problem ever occurs.
*** Issue 102890 has been marked as a duplicate of this issue. ***
the same case like IZ 76474 and IZ 76296 of deep recursion, exceeding stack size, at parsing of expressions
*** This issue has been marked as a duplicate of 76474 ***