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 41164 - wrong size of exception dialog
Summary: wrong size of exception dialog
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 63713 82820 93961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-20 00:27 UTC by fbattle
Modified: 2008-12-22 14:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log for nb 3.6 rc1 (3.60 KB, text/plain)
2004-03-31 22:53 UTC, fbattle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fbattle 2004-03-20 00:27:13 UTC
[3.6 rc1] IDE suddenly will not load. Also error 
handling of this situation isn't very good.

Don't know why this is happening, but suddenly 
IDE will not load. On the startup splash screen 
it will stop loading on "Reading module 
storage.....Done". I get a dialog box 
titled "Unexpected exception". It has two 
buttons, left side says "OK", right side 
says "Show D...". Clicking Show D... does nothing 
at all. Clicking left side dismisses dialog box 
but does not shutdown the IDE splash screen. I 
have to use Windows Taskman to kill runide.exe.

Sorry I don't have more info for you. Feel free 
to ask me to do stuff for you. If there is a way 
to start the IDE with a logger I can do that. I'm 
running Win2k with 1.4.2_04.

(5 minutes later) ok, 3.6 beta is also broken, 
same behavior. Today I installed Tomcat 5.0.19 so 
maybe there is some kind of conflict.
Comment 1 fbattle 2004-03-20 01:49:34 UTC
Change to P5. Freeze was fixed. I was following instructions from 
java instructor to move all jar files from j2ee 1.4 to my 
j2sdk_1.4.2_04/jre/lib/ext directory to allow me to compile servlet 
code. In fact, only j2ee.jar and possibly j2ee_svc.jar are required. 
The other jar files were conflicting with netbeans. I found my 
ide.log files and noticed the usage of deprecated jar files.

I won't close this bug because I did find a problem with how 
unexpected exceptions are handled during startup. Definitely the 
right side button text needs to be visible. And the button should do 
something when pressed. I changed the priority from P2 to P5 and 
changed bug title from "freeze on startup" to "error handling on 
startup".
Comment 2 Milan Kubec 2004-03-31 07:33:31 UTC
Startup error handling is in core (hopefully).
Comment 3 Marian Mirilovic 2004-03-31 12:58:44 UTC
fbattle,
provide us more info  - attach your ide.log file , please.

Thanks in advance...
Comment 4 fbattle 2004-03-31 22:53:56 UTC
Created attachment 14232 [details]
ide.log for nb 3.6 rc1
Comment 5 fbattle 2004-03-31 22:56:59 UTC
Easy to reproduce
1) download sun app server from j2ee website.
2) Move all jar files from C:\Sun\AppServer\lib to jre/lib/ext
3) startup NetBeans, will freeze on splash screen
Comment 6 _ ttran 2004-04-21 22:41:36 UTC
> 2) Move all jar files from C:\Sun\AppServer\lib to jre/lib/ext

don't do it.  The jars in jre/lib/ext take precedence over the jars
bundled with the IDE, we cannot do anything about it.

jre/lib/ext is evil.
Comment 7 fbattle 2004-04-22 00:07:29 UTC
Sorry, but you missed the point of this bug.  I acknowlege my actions 
are incorrect, but these incorrect actions produce a bug which 
netbeans pretends to handle.  My actions create a dialog box with a 
button which you cannot read because the label is too long. Secondly, 
pressing the button does nothing.  Please read my second comment for 
a description of how netbeans behaves.
Comment 8 _ ttran 2004-04-22 09:47:02 UTC
okay okay :-)  Changed the summary accordingly
Comment 9 Jiri Rechtacek 2005-09-07 23:05:39 UTC
*** Issue 63713 has been marked as a duplicate of this issue. ***
Comment 10 Andrei Badea 2005-09-08 08:03:33 UTC
Currently the button is visible, but the label size is too small and the userdir
location is not displayed (see the screenshot attached to issue #63713). I don't
consider this a P5, rather a P3. By not displaying the userdir location we are
making things more difficult for dev builds users who want to report bugs. We
should fix this bug if we are interested in the feedback.

I won't raise the priority now, as it would affect the bug count for 5.0 (and
it's not worth fixing for this version).
Comment 11 Jiri Rechtacek 2006-08-17 09:27:43 UTC
*** Issue 82820 has been marked as a duplicate of this issue. ***
Comment 12 elharo 2006-08-17 11:21:15 UTC
There's another problem with this dialog. The text is now wrapped. It looks like
this:



AAAAAAAA
AAA
BBBBBBBB
BBB
CCCCCCC
C

when it should rewrap as necessary so it looks like 


AAAAAAAAAAA
BBBBBBBBBBB
CCCCCCCC


i.e. the line breaks should not be inserted manually in the dialog text. 
Comment 13 Jiri Rechtacek 2007-11-02 17:57:02 UTC
*** Issue 93961 has been marked as a duplicate of this issue. ***
Comment 14 Lukas Hasik 2008-04-10 21:23:09 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 15 Jiri Rechtacek 2008-08-28 14:08:05 UTC
Seems fixed in NbPresenter is at some time. Closed as WFM. Reopen if the problem appears again.