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 22729 - NPE in fast mode when setting a text property
Summary: NPE in fast mode when setting a text property
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Jellytools (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-24 09:30 UTC by Jiri Skrivanek
Modified: 2002-07-19 15:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2002-04-24 09:30:41 UTC
The problem is that new value is writen into text
field and text field dismiss. But after
that jelly wants to commit new value by "Enter"
key pushing on non-existing text field and that is
why it fails.
Workaround is to call
JellyProperties.setFast(false); because it happens
only in fast mode.

Possible fix is to remove
jTextComponent.transferFocus() in JamTextComponent
at line 39. What do think Steve?

Test case to reproduce:

        String path = "Editing|Editor
Settings|Java Editor";
        Options.show();
        Options opt = new Options();
        PropertiesWindow pw =
opt.getPropertiesWindow(path, false);
        pw.switchToPropertiesTab();
        pw.setText("Font Size","13");
Comment 1 Jiri Skrivanek 2002-06-14 12:15:08 UTC
Fixed as suggested.
Comment 2 Jiri Skrivanek 2002-06-14 12:15:42 UTC
Verified.