Search:

Type: Posts; User: Norm

Search: Search took 0.18 seconds.

  1. Replies
    6
    Views
    1,516

    Re: getResource()-error

    What is causing the NullPointerException? What variable or value is null?


    The code shows that the fileName variable being passed to the getResource() method.
    Your statement does not make sense....
  2. Replies
    6
    Views
    1,516

    Re: getResource()-error

    Look at the code at line 18.
    Does the getResource method return a null?
    Does the file referenced in the fileName variable exist?
Results 1 to 2 of 2