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 40240 - NPE when showing tooltip during debugging
Summary: NPE when showing tooltip during debugging
Status: VERIFIED DUPLICATE of bug 35743
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords: REGRESSION
: 40906 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-18 16:03 UTC by Milan Kubec
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (1.09 KB, text/plain)
2004-02-18 16:04 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-02-18 16:03:35 UTC
[dev-200402171900, JDK 1.4.2]
NullPointerException is thrown when user places
caret over some variable during debugging session.
Tooltip is shown.
Comment 1 Milan Kubec 2004-02-18 16:04:12 UTC
Created attachment 13510 [details]
exc stack trace
Comment 2 Miloslav Metelka 2004-02-18 16:12:16 UTC
Looks like getRootPane() in

 textComponent.getRootPane().getLayeredPane());

in PopupManager returns null. The textComponent is likely not null as
it would throw NPE earlier.
Assigning to Mato.
Comment 3 Martin Roskanin 2004-02-19 13:22:50 UTC
already reported

*** This issue has been marked as a duplicate of 35743 ***
Comment 4 Milan Kubec 2004-02-20 10:04:00 UTC
Verified in dev-200402191900.
Comment 5 Martin Roskanin 2004-03-11 09:27:09 UTC
*** Issue 40906 has been marked as a duplicate of this issue. ***