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 99262 - JDK6: StackOverflowError when RE java and javax packages
Summary: JDK6: StackOverflowError when RE java and javax packages
Status: RESOLVED DUPLICATE of bug 76474
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2007-03-28 16:14 UTC by Alexandr Scherbatiy
Modified: 2007-07-16 21:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (180.88 KB, text/plain)
2007-03-28 16:15 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-03-28 16:14:15 UTC
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
Comment 1 Alexandr Scherbatiy 2007-03-28 16:15:23 UTC
Created attachment 40093 [details]
IDE log file
Comment 2 Sergey Petrov 2007-04-04 16:42:51 UTC
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
Comment 3 Sergey Petrov 2007-04-12 22:12:05 UTC
It was said to me today default stack size was decreased in java6 in order to
support more threads at the same time.
Comment 4 Peter Lam 2007-04-12 22:40:00 UTC
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.
Comment 5 Peter Lam 2007-04-12 22:41:24 UTC
Of course, we need to document that increasing the stack size helps so users
know what to do if such problem ever occurs.
Comment 6 George Vasick 2007-04-30 22:23:21 UTC
*** Issue 102890 has been marked as a duplicate of this issue. ***
Comment 7 Viktor Lapitski 2007-07-13 03:38:10 UTC
the same case like IZ 76474 and IZ 76296 of deep recursion, exceeding 
stack size, at parsing of expressions
Comment 8 George Vasick 2007-07-16 21:08:53 UTC

*** This issue has been marked as a duplicate of 76474 ***