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 64565

Summary: Welcome screen once closed can not opened again
Product: ide Reporter: pcdinh <pcdinh>
Component: WelcomeAssignee: _ pkuzel <pkuzel>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Error log

Description pcdinh 2005-09-16 17:57:36 UTC
I just installed fresh NetBeans 5.0 dev build 200509151800 on Windows XP SP1,
Java 5.0 update 4.

The installation went smoothly. After that I launched Netbeans, closed the
Welcome screen  using the cross sign at the corner of the panel and tried to
open it again using Help-> Welcome screen, a dialog windows appear, stating that
Unexpected Exception occured. The same situation happened when I dit the same
with About menu item.

Log file has been attached.
Comment 1 pcdinh 2005-09-16 17:58:35 UTC
Created attachment 24893 [details]
Error log
Comment 2 pcdinh 2005-09-16 18:01:08 UTC
In think you should update the guide on the error dialog window in this case. It
told me that: 

A java.lang.NullPointerException exception has occurred.
Please report this at http://www.netbeans.org/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your C:\Documents and
Settings\Apache\.netbeans\dev\var\log folder.

The address http://www.netbeans.org/issues.html seems to be outdated. It should
be http://www.netbeans.org/community/issues.html

Thanks for your great product.
Comment 3 Marian Mirilovic 2005-09-19 09:11:56 UTC
This is P1, reproducible on Linux (NB 5.0 (200509181800), JDK 6.0 (b51) ).

Once the user got this exception, the same exception is thrown again and again
(try to invoke popup menu in Projects view, invoke main menu ....)

pcdinh,
I've filed separate issue 64632, to change the adress in Exception dialog.
Comment 4 _ pkuzel 2005-09-19 12:24:57 UTC
Not reproducible on Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_06-ea-b02).

I can remove all focus related code from the welcome. It's safe as mouse only
operation was required.
Comment 5 _ pkuzel 2005-09-19 12:46:00 UTC
Blindly fixed:

Checking in TitlePanel50.java;
/shared/data/ccvs/repository/ide/welcome/src/org/netbeans/modules/welcome/ui/TitlePanel50.java,v
 <--  TitlePanel50.java
new revision: 1.12; previous revision: 1.11
done
Checking in OvalButton.java;
/shared/data/ccvs/repository/ide/welcome/src/org/netbeans/modules/welcome/ui/OvalButton.java,v
 <--  OvalButton.java
new revision: 1.11; previous revision: 1.10
done
Checking in TitlePanel50.form;
/shared/data/ccvs/repository/ide/welcome/src/org/netbeans/modules/welcome/ui/TitlePanel50.form,v
 <--  TitlePanel50.form
new revision: 1.3; previous revision: 1.2
done
Comment 6 _ pkuzel 2005-09-19 12:50:01 UTC
*** Issue 64189 has been marked as a duplicate of this issue. ***
Comment 7 _ pkuzel 2005-09-19 12:59:32 UTC
FIXED
Comment 8 Marian Mirilovic 2005-09-20 07:32:29 UTC
*** Issue 64686 has been marked as a duplicate of this issue. ***
Comment 9 Marian Mirilovic 2005-09-20 08:01:04 UTC
verified in NB 5.0 (200509191800)
Comment 10 Marian Mirilovic 2006-04-26 09:58:20 UTC
*** Issue 75504 has been marked as a duplicate of this issue. ***