Hello,

It turned out to be a data issue. In DBCollectionReader, some of the document 
keys returned by the ‘Query Get Documents Key’ query did not have a 
corresponding row in the table with document text (‘Query Get Document’). 
Fixing such rows, got rid of the exception and the job ran fine.

Thanks,
Ritu

From: buddha [mailto:[email protected]]
Sent: Friday, August 12, 2016 12:28 PM
To: Khanna, Ritu <[email protected]>
Cc: [email protected]
Subject: Re: ctakes 3.2.2/ytex exception when processing large number of 
documents

My apologies, I didn’t look deep enough.  It looks like 
org.apache.uima.analysis_engine.AnalysisEngineProcessException:  is throwing 
the error (new font!)

I’ll try to check the source today unless someone knows this package and can 
get back faster.

b

~~~~~
May All Your Sequences Converge

On Aug 12, 2016, at 9:12 AM, Khanna, Ritu 
<[email protected]<mailto:[email protected]>> wrote:

We are using ytex DBCollectionReader in the pipeline which reads the document 
ids and document text from database tables.
I’m not sure what f refers to here.

From: buddha [mailto: [email protected]<mailto:[email protected]>]
Sent: Friday, August 12, 2016 12:09 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: ctakes 3.2.2/ytex exception when processing large number of 
documents

Is “f” a file?

"Can't find resource f
or bundle java.util.PropertyResourceBundle, key text is null for docId=null"

~~~~~
May All Your Sequences Converge

On Aug 12, 2016, at 9:06 AM, Khanna, Ritu 
<[email protected]<mailto:[email protected]>> wrote:

Yes, we verified that. I also checked the database table with the instance_key 
that was in the exception and both document and document text exist.

From: buddha [mailto:[email protected]]
Sent: Friday, August 12, 2016 12:04 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: ctakes 3.2.2/ytex exception when processing large number of 
documents

Are you able to verify you have a docId for every document?  This seems to be 
the trigger:

" key text is null for docId=null "
~~~~~
May All Your Sequences Converge

On Aug 12, 2016, at 8:55 AM, Khanna, Ritu 
<[email protected]<mailto:[email protected]>> wrote:

 key text is null for docId=null

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be 
used for urgent or sensitive issues

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be 
used for urgent or sensitive issues

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be 
used for urgent or sensitive issues 

Reply via email to