Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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.
