|
@@ -48,6 +48,9 @@ public class VersionInfo {
|
|
|
try {
|
|
|
InputStream is = Thread.currentThread().getContextClassLoader()
|
|
|
.getResourceAsStream(versionInfoFile);
|
|
|
+ if (is == null) {
|
|
|
+ throw new IOException("Resource not found");
|
|
|
+ }
|
|
|
info.load(is);
|
|
|
} catch (IOException ex) {
|
|
|
LogFactory.getLog(getClass()).warn("Could not read '" +
|