[jbosstools-commits] JBoss Tools SVN: r43609 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Sep 11 19:25:53 EDT 2012


Author: scabanovich
Date: 2012-09-11 19:25:53 -0400 (Tue, 11 Sep 2012)
New Revision: 43609

Modified:
   trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
Log:
JBIDE-12446
https://issues.jboss.org/browse/JBIDE-12446


Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java	2012-09-11 23:11:58 UTC (rev 43608)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java	2012-09-11 23:25:53 UTC (rev 43609)
@@ -374,7 +374,7 @@
 		Collection<IBean> beans = null;
 		
 		//DB
-		if(dbCache != null) {
+		if(dbCache != null && type.getType() != null) {
 			beans = dbCache.getBeansByLegalType(this, type.getType().getFullyQualifiedName());
 		}
 		//Compare with result from cache.



More information about the jbosstools-commits mailing list