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 29835 - NPE from JavaEditor.JavaEditorComponent.requestFocus
Summary: NPE from JavaEditor.JavaEditorComponent.requestFocus
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-07 16:23 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (1.29 KB, text/plain)
2003-01-07 16:24 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-01-07 16:23:44 UTC
Today's dev sources. No idea how to reproduce;
might have involved opening a form file.
Comment 1 Jesse Glick 2003-01-07 16:24:19 UTC
Created attachment 8462 [details]
stack trace
Comment 2 Svata Dedic 2003-01-07 17:04:37 UTC
Eh. I forgot that requestFocus can be called at some weird times. I
added simple null check for now, the issue may be related to #29780,
but that's during componentActivated(), when the window should be
already on-screen.

/cvs/java/src/org/netbeans/modules/java/JavaEditor.java,v  <-- 
JavaEditor.java
new revision: 1.132; previous revision: 1.131
Comment 3 Jan Becicka 2003-02-28 15:19:11 UTC
Cannot reproduce