Page 1 of 1

Missing condition

PostPosted: Fri Nov 15, 2013 2:17 am
by gingwa123
INFO org.docx4j.model.datastorage.OpenDoPEHandler .processBindingRoleIfAny line 673 - od:condition=ss
INFO org.docx4j.model.datastorage.OpenDoPEHandler .processBindingRoleIfAny line 692 - Processing Conditional: od:condition=ss
WARN org.docx4j.openpackaging.parts.opendope.ConditionsPart .getConditionById line 40 - Condition ss is missing
ERROR org.docx4j.model.datastorage.OpenDoPEHandler .processBindingRoleIfAny line 698 - Missing condition ss
ERROR:java.lang.NullPointerException

I set up a condition (simple xpath round some text)

/document/TestResults/TestResult[@testId='xxx']

XPathID: s <---- assume it can be anything

Condition ID: ss <----- assume it can be anything

create condition clicked then save then run code to generate document

Misunderstanding something?

Re: Missing condition

PostPosted: Fri Nov 15, 2013 6:53 am
by jason
It appears your docx is corrupt. Unzip it and take a look at the conditions part - is the condition there?

Which authoring add in are you using?