Hello,
I sometimes get this exception when I iterate between documents in the cursor. I have same problem in my other queries too the problem is not specific to this schema. My code is something like this :
BusinessDocumentWorkspace ws = new BusinessDocumentWorkspace(store);
RegisterDocType(“oc_icd”);
QueryContainer query = new QueryContainer(“oc_icd”);
query.add(new QueryElement(“.”, “*”, “~=”));
Cursor docCursor = ws.query(“qryoc_icd”, query);//msa
System.out.println("cursor size : "+docCursor.count());
while (docCursor.hasNext()) {
BusinessDocument bicd = (BusinessDocument) docCursor.next(); }
In this code I get the exception at line docCursor.next and each time in a different record.
The exception message is like this :
StoreException: null
?
Problem during retrieval of previous query cursor content.
com.softwareag.tamino.db.API.response.TXMLObjectFetchingIterator.fetchBlockAt(TXMLObjectFetchingIterator.java:303)
com.softwareag.tamino.db.API.response.TXMLObjectFetchingIterator.fetchBlockWith(TXMLObjectFetchingIterator.java:281)
com.softwareag.tamino.db.API.response.TXMLObjectFetchingIterator.next(TXMLObjectFetchingIterator.java:115)
com.softwareag.xtools.xapplication.store.TaminoElementIterator.next(TaminoElementIterator.java:141)
com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentCursor.next(BusinessDocumentCursor.java:303)
hitit.Hiti…
#webMethods#Tamino#API-Management