Post Water returns null pointer?

I tried to add a WaterFilter and a FilterPostProcessor to add awesome water to my scene, but as soon as I run it, my application crashes, returning a NullPointerException. Upon looking, the NullPointer is returned from the line that instantiates the Normal Map for the water. I checked the path for the file it’s attempting to load and it’s there. I tried overriding and using my own, but it didn’t work either. Any help?

Could you provide your code adding the processor and the full error stack trace?

make sure you have JME3-effects.jar in your classpath.

if you are using the sdk the library is called jme3-libraries-effects

I got it to work. I just had to add the effects jar to the classpath. It works now! :smiley: