Yeah, I tried that too. It didn't work but it pointed me in the right direction. If i had take a moment to look at it i would have seen what was happening. The URL was null indicating the resource might not be there. So I check the path and it was fine. I had a third party lib nearby loading a file so I looked into it to see if it was having the same problem but it was using a different a proprietary ResourceLocator. So I tried that and it fixed the problem.
So, if anyone sees this error is means that it could not find the requested Resource and getResource is returning null.
i'm not sure what my initial problem was, because i can't reproduce it anymore
But one problem was that the al_title property contained a space:
<param name="al_title" value="Test Applet">
The other problem was, that the applications jar was not signed.
Now it works using:
ResourceLocatorTool.addResourceLocator(ResourceLocatorTool.TYPE_TEXTURE,
new SimpleResourceLocator(Util.class.getResource("/com/somepackage/resources/textures/")));