I've had the same problem. Here is what has worked for me:
1) Create a blank ConfigurationParameterSettings object using the
CPE factory:
CasProcessorConfigurationParameterSettings settings =
CpeDescriptorFactory.produceCasProcessorConfigurationParameterSettings();
2) Set your
Seems like a bug, as a workaround can you try the following:
mCPE = UIMAFramework.produceCollectionProcessingEngine();
ConfigurationParameterSettings settings =
mCPE.getCollectionReader().getProcessingResourceMetaData().getConfigurationParameterSettings();
You should be able to change
I'm trying to launch a collection reader programmatically (from java) and
am able to do the following:
1. instantiate a CpeDescription object from a descriptor file
2. get all the collection readers for that CpeDescription using the
getAllCollectionCollectionReaders() method
3. for each reader,