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 2204 - I have got NullPointerException during working wth Form Window
Summary: I have got NullPointerException during working wth Form Window
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-06-10 21:53 UTC by Jan Palka
Modified: 2002-07-19 15:19 UTC (History)
0 users

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 Jan Palka 1999-06-10 21:53:34 UTC
I have a form with a Panel and there were two buttons on the Panel. Then I have changed Gridbag to Absolute and then I have clicked to one button.  The exception issued :

Also the selecting of components is sometimes weird. (they couldn`t be selected via mouse and sometimes the exception is issued).  In such cases you have to select a Component via Component Inspector.



java.lang.NullPointerException
        at com.netbeans.developer.modules.loaders.form.FormManager2$ManagerMouse

Adapter.mousePressed(FormManager2.java:975)
        at com.netbeans.developer.modules.loaders.form.FormManager2$MouseProcess
or.mousePressed(FormManager2.java:758)
        at com.netbeans.developer.modules.loaders.form.LightweightLayer$1.mouseP
ressed(LightweightLayer.java:47)
        at java.awt.Component.processMouseEvent(Component.java:3123)
        at java.awt.Component.processEvent(Component.java:2965)
        at java.awt.Component.dispatchEventImpl(Component.java:2376)
        at java.awt.Component.dispatchEvent(Component.java:2289)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:1944
)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1726)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1645)
        at java.awt.Container.dispatchEventImpl(Container.java:1019)
        at java.awt.Window.dispatchEventImpl(Window.java:714)
        at java.awt.Component.dispatchEvent(Component.java:2289)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
Comment 1 Marek Grummich 2000-07-25 09:44:59 UTC
Priority is changed to P4 (normal).
Comment 2 Jan Stola 2000-07-27 17:54:59 UTC
Bug assigned to the module owner.