commit | b35b274960f3dc81b9a8778fe4b0eb51e93a73e2 | [log] [tgz] |
---|---|---|
author | Valentin Valchev <vvalchev@apache.org> | Wed Mar 28 07:51:04 2012 +0000 |
committer | Valentin Valchev <vvalchev@apache.org> | Wed Mar 28 07:51:04 2012 +0000 |
tree | 1f5118775429924847da06296f1ad0d0c3d704b4 | |
parent | 809bccbc03f1c9ea15f7a64f9525d2cdf0d68bf8 [diff] |
Fixed FELIX-3405 NPE in Web Console https://issues.apache.org/jira/browse/FELIX-3405 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1306203 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java b/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java index baa9c7d..16d8e56 100644 --- a/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java +++ b/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java
@@ -31,6 +31,7 @@ import org.apache.commons.io.IOUtils; import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; +import org.osgi.service.log.LogService; /** @@ -898,7 +899,7 @@ } // template file does not exist, return an empty string - log( "readTemplateFile: File '" + templateFile + "' not found through class " + clazz ); //$NON-NLS-1$ //$NON-NLS-2$ + log( LogService.LOG_ERROR, "readTemplateFile: File '" + templateFile + "' not found through class " + clazz ); //$NON-NLS-1$ //$NON-NLS-2$ return ""; //$NON-NLS-1$ }