NPE on LiteralExpressionImpl.evaluate if literal is null
--------------------------------------------------------
Key: GEOT-1515
URL: http://jira.codehaus.org/browse/GEOT-1515
Project: GeoTools
Issue Type: Bug
Components: core filter
Affects Versions: 2.4-RC0
Reporter: Gabriel Roldán
Assignee: Gabriel Roldán
Fix For: 2.4-RC1
LiteralExpressionImpl throws NPE on:
{code}
public Object evaluate(Object feature) {
//ASSERTION: literal is always a string.
if (literal.getClass() != String.class) { //NPE here
return literal;
}
.....
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel