google-code-export / uimafit

Automatically exported from code.google.com/p/uimafit
2 stars 1 forks source link

null pointer exception thrown when AnalysisEngine impl has no package #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following line in AnalysisEngineFactory throws an NPE if the AE 
implementation is in the default package:

meta.setVendor(componentClass.getPackage().getName());

Someone trying out uimaFIT yesterday ran into this.  This should be easy enough 
to fix and test.  

Original issue reported on code.google.com by pvogren@gmail.com on 12 Jan 2011 at 6:32

GoogleCodeExporter commented 9 years ago
btw - I discovered something about java I didn't know before:

from http://java.sun.com/docs/books/jls/third_edition/html/packages.html#7.5

"It is a compile time error to import a type from the unnamed package."

Original comment by pvogren@gmail.com on 12 Jan 2011 at 6:33

GoogleCodeExporter commented 9 years ago
fixed in rev 531

Original comment by pvogren@gmail.com on 12 Jan 2011 at 7:09

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 7 Apr 2011 at 12:12