Currently, if you are attempting to get an expression and the object
contains null, the DefaultExpressionEvaluator doesn't perform any type
checking, but just returns null. Here's an example:
Expression: 'foo[0]'
Class:
public Bar {
public String foo;
}
This should fail even though foo is null inside Bar. It should inspect the
type and validate that it is a collection or indexed and output an error.
The same holds true for the getAnnotation method. This will throw a very
bad exception in this case.
Original issue reported on code.google.com by bpontare...@gmail.com on 22 Jan 2009 at 4:42
Original issue reported on code.google.com by
bpontare...@gmail.com
on 22 Jan 2009 at 4:42