Article - CS224166
Error when saving script in custom service in ThingWorx Platform
Modified: 26-Feb-2025
Applies To
- ThingWorx Platform 6.0 to 9.3
Description
- Errors appear while saving service
- Custom service is greater than 3000 lines
- Custom service contains a variable value fixed with a extremely long text in a single line
- CheckScript failed unexpectedly
status:500,
message: Unable to Invoke Service CheckScript on ScriptServices : (class: org/mozilla/javascript/gen/Line_99, method: _c_script_0 signature:
(Lorg/mozilla/javascript/gen/Line_99;Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Lorg/mozilla/javascript/Scriptable;
[Ljava/lang/Object;)Ljava/lang/Object;) Illegal target of jump or branch - syntax check failed:
Encountered code generation error while compiling script: Program too complex: too big jump offset at line 1 column 0 source: [null]
This is a printer-friendly version of Article 224166 and may be out of date. For the latest version click CS224166