error.method.nullParms=Parameter types cannot be null
error.value.expectedType=Expected type cannot be null
+# ExpressionBuilder
+error.parseFail=Failed to parse the expression [{0}]
+
# ExpressionMediator
error.eval=Error Evaluating {0} : {1}
import org.apache.el.parser.ELParser;
import org.apache.el.parser.Node;
import org.apache.el.parser.NodeVisitor;
-import org.apache.el.parser.ParseException;
import org.apache.el.util.ConcurrentCache;
import org.apache.el.util.MessageFactory;
n = n.jjtGetChild(0);
}
cache.put(expr, n);
- } catch (ParseException pe) {
- throw new ELException("Error Parsing: " + expr, pe);
+ } catch (Exception e) {
+ throw new ELException(
+ MessageFactory.get("error.parseFail", expr), e);
}
}
return n;
use any valid XML name) have a name which is not a Java identifier.
(markt)
</fix>
+ <add>
+ Broaden the exception handling in the EL Parser so that more failures to
+ parse an expression include the failed expression in the exception
+ message. Hopefully, this will help track down the cause of
+ <bug>51088</bug>. (markt)
+ </add>
</changelog>
</subsection>
<subsection name="Cluster">