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.
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.
Created attachment 11032 [details] log file
Reassigning to HTML module.
Unfortunately, I am not able to reproduce this error on Win2000 / JDK 1.4.2. Does this happen every time, or just sometimes?
Marek, please specify reproducible test case and reopen.
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.
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.
Created attachment 11444 [details] IDE log file
Marek, can you please verify whether this issue still occurs in the recent dev builds of NetBeans 3.6? Thanks.
Can not reproduce now, closing as invalid.
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.
Created attachment 13391 [details] log file
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.
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
(cont.) It doesn't make difference, whether I use the default (MS) or the Swing browser
I believe this has been fixed in the latest trunk builds. Can you please try in the current development builds? Thanks.
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.
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
Created attachment 14663 [details] log file
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.
Marek, can you please try this with the latest dev builds of NetBeans 4.0? Thanks.
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.
Unrecognized setting was fixed in latest dev builds (e.g. latest qbuild should be ok).
It's best to start with a fresh user settings directory.
As far as I could test it, it seems to work with NetBeans 4.0.