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 125322 - NPE in NbSheet after fix of 125057
Summary: NPE in NbSheet after fix of 125057
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Stanislav Aubrecht
URL: http://statistics.netbeans.org/analyt...
Keywords:
: 125291 125325 125334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-15 20:03 UTC by Shivanand Kini
Modified: 2008-12-22 10:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch for the NPE (819 bytes, text/plain)
2008-01-15 20:07 UTC, Shivanand Kini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shivanand Kini 2008-01-15 20:03:47 UTC
Steps:
1. Open a WSDL in wsdl editor
2. Close it.

java.lang.NullPointerException
	at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
	at java.util.Arrays.asList(Arrays.java:3343)
	at org.netbeans.core.NbSheet.updateTitle(NbSheet.java:265)
[catch] at org.netbeans.core.NbSheet$1.run(NbSheet.java:321)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Shivanand Kini 2008-01-15 20:07:24 UTC
Created attachment 55093 [details]
Patch for the NPE
Comment 2 Shivanand Kini 2008-01-15 20:07:40 UTC
Please review the patch and commit.
Comment 3 Lukas Hasik 2008-01-16 11:27:21 UTC
*** Issue 125291 has been marked as a duplicate of this issue. ***
Comment 4 Lukas Hasik 2008-01-16 11:28:49 UTC
*** Issue 125291 has been marked as a duplicate of this issue. ***
Comment 5 Lukas Hasik 2008-01-16 11:31:55 UTC
increasing priority, it seems that there is plenty of duplicates. Probably worth to fix in M1.
Comment 6 Stanislav Aubrecht 2008-01-16 11:44:45 UTC
fixed (thanks for the patch)

/cvs/core/src/org/netbeans/core/NbSheet.java,v  <--  NbSheet.java
new revision: 1.42; previous revision: 1.41
Comment 7 Lukas Hasik 2008-01-16 11:50:30 UTC
*** Issue 125334 has been marked as a duplicate of this issue. ***
Comment 8 Shivanand Kini 2008-01-17 18:09:52 UTC
*** Issue 125325 has been marked as a duplicate of this issue. ***
Comment 9 jlautz 2008-04-09 16:50:52 UTC
This is not easily reproduceable with 
Product Version: NetBeans IDE Dev (Build 200804040802) - Java CAPS Enabled
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: SunOS version 5.10 running on x86; ISO646-US; en (nb)
Userdir: /Users/lautz/sierrabuilds/JavaCAPS20080406/.netbeans/caps