mkabbasi / cleartk

Automatically exported from code.google.com/p/cleartk
0 stars 0 forks source link

TreeFeatureEncoder causes NPE with non-named Features. #377

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It is allowed to create a feature without a name and only a value (my 
understanding is the semantics of this is more like a name without a value but 
I digress). The TreeFeatureEncoder, for backwards compatibility, checks the 
feature name for starting with TK. Features without a name will cause a null 
pointer excpetion when null is returned by getName() and it tries to call the 
matches() method on it.

Original issue reported on code.google.com by tim.mil...@gmail.com on 17 Jun 2013 at 6:37

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 8def1ad6101e.

Original comment by tim.mil...@gmail.com on 26 Aug 2013 at 9:54