Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code too long to compile #47

Open
beefchalupa opened this issue Mar 6, 2024 · 1 comment
Open

Code too long to compile #47

beefchalupa opened this issue Mar 6, 2024 · 1 comment

Comments

@beefchalupa
Copy link

When recording a longer mouse recording, it won't let me compile to java. Is there a way to bypass this or import a task manually compiled myself?

Here's the error:

[06/03/2024 4:19:47] core.languageHandler.compiler.JavaNativeCompiler WARNING: Error on line 26 in file:///home/user/core/CC_1709716786525.java.
[06/03/2024 4:19:47] core.languageHandler.compiler.JavaNativeCompiler WARNING: code too large
[06/03/2024 4:19:47] core.languageHandler.compiler.JavaNativeCompiler WARNING: Cannot compile class CustomAction
[06/03/2024 4:19:47] core.webui.server.handlers.internals.taskcreation.ActionCompileTaskHandler WARNING: Unable to compile source code.

@hptruong93
Copy link
Contributor

This is because Java method has a limit
https://stackoverflow.com/a/107911
"a method does have a limit of 65535 bytes of bytecode per method"

To overcome this, have you considered not recording mouse movements? See the "Record mouse click only" option in the Settings menu
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants