CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: jtc5263

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    5,814

    Re: NullPointerException Error trouble

    I can't thank you enough for your help!
    I moved the method call outside of the loop and it works perfectly. I guess it was another case of me misplacing curly braces! I also took your advice and...
  2. Replies
    4
    Views
    5,814

    Re: NullPointerException Error trouble

    Thank you and sorry about that!
    here is the exception message:

    Exception in thread "main" java.lang.NullPointerException
    at EmployeeProgram.computeMonthlyPay(EmployeeProgram.java:38)
    at...
  3. Replies
    4
    Views
    5,814

    NullPointerException Error trouble

    Hello,
    I have 2 classes, Employee, and EmployeeProgram. I keep getting a NullPointerException Error from two of my lines in my main method in EmployeeProgram. I highligted the lines below in green...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured