Author: rob.stryker(a)jboss.com
Date: 2012-01-11 03:02:44 -0500 (Wed, 11 Jan 2012)
New Revision: 37756
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/vcf/ExportedClassFolderReferenceResolver.java
Log:
http://community.jboss.org/message/643854 - null check
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/vcf/ExportedClassFolderReferenceResolver.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/vcf/ExportedClassFolderReferenceResolver.java 2012-01-11
03:17:39 UTC (rev 37755)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/vcf/ExportedClassFolderReferenceResolver.java 2012-01-11
08:02:44 UTC (rev 37756)
@@ -34,7 +34,7 @@
ReferencedComponent referencedComponent) {
URI handle = referencedComponent.getHandle();
String s = handle.toString();
- if(s.startsWith(OUTPUT_FOLDER_PROTOCOL))
+ if(s != null && s.startsWith(OUTPUT_FOLDER_PROTOCOL))
return true;
return false;
}