SAP Knowledge Base Article - Preview

2481137 - Uploading a Clause Document gives error "java.lang.NullPointerException: while trying to invoke the method org.apache.poi.openxml4j.opc.PackageRelationship.getTargetURI() of a null object loaded from local variable 'pkgRelation' " in Docx based Contract Generation.

Symptom

When user tries to upload a Clause Document or a Template document at CDT level then application gives following error on UI: java.lang.NullPointerException: while trying to invoke the method org.apache.poi.openxml4j.opc.PackageRelationship.getTargetURI() of a null object loaded from local variable 'pkgRelation'

sc1.png


Read more...

Environment

  • SAP Sourcing 9.0 and SAP Contract Lifecycle Management 9.0
  • SAP Sourcing 10.0 and SAP Contract Lifecycle Management 10.0

Product

SAP Sourcing 10.0 and SAP Contract Lifecycle Management 10.0 ; SAP Sourcing 9.0 and SAP Contract Lifecycle Management 9.0

Keywords

New CG, DOCX based Contract Generation, Hyperlink, Package Relation error, java.lang.NullPointerException: while trying to invoke the method org.apache.poi.openxml4j.opc.PackageRelationship.getTargetURI() of a null object loaded from local variable 'pkgRelation', Clause Document, Contract Document. , KBA , SRM-ESO-CG , Contract Generation for SAP Sourcing & CLM , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.