Article - CS362505

Infoengine task fails with java.lang.NullPointerException while Rehosting Windchill PDMLink 12.0

Modified: 05-Oct-2024   


Applies To

  • Windchill PDMLink 12.0 to 12.1

Description

  • The Infoengine task fails during the rename rehost process
  • Rehosting Utility fails with the following error
[ierehosttask] sourceHostname defined in rehost.properties::<source_hostname>
[ierehosttask] sourceDirWindchill defined in rehost.properties::C:\ptc\Windchill_12.0\Windchill
[ierehosttask] java.lang.NullPointerException
[ierehosttask]     at com.ptc.wc.rehost.javatask.ProviderPropsProvider.getFirstValueFromMultiValuePropKey(ProviderPropsProvider.java:329)
[ierehosttask]     at com.ptc.wc.rehost.javatask.ProviderPropsProvider.prepareAndGetLocalPropsMap(ProviderPropsProvider.java:349)
[ierehosttask]     at com.ptc.wc.rehost.javatask.ProviderPropsProvider.<init>(ProviderPropsProvider.java:104)
[ierehosttask]     at com.ptc.wc.rehost.javatask.ProviderPropsProvider.initProvider(ProviderPropsProvider.java:56)
[ierehosttask]     at com.ptc.wc.rehost.project.RehostProject.<init>(RehostProject.java:317)
[ierehosttask]     at com.ptc.wc.rehost.project.RehostProject.getRehostProject(RehostProject.java:236)
[ierehosttask]     at com.ptc.wc.rehost.javatask.AbstractRehostTask.execute(AbstractRehostTask.java:47)
[ierehosttask]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
.
.
.
BUILD FAILED
C:\ptc\Windchill_12.0\Windchill\utilities\wcRehost\conf\rehost.xml:170: The following error occurred while executing this line:
C:\ptc\Windchill_12.0\Windchill\utilities\wcRehost\conf\rehost.xml:203: The following error occurred while executing this line:
C:\ptc\Windchill_12.0\Windchill\utilities\wcRehost\conf\modules\InfoEngine.xml:8: java.lang.NullPointerException
This is a printer-friendly version of Article 362505 and may be out of date. For the latest version click CS362505