Skip to content
Permalink
Browse files
Fix a potential NPE
git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1556058 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Jan 6, 2014
1 parent fcc19c3 commit 90b98052841c12eaa4ba0d99013c7844f193fd32
Showing 1 changed file with 1 addition and 1 deletion.
@@ -68,7 +68,7 @@ static Class<?> getClassForMetaData(BlueprintContainer container, ComponentMetad
if (bm instanceof ExtendedBeanMetadata) {
cls = ((ExtendedBeanMetadata)bm).getRuntimeClass();
}
if (cls == null && container instanceof ExtendedBlueprintContainer) {
if (cls == null && container instanceof ExtendedBlueprintContainer && bm.getClassName() != null) {
try {
cls = ((ExtendedBlueprintContainer)container).loadClass(bm.getClassName());
} catch (ClassNotFoundException cnfe) {

0 comments on commit 90b9805

Please sign in to comment.