Closed GoogleCodeExporter closed 8 years ago
Original comment by pvogren@gmail.com
on 1 May 2010 at 5:35
I just added tests that demonstrate that AnalysisEngineFactory does the correct
thing - it allows you to create a description missing mandatory values (so you
can e.g. write them out to xml as a template) but barfs when you try to create
an analysis engine. See
org.uimafit.factory.AnalysisEngineFactoryTest.testIssue5a() and b.
Richard, I see your point about the exception. UIMA complains before intialize
is ever called on the component. But your point about there not being enough
information in the trace speaks to your poor parameter naming! When I print
out the stack trace I get:
No value has been assigned to the mandatory configuration parameter
org.uimafit.factory.testAes.ParameterizedAE.PARAM_FLOAT_3.
Not hard to find that one!
But actually, it does give the component name at the very top of the stack
trace. The first line of the stack trace contains:
Error initializing "org.uimafit.factory.testAes.ParameterizedAE" from descriptor
So, there is no task associated with this issue and I think we are in agreement
about what the behavior should be and we have a test that demonstrates uimaFIT
is behaving correctly. Please reopen as you see fit.
Original comment by pvogren@gmail.com
on 11 Jun 2010 at 5:30
Original issue reported on code.google.com by
pvogren@gmail.com
on 1 May 2010 at 2:57