Fix NPE by returning an empty array.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@582130 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/cl/ClassLoaderJavaClassDescription.java b/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/cl/ClassLoaderJavaClassDescription.java
index 68a6715..83e87db 100644
--- a/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/cl/ClassLoaderJavaClassDescription.java
+++ b/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/cl/ClassLoaderJavaClassDescription.java
@@ -56,7 +56,7 @@
 
     public JavaField[] getFields() {
         // TODO Auto-generated method stub
-        return null;
+        return new JavaField[0];
     }
 
     public JavaClassDescription[] getImplementedInterfaces() throws MojoExecutionException {
@@ -64,7 +64,7 @@
         if (implemented == null || implemented.length == 0) {
             return null;
         }
-        
+
         JavaClassDescription[] jcd = new JavaClassDescription[implemented.length];
         for (int i=0; i < jcd.length; i++) {
             jcd[i] = manager.getJavaClassDescription(implemented[i].getName());