Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello,
I am trying to create a change issue with the following code and then create a link to an Object. The creation of the change issue itself works and it gets stored in the database. But when I add the code for the link I get an error
wt.util.WTRuntimeException: ERROR: Can't initialize an ObjectReference to null
The code is:
If you need to know aditional things, let me know. The last line of code is the one, that is giving me the error (at least the error is not there without this line).
My question got answered on ptcuser.org
It works when I insert this line:
PersistenceServerHelper.manager.insert(ra);
before calling storeAssociations.