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

Summary: NPE when showing tooltip during debugging
Product: editor Reporter: Milan Kubec <mkubec>
Component: -- Other --Assignee: Martin Roskanin <mroskanin>
Status: VERIFIED DUPLICATE    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: exc stack trace

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. ***