Author: scabanovich
Date: 2010-02-27 06:07:00 -0500 (Sat, 27 Feb 2010)
New Revision: 20527
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLinkHelper.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5884
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLinkHelper.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLinkHelper.java 2010-02-27
00:55:31 UTC (rev 20526)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLinkHelper.java 2010-02-27
11:07:00 UTC (rev 20527)
@@ -76,6 +76,9 @@
ISeamComponent[] cs = seamProject.getComponents();
for (ISeamComponent c : cs) {
ISeamJavaComponentDeclaration d = c.getJavaDeclaration();
+ if(d == null) {
+ continue;
+ }
IMember m = d.getSourceMember();
if(m == type)
return new StructuredSelection(d);