Author: dazarov
Date: 2009-09-30 11:10:15 -0400 (Wed, 30 Sep 2009)
New Revision: 17820
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4771
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java 2009-09-30
13:43:49 UTC (rev 17819)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java 2009-09-30
15:10:15 UTC (rev 17820)
@@ -342,7 +342,7 @@
ELInvocationExpression expr = (ELInvocationExpression)ex;
try {
ELResolution resolution = engine.resolveEL(null, expr, false);
- if(resolution.isResolved()) {
+ if(resolution != null && resolution.isResolved()) {
ELSegment segment = resolution.getLastSegment();
if(segment instanceof JavaMemberELSegmentImpl) {
member = ((JavaMemberELSegmentImpl)segment).getMemberInfo();