Author: akazakov
Date: 2010-10-11 11:56:28 -0400 (Mon, 11 Oct 2010)
New Revision: 25728
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java
Log:
https://jira.jboss.org/browse/JBIDE-7264
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java 2010-10-11
15:53:22 UTC (rev 25727)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSF2CCAttrsELCompletionEngine.java 2010-10-11
15:56:28 UTC (rev 25728)
@@ -177,7 +177,9 @@
List<TextProposal> completions = new ArrayList<TextProposal>();
ELResolutionImpl status = resolveELOperand(file, parseOperand("" + prefix),
returnEqualedVariablesOnly); //$NON-NLS-1$
- completions.addAll(status.getProposals());
+ if(status!=null) {
+ completions.addAll(status.getProposals());
+ }
return completions;
}