Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Dan Gaughan
50
Views
4
Comments
Compile Error, storeViewState(ObjectOutput) is exceeding the 65535 byte limit
Question
Hello - I am attempting to invoke an action that takes a large object as a parameter but I am getting the below compilation error. Is there a limit to the size of a structure that can be passed to an action? The argument is a structure generated from a web service input parameter.
Internal Error
Compilation Error.
compile:
[mkdir] Created dir: /opt/outsystems/platform/share/eSRS_RuleService/full/copyToApp
[javac] Compiling 212 source files to /opt/outsystems/platform/share/eSRS_RuleService/full/bin/app
[javac] ----------
[javac] 1. ERROR in /apps/outsystems/platform/share/eSRS_RuleService/full/src/osesrs_ruleservice/managedbean/flowwebflow1/ScrnTestRuleService.java (at line 818)
[javac]
protected void storeViewState (ObjectOutput output) throws Exception {
[javac]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The code of method storeViewState(ObjectOutput) is exceeding the 65535 bytes limit
[javac] ----------
[javac] 1 problem (1 error)
João Rosado
Staff
Hi Dan,
There should be no limit, but it looks like that action is generating too much code and hits a Java compilation limit.
I suggest you to open a Support Issue with it, so they can help you.
Regards,
João Rosado
Sarika Tota
Hi Dan Gaughan,
I also have the similar issue. Did you manage to resolve this issue? Is yes, can you help me here?
That would be of great help.
Regards,
Sarika
Ricardo Araújo
Hi Dan and Sarika,
as far as I know, that's a Java contraint and not a platform issue. What do you mean by "
large object as a parameter
"? What's the type, the size and does it really need to be used as a parameter?
Ricardo
Dan Gaughan
Sarika - yes I managed to resolve this issue by breaking up my structure into smaller structures. I also ran into this same error when I had a form backed by an edit record with too many data elements (I think around 80-100), and again I broke up the form into smaller web blocks which resolved the issue.
Dan
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...