Article - CS281881

Windchill PDMLink: Office worker fails to publish WTDocument with error "java.lang.NullPointerException"

Modified: 19-Dec-2023   


Applies To

  • Windchill PDMLink 11.0 to 13.0
  • Windchill ProjectLink 11.0 to 13.0
  • Windchill MPMLink 11.0 to 13.0
  • Windchill PDM Essentials 11.0 to 12.0

Description

  • Office worker fails to publish WTDocument with error java.lang.NullPointerException in WVS Job Monitor log
  • Error is thrown while adding coversheet
  • Error reported in Background Methodserver log:
ERROR [PublisherQueue1.PollingThread] wt.wvs.loader.EDRLoader Administrator - EDRLoader - Unexpected error
wt.util.WTException: java.lang.reflect.InvocationTargetException
Nested exception is: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.ptc.wvs.server.util.LiveCycleUtil.processAssemblerDelegate(LiveCycleUtil.java:539)
    at com.ptc.wvs.server.loader.EDRLoader.start(EDRLoader.java:1172)
    at com.ptc.wvs.server.publish.PublishHelper.storeRepresentation(PublishHelper.java:525)
...
Caused by: java.lang.NullPointerException
    at ext.xxxx.coversheet.CustomApproveGenerator.extractPersistableInfo(CustomApproveGenerator.java:328)
    at com.ptc.coversheet.Generator.getPersistableInfo(Generator.java:153)
    at ext.xxxx.coversheet.LiveCycleDelegate.getLiveCycleInvocationParams(LiveCycleDelegate.java:197)
This is a printer-friendly version of Article 281881 and may be out of date. For the latest version click CS281881