nullPointerException in TestPongCool

Hi,

I am trying to run one of the tutorial programs called TestPongCool using the IntelliJ IDEA IDE. It keeps giving me a NullPointerException when I run it at this line (around line 316):



AudioTrack music1 = TestPongCool.class.getResource("/jmetest/data/sound/test.ogg"));



I have tried using the getClass().getClassLoader methods and that doesnt work

Do I need to compile the sounds into a jar package? I don’t think I should have to since I using the URL, not just the filename.



Thanks