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 12345 - add new textfield or button cannot edit the text.
Summary: add new textfield or button cannot edit the text.
Status: CLOSED DUPLICATE of bug 11533
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-22 16:52 UTC by MySKY Ong
Modified: 2003-06-30 18:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE.Log (as requested) (24 bytes, text/plain)
2001-07-20 20:38 UTC, MySKY Ong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MySKY Ong 2001-05-22 16:52:04 UTC
after add new textfield or button to a frame, i cannot edit the text thru GUI 
editor. i tried to edit it, a error will prompt out as below:

Tue May 22 23:59:34 GMT+08:00 2001: java.lang.NullPointerException: Posted 
StackTrace
Annotation: Exception occurred in Request Processor
org.openide.util.RequestProcessor$Holder: Posted StackTrace(task 
org.netbeans.core.ModuleActions$1@3043cc [-10124, 1, -1])
        at org.openide.util.RequestProcessor$Task.createHolder
(RequestProcessor.java:322)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:100)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:73)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:89)
        at org.openide.awt.Actions$ButtonBridge.actionPerformed
(Actions.java:351)
        at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1450)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1504)
        at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:378)
        at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:250)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
[catch] at 
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased
(BasicMenuItemUI.java:886)
        at java.awt.Component.processMouseEvent(Component.java:3717)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1167)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1216)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2458)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2223)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2132)
        at java.awt.Container.dispatchEventImpl(Container.java:1203)
        at java.awt.Window.dispatchEventImpl(Window.java:918)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:336)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
 
Tue May 22 23:59:34 GMT+08:00 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
        at org.netbeans.modules.form.InPlaceEditLayer.placeInPlaceField
(InPlaceEditLayer.java:382)
        at org.netbeans.modules.form.InPlaceEditLayer.createInPlaceField
(InPlaceEditLayer.java:198)
        at org.netbeans.modules.form.InPlaceEditLayer.setEditedComponent
(InPlaceEditLayer.java:77)
        at org.netbeans.modules.form.FormDesigner.startInPlaceEditing
(FormDesigner.java:924)
        at org.netbeans.modules.form.actions.InPlaceEditAction.performAction
(InPlaceEditAction.java:43)
        at org.openide.util.actions.NodeAction.performAction(NodeAction.java:92)
        at org.openide.util.actions.NodeAction.actionPerformed
(NodeAction.java:83)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:76)
        at org.openide.util.Task.run(Task.java:124)
[catch] at org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:626)
Comment 1 MySKY Ong 2001-05-22 16:53:17 UTC
Created attachment 1405 [details]
IDE.Log (as requested)
Comment 2 David Konecny 2001-05-22 16:58:36 UTC
Looks like issue for Form module.
Comment 3 Marian Mirilovic 2001-05-22 18:06:56 UTC
If you combine SWING container and AWT component, I think is the same as issue
11533, this bug is fixed now in dev build.

*** This issue has been marked as a duplicate of 11533 ***
Comment 4 Quality Engineering 2003-06-30 18:21:30 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-06-30 18:33:15 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.