Article - CS123045

java.lang.NullPointerException happened if pass the initial dimension name to ModelItemOwner.GetItemByName() when using BaseDimension.SetDimValue() to change the dimension value.

Modified: 09-Apr-2013   


Applies To

  • Pro/ENGINEER Wildfire all releases
  • Creo Elements/Pro 5.0 M065 - M170
  • Creo Parametric 1.0 F000 - M020
  • Creo Parametric 2.0 F000 - M030
  • J-Link

Description

  • java.lang.NullPointerException happened if pass the dimension name before change to ModelItemOwner.GetItemByName() when using  BaseDimension.SetDimValue() to change the dimension value.
  • While ParameterOwner.GetParam() and BaseParameter.SetValue() works for the initial dimension name.
 
This is a printer-friendly version of Article 123045 and may be out of date. For the latest version click CS123045