• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 24342
  • Open Date : 2016/06/13 14:17
  • 更新日時 : 2020/10/05 18:11
  • Print

[DataSpider Servista] Please tell me the cause and its resolution for the error “Constant is too large”

The following error occurred. Please tell me the cause and its resolution.
java.lang.Exception: Failed to compile script <File Name> constant is too large.
 
Category : 

Answer

■Cause
 
If you compile a script with a total designated constant character string exceeding 65535, which is the restriction set in Java, the following error that you have mentioned will occur.
*About the constant character string, it includes both character strings designated in designer and what's used within the script.
 
---
java.lang.Exception: Failed to compile script <File Name>  constant is too large
---
 
The above is a restriction of Java, thus it is difficult to resolve the issue utilizing the product function. Please take the following measure to avoid this issue.
 
■Workaround
 
Please verify to see if the issue would resolve by using the script call-up function and by dividing the current process down using multiple scripts.
 
Please refer to the help section of reference information for more information regarding script call-up.
 
 
[Reference Information]
 
・Script Call-up