Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java code exceeding 65535 byte limit

bob coleMar 5 2012 — edited Mar 5 2012
I'm trying to record a medium-length script in OpenScript. It has 8 step groups, some of them are nested. It's not really that long or extensive of a script.
At one point during recording OpenScript just locks up for about 30 seconds. Then, when it comes back the screen flashes strangely a few times and the recording continues.

When I play back the script, at the point in the playback where it locked up during record, the script just pauses all by itself. I can press the resume button and I immediately get an error message and the script fails. The message is
Script exception occurred. An unexpected exception occurred in the script. Script section: unspecified.

Looking at the properties of the error I see more detail...
Caused by: java.lang.Error: Unresolved compilation problem: The code of method run() is exceeding the 65535 bytes limit.

I didn't see any documentation regarding code limits. This isn't an exceptionally long or complicated script. And, in my application, it's one "user transaction" with multiple steps I need to measure each individually.

Can anyone point me to any limits I might be exceeding and what I can do about it?
Thanks!
This post has been answered by byrne_wayne on Mar 5 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2012
Added on Mar 5 2012
2 comments
2,852 views