Constant Pool Limit Reached [message #1815809] |
Fri, 11 October 2019 08:30 |
rajni choudhary Messages: 6 Registered: September 2019 |
Junior Member |
|
|
We have too many UI elements In our sirius project.
When we do "generate all" in gen model after all the codes are generated we get a compile time error in our RootPackage interface it says "Too many constants, the constant pool for RootPackage would exceed 65536 entries".
How do we overcome the above problem while preserving what we have done before (no time for rework) and any steps we may need to follow from now.
Solutions attempted so far :
- All elements are currently in the root package. We need to divide it efficiently under other sub packages.
Problem for the above The sub package is again generated and used as a private static variable in the RootPackage. Its been ineffective so far. We still have the same error
- I made two package and inside other package we link our new patern as child and other as super.
Some how we were able to generate genmodel without any error saying too many constant.
Problem We made UI but when we try to generate the test cases it throws the exception saying class cast exception no changes in .design module
|
|
|
Powered by
FUDForum. Page generated in 0.02864 seconds