Palletizing in subprograms causes null pointers

Steps to reproduce:
Create a program with a Palletizing node. Put it in a subprogram. Reload the program. Get Nullpointers.

Expected Behavior:
Normal operation

Actual Behavior:
Palletizing node throws null pointers

Workaround Suggestion:
Can’t use Palletizing in subprograms

Robot Serial Number:
Various

Affected Version(s):
Unclear

I’ve not personally had this problem, I’ve just seen it reported numerous times here on the forum with no response from UR. Please investigate this. @jbm

4 Likes
1 Like

I use palletizing in sub programs. I have gotten that same error along with other issues doing so, but the workaround for me was to uncheck the “Save sub with this file” box in the sub prog, open sub, then open back up the main program. Hope this helps somebody out.

Hello, I had the same problem.

I solved it by creating installation variables in Installation → Variables.

By replacing these variables both in the main program and in the subprogram, the warning no longer appears.