Page 3 of 3 First 123
  • Jump to page:
    #31
  1. Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Aug 2010
    Location
    Eastern Florida
    Posts
    3,724
    Rep Power
    348
    t financialCalc.AutoCalc$AutoButtonListener.actionPerformed(AutoCalc.java:34)
    What variable has a null value at line 34? Find the variable and make sure it gets assigned a valid value.

    Did you copy the code from post#14? It didn't have any problems.

    I'm done for tonight. Back tomorrow.
  2. #32
  3. Daniel Schildsky
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Mar 2004
    Location
    KL, Malaysia.
    Posts
    1,555
    Rep Power
    1621

    NullPointerException


    You may not have instantiated the autoPmtPanel and the autoButtonPanel before actionPerformed() method is invoked by JVM when the button is clicked. You should somehow instantiate an instance for each of them or comment out lines 34 - 35.
    When the programming world turns decent, the real world will turn upside down.
Page 3 of 3 First 123
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo