SPIN-01001 Unsupported input of type 'jdk.nashorn.internal.runtime.Undefined

Hi guys.

I’m getting this error in my process:

SPIN-01001 Unsupported input of type 'jdk.nashorn.internal.runtime.Undefined’

I’m using camunda-bpm-platform-7.15.0.

This error is related as missing SPIN libraries in my installation?
Can someone help me?


Hi @brunovasquesf,

it depends in the Java version you are running. Which JDK is installed on your computer?

Do you see any stacktrace in the console where the Camunda engine is started? If yes, it is helpful as well.

Hi @Ingo_Richtsmeier,

I got the problem. I was testing in Camunda 7.16, and to get the value in request json, I was using:
var subscriptions = S(“subscriptions”);
and this was woking fine.

So, I just changed to: var subscriptions = execution.getVariable(“subscriptions”);
and now is working too.