Some help on this exception: java.lang.NullPointerException: src image is null
As the title of the post says I'm wondering how to solve this problem with my code. I'm using netbeans and my goal is to open an image and then apply some effects (like blur, scale, etc). I have 5 classes: the frameimage (where I have the buttons), a class where I have the effects, a class for the JFilechooser function, a class where I draw the image, and the main class. On the button named blur I call the blur component of the effects class: c.blur(); and I don't have any errors. The problem is when I run the program, open the image and then when I hit the "blur" button it gives me the error. Why?? I mean I had called the effect java class on the frameimage class and it still has this error.
Thanks in advance for any ideas or help.:(nod):