8 Replies Latest reply on Mar 25, 2003 1:50 PM by 807594

    C 'er thought this was Java??: NullPointerException hell

      Hi all,

      please de-mystify the following for me.
      my code compiles & crashes with the following:

      C:\biz>java -classpath C:\ biz.HVACMenu
           at java.awt.Container.addImpl(Container.java:625)
           at java.awt.Container.add(Container.java:307)
           at biz.FlueVentSizing.buildSectionPanel(FlueVentSizing.java:216)
           at biz.FlueVentSizing.<init>(FlueVentSizing.java:150)
           at biz.HVACMenu.populateTabbedPane(HVACMenu.java:52)
           at biz.HVACMenu.<init>(HVACMenu.java:41)
           at biz.HVACMenu.main(HVACMenu.java:100)
      Exception in thread "main"
      code --
      line 41 : populateTabbedPane();
      line 52 : tabbedPane.addTab( "Flue Vent Sizing",
      null, new FlueVentSizing(),
      line 100 : HVACMenu hv = new HVMenu();

      line 150 : buildSectionPanel();
      line 216: JsectionPanel.add(limbhInput);

      As to the
           at java.awt.Container.addImpl(Container.java:625)
           at java.awt.Container.add(Container.java:307)

      I don't see why these 2 are displayed??
      Any hints welcome.