 <p>I've usually experience this whenever the ClassLoader changes.</p> <p>Depending on the exact context that an app is running ClassLoaders have different rules about when a resource file exists. For example in netbeans getResource is case insensitive, but in Sun's JRE it is.</p> <p>Although not directly answering your question, I thought you should know this (if you didn't already).</p>