cancel
Showing results for 
Search instead for 
Did you mean: 

how to solve "code of constructor" error in webdynpro

Former Member
0 Kudos

hi everyone,

i had developed one application(1 poject)in webdynpro with more than 90models added to that..... approximately 90-100 webservices models to it.....and using single component controller.....as i cannot use EP, i am integrated all my views in single applicaiton in this project.... upto it worked fine... when the models become more... the following error is coming.....

i could not solved it.........

" The code of constructor InternalTreeComp(com.sap.tc.webdynpro.progmodel.gci.IGCIComponent) is exceeding the 65535 bytes limit InternalTreeComp.java"

could anybody help me out,,, in this....

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sunil,

The error that you receive is because of a Java limitation regarding the size of the code a compiler can compile.

This limitation enforces a 65536 byte limit per method.

Since you are using the Eclipse compiler you are getting this informative error text. Note that this error is the same as javac's "offset too big" message.

So in order to solve your problem, try breaking up your code into smaller parts.

Regards,

Satyajit.