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

Summary: NPE in fast mode when setting a text property
Product: qa Reporter: Jiri Skrivanek <jskrivanek>
Component: JellytoolsAssignee: issues@qa <issues>
Status: CLOSED FIXED    
Severity: blocker CC: ssffleming
Priority: P3    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

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.