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 45800 - just another NPE (from SwingUtilities.getWindowAncestor)
Summary: just another NPE (from SwingUtilities.getWindowAncestor)
Status: CLOSED DUPLICATE of bug 37814
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-07-01 14:21 UTC by Jan Jancura
Modified: 2008-12-22 23:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (1.29 KB, text/plain)
2004-07-01 14:22 UTC, Jan Jancura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Jancura 2004-07-01 14:21:51 UTC
1) Open NB
2) open some file in editor
3) close all editor tabs
4) press ALS+SHIFT+O
=> NPE

This bug is there for several months!

Product Version       = NetBeans IDE Dev (Build
200406251415)
Operating System      = Windows XP version 5.1
running on x86
Java; VM; Vendor      = 1.4.2_03; Java HotSpot(TM)
Client VM 1.4.2_03-b02; Sun Microsystems Inc.
  System Locale; Encod. = cs_CZ (nb); Cp1250
Comment 1 Jan Jancura 2004-07-01 14:22:25 UTC
Created attachment 16102 [details]
NPE
Comment 2 Jan Jancura 2004-07-01 14:23:15 UTC
We should not release with it => P2
Comment 3 Lukas Hasik 2004-07-01 15:06:23 UTC
I did the same steps and didn't reproduce.
My steps - run IDE with fresh userdir, CTRL+O, opened txt file, close
all documents(Welcome and txt), Atl+Shift+O, Go to Class dialog opened
-> no NPE.

>Log Session: Thursday, July 1, 2004 3:53:53 PM CEST
>System Info:
  Product Version       = NetBeans IDE Dev (Build 200406291800)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.4.2_04; Java HotSpot(TM) Client VM
1.4.2_04-b05; Sun
 Microsystems Inc.


-anyway, has it sense to open "Go to class" dialog when there isn't
any project opened ???
Comment 4 Jan Jancura 2004-07-01 15:22:58 UTC
I have some projects open!
I have closed all editor tabs only.
And it reproducible regulary for me...
Comment 5 Lukas Hasik 2004-07-01 15:29:39 UTC
hmmm, I really cannot reproduce even with opened project. Maybe there
are some other conditions...
Comment 6 Milos Kleint 2004-07-02 08:28:26 UTC
is a duplicate of 37814. a JDK bug, fixed in 1.5

*** This issue has been marked as a duplicate of 37814 ***
Comment 7 Marian Mirilovic 2005-07-19 15:25:40 UTC
verified duplicate