AbstractComplexEMFBinding.parse tries to create an instance of an abstract
class even if a value is provided
------------------------------------------------------------------------------------------------------------
Key: GEOT-1568
URL: http://jira.codehaus.org/browse/GEOT-1568
Project: GeoTools
Issue Type: Bug
Components: new modules
Affects Versions: 2.5-M1
Reporter: Gabriel Roldán
Assignee: Gabriel Roldán
Fix For: 2.5-M1
{{AbstractComplexEMFBinding.parse(ElementInstance instance, Node node, Object
value)}} reflectively creates a bindings target object by using an emf
{{EFactory}}.
The {{value}} argument might be non null in the case of parsing for a binding
which has a parent binding. The parent binding might well target an abstract
class, and thus there's no create* method in the factory for it.
When that happens, no check is made that value is already provided and it tries
to find the create* method on the factory, producing a NoSuchMethodException
--
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