OpenXML Filter: empty structured document tag content causes the NullPointerException

Create issue
Issue #1085 resolved
Denis Konovalyenko created an issue
java.lang.NullPointerException
    at net.sf.okapi.filters.openxml.TextUnitMapper.lambda$baseRunProperties$3(TextUnitMapper.java:80)
    at java.util.Optional.orElseGet(Optional.java:267)
    at net.sf.okapi.filters.openxml.TextUnitMapper.baseRunProperties(TextUnitMapper.java:78)
    at net.sf.okapi.filters.openxml.BlockTextUnitMapper.map(BlockTextUnitMapper.java:71)
    at net.sf.okapi.filters.openxml.StyledTextPart.mapToEvents(StyledTextPart.java:483)
    at net.sf.okapi.filters.openxml.StyledTextPart.process(StyledTextPart.java:309)
    at net.sf.okapi.filters.openxml.StyledTextPart.open(StyledTextPart.java:233)
    at net.sf.okapi.filters.openxml.StyledTextPart.open(StyledTextPart.java:127)
    at net.sf.okapi.filters.openxml.OpenXMLFilter.nextInDocument(OpenXMLFilter.java:456)
    at net.sf.okapi.filters.openxml.OpenXMLFilter.next(OpenXMLFilter.java:266)
    at net.sf.okapi.filters.openxml.OpenXMLFilter.next(OpenXMLFilter.java:275)

UI:

For additional details please refer to the attached document.

Comments (2)

  1. Log in to comment