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 35001 - StackOverflowError
Summary: StackOverflowError
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-18 16:17 UTC by marek
Modified: 2009-05-18 10:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (10.29 KB, text/plain)
2003-07-18 16:21 UTC, marek
Details
IDE log file (11.71 KB, text/plain)
2003-08-26 16:37 UTC, marek
Details
log file (9.29 KB, text/plain)
2004-02-12 14:53 UTC, marek
Details
log file (109.72 KB, text/plain)
2004-05-03 09:22 UTC, marek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marek 2003-07-18 16:17:11 UTC
The IDE hangs with thw StackOverflowError by any attempt to 
view a html file (javadoc) having the Windows External 
Browser configured. This Problem appears with jdk 1.4.2, it 
doesn't appear with jdk 1.3.
Comment 1 marek 2003-07-18 16:21:31 UTC
Created attachment 11032 [details]
log file
Comment 2 iformanek 2003-08-06 16:37:51 UTC
Reassigning to HTML module.
Comment 3 Petr Jiricka 2003-08-25 18:57:08 UTC
Unfortunately, I am not able to reproduce this error on Win2000 / JDK
1.4.2.

Does this happen every time, or just sometimes?

Comment 4 _ rkubacki 2003-08-26 07:19:57 UTC
Marek, please specify reproducible test case and reopen.
Comment 5 Petr Jiricka 2003-08-26 12:58:28 UTC
Marek,

I tried to reproduce using the zip file you sent up, and using the
exact same build (3.5.1 RC1 - BTW don't you want to switch to 3.5.1
final?), and still can not reproduce the problem.

I have a couple of questions: Is the external browser started when you
do the View action? Which browser is it? NetScape, Mozilla or IE?
Which version? Do both the IDE and the browser freeze, or just the
IDE? Is the Javadoc successfully displayed before the IDE deadlocks?
If not, what message does the browser report?

Thanks.
Comment 6 marek 2003-08-26 16:35:15 UTC
I do use the final release of the IDE. The first time I've 
posted this problem I used RC1. In the older version this 
problem was more spectacular - I couldn't see any html 
file. Now it happens only with some javadocs.
In the attachment you will find the newest log file with 
all versions I use.

Here are the answers for your questions:
- The browser version is IE 5.50.4807.2300.
- Only the IDE freezes. The browser doesn't start at all - 
it simply doesn't get anything.
- If the browser was previously activated from the IDE with 
any working javadoc, it simply runs further (with the same 
javadoc) even the IDE doesn't respond anymore after 
attempting to switch to another javadoc.
- The javadocs that kill my IDE are included, for example, 
in jaf-0_1_2.zip or javamail-1_3_1.zip.
Comment 7 marek 2003-08-26 16:37:47 UTC
Created attachment 11444 [details]
IDE log file
Comment 8 Petr Jiricka 2004-01-15 18:20:04 UTC
Marek, can you please verify whether this issue still occurs in the
recent dev builds of NetBeans 3.6? Thanks.
Comment 9 Petr Jiricka 2004-01-21 19:12:32 UTC
Can not reproduce now, closing as invalid.
Comment 10 marek 2004-02-12 14:51:40 UTC
The problem still exists with NetBeans 1.6b. I can't open javadoc 
files. It seems to be even worse. The current log file has been 
produced while sliding the mouse cursor over the menu 
View/Documentation Indices (just slide, don't click). The program 
doesn't react any longer. This behavior is 100% reproducible. I 
report this problem under the old issue, because it seems to be just 
another effect of the old one.
Comment 11 marek 2004-02-12 14:53:46 UTC
Created attachment 13391 [details]
log file
Comment 12 Petr Jiricka 2004-02-12 16:11:01 UTC
Marek, can you please specify the exact steps you did to reproduce
this after installing the IDE on a clean user directory (you can tell
that you have a clean user directory if the dialog offering settings
import is displayed when starting the IDE). I assume you changed the
browser settings - what browser did you set up? Did you do any other
steps - did you mount any sources etc? Thanks.
Comment 13 marek 2004-02-12 16:40:33 UTC
OK, from the very beginning:
1. I uninstalled completely NB 3.6 and removed all related home/user 
directories
2. I installed NB 3.6 once again in an empty directory
3. I started the IDE - the import dialog appeared, which I canceled
4. As the desktop appeared (Welcome, etc.) I went to the View menu 
and slid with the mouse over the Documentation Indices sub-menu ...
5. ... I killed the IDE
Comment 14 marek 2004-02-12 16:45:08 UTC
(cont.)
It doesn't make difference, whether I use the default (MS) or the 
Swing browser
Comment 15 Petr Jiricka 2004-03-09 09:35:57 UTC
I believe this has been fixed in the latest trunk builds. Can you
please try in the current development builds? Thanks.
Comment 16 marek 2004-03-18 10:58:38 UTC
Yes, the problem with the View menu has been solved. However, I was 
wrong supposing, that this was another effect of the old problem.
The original problem - StackOverflowError on an attempt to view an 
html-file - remains still active.
Comment 17 jpfersich 2004-04-29 21:08:44 UTC
I don't know if this is the same type of problem, but I'd gotten a
StackOverflowError with 3.6 on linux. I just increased -Xmx96m
parameter in ide.cfg to -Xmx192m to get rid of the error. You might
also try adding a -Xss parameter to the same line in the ide.cfg
Comment 18 marek 2004-05-03 09:22:33 UTC
Created attachment 14663 [details]
log file
Comment 19 marek 2004-05-03 09:28:42 UTC
Unfortunately not.
I tried different settings for the memory parameters and I was not 
successful. But this time there is a lot of information in the log 
file attached. Perhaps this helps.
Comment 20 Petr Jiricka 2004-09-13 12:42:36 UTC
Marek, can you please try this with the latest dev builds of NetBeans
4.0? Thanks.
Comment 21 marek 2004-09-13 13:21:57 UTC
With pleasure, if you tell me how I can repair the Web Browser 
configuration: in the combo box there exist one entry "Swing HTML 
Browser" and two entries <Unrecognized setting>.
In the meantime, I have changed my browser to IE 6.0 but the problem 
still remains with NB 3.6.
Comment 22 Martin Grebac 2004-09-13 13:27:17 UTC
Unrecognized setting was fixed in latest dev builds (e.g. latest
qbuild should be ok).
Comment 23 Petr Jiricka 2004-09-13 13:39:08 UTC
It's best to start with a fresh user settings directory.
Comment 24 marek 2004-09-13 16:14:11 UTC
As far as I could test it, it seems to work with NetBeans 4.0.