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 26242 - null pointer
Summary: null pointer
Status: RESOLVED WORKSFORME
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: 2002-08-02 20:59 UTC by Vince
Modified: 2003-02-03 17:16 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 Vince 2002-08-02 20:59:56 UTC
i had some invalid jars in the classpath and my already 
compiled JFrame's referenced classes in the missing jars. 
hope this helps. 

Fri Aug 02 12:48:55 PDT 2002: 
java.lang.NullPointerException: <no message>
java.lang.NullPointerException
        at java.util.Hashtable.get(Hashtable.java:320)
        at 
org.netbeans.modules.form.FormEditorSupport.getSupport
(FormEditorSupport.java:305)
        at 
org.netbeans.modules.form.HandleLayer.selectOtherComponents
Node(HandleLayer.java:385)
        at 
org.netbeans.modules.form.HandleLayer.access$1200
(HandleLayer.java:42)
        at 
org.netbeans.modules.form.HandleLayer$HandleLayerMouseListe
ner.mousePressed(HandleLayer.java:893)
        at java.awt.Component.processMouseEvent
(Component.java:3712)
        at java.awt.Component.processEvent
(Component.java:3544)
        at java.awt.Container.processEvent
(Container.java:1164)
        at java.awt.Component.dispatchEventImpl
(Component.java:2593)
        at java.awt.Container.dispatchEventImpl
(Container.java:1213)
        at java.awt.Component.dispatchEvent
(Component.java:2497)
        at 
javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispat
cher.retargetMouseEvent(BasicInternalFrameUI.java:1221)
        at 
javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispat
cher.forwardMouseEvent(BasicInternalFrameUI.java:1148)
        at 
javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispat
cher.mousePressed(BasicInternalFrameUI.java:1087)
        at java.awt.Component.processMouseEvent
(Component.java:3712)
        at java.awt.Component.processEvent
(Component.java:3544)
        at java.awt.Container.processEvent
(Container.java:1164)
        at java.awt.Component.dispatchEventImpl
(Component.java:2593)
        at java.awt.Container.dispatchEventImpl
(Container.java:1213)
        at java.awt.Component.dispatchEvent
(Component.java:2497)
        at 
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451)
[catch] at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:2210)
        at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:2125)
        at java.awt.Container.dispatchEventImpl
(Container.java:1200)
        at java.awt.Window.dispatchEventImpl
(Window.java:926)
        at java.awt.Component.dispatchEvent
(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent
(EventQueue.java:339)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run
(EventDispatchThread.java:85)
Comment 1 Tomas Pavek 2002-08-05 08:50:17 UTC
Thanks for report. I have some more questions... Are you able to
reproduce this reliably? Could you verify if it happens in NetBeans
3.4? Thanks
Comment 2 Tomas Pavek 2003-02-03 17:16:36 UTC
The exception is nice, but not enough to find out the cause. I have no
idea how the form editor could get to that state. Need some steps to
reproduce.