Skip to main content
1-Visitor
October 12, 2023
Question

Java NullPointer Exception on Windchill MPMLink

  • October 12, 2023
  • 2 replies
  • 1999 views

I am using Windchill MPMLink Release 12.0 and Datecode with CPS 12.0.0.2

Any time we use the function'Assemble As New Branch' of XBOM Transform we obtain an error on screen: java.lang.nullpointerexception.

2 replies

avillanueva
23-Emerald I
23-Emerald I
October 12, 2023

I would look at the MS logs and find where the exception is written. Posting that section of the MS log would help people see what this is related to.

1-Visitor
October 16, 2023

2023-10-16 09:57:52,894 ERROR [ajp-nio-127.0.0.1-8010-exec-7] com.ptc.cat.ops.server.DefaultOperationDispatcher mirko grimaldi - null java.lang.NullPointerException
at com.ptc.windchill.enterprise.associativity.asb.server.transform.TransformationClientServerInterface._buildModel(TransformationClientServerInterface.java:1386)

HelesicPetr
22-Sapphire II
22-Sapphire II
October 16, 2023

Hi @RL_10799214 

You should provide full log error, several rows up and down around the error message from a server method log. 

Usually the information around is interesting, not just the error line. 

PetrH

HelesicPetr
22-Sapphire II
22-Sapphire II
October 16, 2023

Hi @RL_10799214 

Check the method server log, there is more information why there is null point exception as avillanueva mentioned

 

Anyway first think what came up in my mind is if you've correctly set the lifecycle, does the design object have a revise transition in the current state of design? it can case similar behavior. 

 

CS387606 - Unable to create a New Downstream Branch

HelesicPetr_0-1697438816106.png

knowledge base next issue

CS357621 - 'NullPointerException' observed upon 'Paste as New Branch' in 'Occurrence Mode'

 

PetrH