felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r939080 - /felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/plugin/bnd/DescriptorGenerator.java
Date Wed, 28 Apr 2010 20:37:08 GMT
Author: pderop
Date: Wed Apr 28 20:37:08 2010
New Revision: 939080

URL: http://svn.apache.org/viewvc?rev=939080&view=rev
Log:
avoid NPE when invoking Bnd's error method

Modified:
    felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/plugin/bnd/DescriptorGenerator.java

Modified: felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/plugin/bnd/DescriptorGenerator.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/plugin/bnd/DescriptorGenerator.java?rev=939080&r1=939079&r2=939080&view=diff
==============================================================================
--- felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/plugin/bnd/DescriptorGenerator.java
(original)
+++ felix/trunk/dependencymanager/annotation/src/main/java/org/apache/felix/dm/annotation/plugin/bnd/DescriptorGenerator.java
Wed Apr 28 20:37:08 2010
@@ -120,7 +120,7 @@ public class DescriptorGenerator extends
             }
             sb.append(": ");
             sb.append(parse(err));
-            error(sb.toString(), err.getCause());
+            error(sb.toString());
             return false;
         }
 



Mime
View raw message