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

Class body hit character limit 10000 #2062

Closed
freddie1729 opened this issue Mar 4, 2020 · 2 comments
Closed

Class body hit character limit 10000 #2062

freddie1729 opened this issue Mar 4, 2020 · 2 comments

Comments

@freddie1729
Copy link

Summary

An error keeps popping up in the Output tab on VS Code whenever I type into a file. It happens very frequently. The error is in the Apex Language Server and says the character limit has been hit.

Steps To Reproduce:

  1. Edit a line in a class
  2. See an error pop up in the Output tab:
Mar 04, 2020 11:45:33 AM apex.jorje.semantic.compiler.CodeUnit traverse
INFO: unexpected error during apex MemberResolveVisitor:
Class body hit character limit 10000 global with sharing class

Expected result

No error

Actual result

Error

Additional information

SFDX CLI Version: sfdx-cli/7.48.0-a71f8c6899 win32-x64 node-v10.15.3

SFDX plugin Version: sfdx-cli 7.48.0 (core)

OS and version: Windows 10

@lcampos lcampos transferred this issue from forcedotcom/cli Mar 10, 2020
@lcampos
Copy link
Contributor

lcampos commented Mar 10, 2020

Thanks for opening this issue @freddie1729 . Are you getting this issue when working on a big apex class or also with relatively small apex class in your project ?

@freddie1729
Copy link
Author

It happens with small too.

I think it might be because I have duplicated the project to work with it on two monitors. I've stopped this now and no longer see the problem.

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

3 participants