Article - CS340412

Is possible to create a new downstream part/branch with a specific revision when using the BOM Transformer in Windchill MPMLink

Modified: 05-Dec-2024   


Applies To

  • Windchill MPMLink 11.0 to 12.0

Description

  • Is possible to create a new downstream part/branch with a specific revision  when using the BOM Transformer or Manufacturing Associative Product Stucture Browser (MAPSB)?
  • Is it possible to update the downstream revision to match the upstream revision
  • When attempting to set Version when creating a new downstream part/branch an error is returned:
(TypeError)
__gwt$exception: : Cannot read properties of null (reading 'replace')

com.google.gwt.core.client.JavaScriptException
  at Unknown.TypeError: Cannot read properties of null(@-1)
  • Message returned when jsDebug is enabled: 
(TypeError) : Cannot read property 'replace' of null

com.google.gwt.core.client.JavaScriptException
  at Unknown.$fillInStackTrace(StackTraceCreator.java:184)
  at Unknown.fillInStackTrace(StackTraceCreator.java:525)
  at Unknown.Throwable_0(Throwable.java:52)
  at Unknown.Exception_0(Exception.java:25)
  at Unknown.RuntimeException_0(RuntimeException.java:25)
  at Unknown.JavaScriptException_0(JavaScriptException.java:117)
  at Unknown.getCachableJavaScriptException(Exceptions.java:45)
  at Unknown.wrap_1(Exceptions.java:29)
  at Unknown.$replaceAll(String.java:835)
  at Unknown.$replace_4(String.java:822)
  at Unknown.$onSuccess_356(STAManager.java:2220)
  at Unknown.onSuccess_430(STAManager.java:2203)
  at Unknown.$onCompletion(OperationManager.java:501)
  at Unknown.onCompletion_3(OperationManager.java:476)
  at Unknown.$onSuccess_31(EntityCore.java:1041)
  at Unknown.onSuccess_39(EntityCore.java:1035)
  at Unknown.$synchronize_3(Unknown:0)
  at Unknown.onCompletion(EntityCore.java:1032)
  at Unknown.$synchronize_0(DefaultEntityModel.java:141)
  at Unknown.$synchronize(EntityCore.java:1025)
  • Error returned in MethodServer.log:
com.ptc.windchill.associativity.transform.StandardTransformService wcadmin - Error while doing classic transformation
com.ptc.windchill.associativity.transform.downstream.DownstreamTransformException: com.ptc.windchill.associativity.transform.downstream.DownstreamTransformException: com.ptc.core.command.common.CommandException: java.lang.NullPointerException
Nested exception is: java.lang.NullPointerException
Nested exception is: com.ptc.core.command.common.CommandException: java.lang.NullPointerException
Nested exception is: java.lang.NullPointerException
Nested exception is: com.ptc.windchill.associativity.transform.downstream.DownstreamTransformException: com.ptc.core.command.common.CommandException: java.lang.NullPointerException
Nested exception is: java.lang.NullPointerException
Nested exception is: com.ptc.core.command.common.CommandException: java.lang.NullPointerException
Nested exception is: java.lang.NullPointerException
    at com.ptc.core.foundation.vc.server.impl.VersionInfoAttributeHandler.set(VersionInfoAttributeHandler.java:133)
    at com.ptc.core.command.server.delegate.io.GenericSetterCommandDelegate.doExecution(GenericSetterCommandDelegate.java:132)
    at com.ptc.core.command.common.delegate.AbstractCommandDelegate.execute(AbstractCommandDelegate.java:216)
    at com.ptc.core.command.server.delegate.TypeInstanceToPersistableTranslatorCommandDelegate.doExecution(TypeInstanceToPersistableTranslatorCommandDelegate.java:101)
    at com.ptc.core.command.common.delegate.AbstractCommandDelegate.execute(AbstractCommandDelegate.java:216)

 
This is a printer-friendly version of Article 340412 and may be out of date. For the latest version click CS340412