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

BUG: SoraEditor crashes in old android devices #1

Open
CyberGlitch01 opened this issue Jul 2, 2023 · 4 comments
Open

BUG: SoraEditor crashes in old android devices #1

CyberGlitch01 opened this issue Jul 2, 2023 · 4 comments
Assignees
Labels
bug Something isn't working fixed good first issue Good for newcomers SoraEditor Anything related to SoraEditor

Comments

@CyberGlitch01
Copy link
Collaborator

CyberGlitch01 commented Jul 2, 2023

To Reproduce
Steps to reproduce the behavior:

  1. Go to Setting
  2. Choose Sora editor
  3. Open file in editor
  4. See error

SoraEditor is crashing in older devices but not in new device.

@CyberGlitch01 CyberGlitch01 added the bug Something isn't working label Jul 2, 2023
@SyntaxGalaxy
Copy link
Contributor

It is sora code editor bug which is fixed in this commit.
When sora editor library release it will be fixed.

@SyntaxGalaxy SyntaxGalaxy added the good first issue Good for newcomers label Jul 2, 2023
@CyberGlitch01
Copy link
Collaborator Author

I tried with the latest Library but not fixed.

@CyberGlitch01
Copy link
Collaborator Author

java.lang.NoClassDefFoundError: org.eclipse.tm4e.core.internal.utils.ObjectCloner$$ExternalSyntheticLambda2
	at org.eclipse.tm4e.core.internal.utils.ObjectCloner.deepClone(ObjectCloner.java:80)
	at org.eclipse.tm4e.core.internal.utils.ObjectCloner.deepClone(ObjectCloner.java:47)
	at org.eclipse.tm4e.core.internal.grammar.Grammar.initGrammar(Grammar.java:244)
	at org.eclipse.tm4e.core.internal.grammar.Grammar.<init>(Grammar.java:99)
	at org.eclipse.tm4e.core.internal.registry.SyncRegistry.grammarForScopeName(SyncRegistry.java:119)
	at org.eclipse.tm4e.core.registry.Registry._grammarForScopeName(Registry.java:221)
	at org.eclipse.tm4e.core.registry.Registry.addGrammar(Registry.java:196)
	at io.github.rosemoe.sora.langs.textmate.registry.GrammarRegistry.doLoadGrammar(GrammarRegistry.java:230)
	at io.github.rosemoe.sora.langs.textmate.registry.GrammarRegistry.loadGrammar(GrammarRegistry.java:192)
	at io.github.rosemoe.sora.langs.textmate.TextMateLanguage.prepareLoad(TextMateLanguage.java:105)
	at io.github.rosemoe.sora.langs.textmate.TextMateLanguage.create(TextMateLanguage.java:120)
	at editor.tsd.editors.SoraEditor.initLanguageMode(SoraEditor.java:121)
	at editor.tsd.editors.SoraEditor.setLanguageMode(SoraEditor.java:79)
	at editor.tsd.widget.CodeEditorLayout.setLanguageMode(CodeEditorLayout.java:140)
	at android.code.editor.activity.CodeEditorActivity.openFileInEditor(CodeEditorActivity.java:469)
	at android.code.editor.activity.CodeEditorActivity.lambda$fileTree$5(CodeEditorActivity.java:430)
	at android.code.editor.activity.CodeEditorActivity.$r8$lambda$xlHUij2IVgQ2xGLphrxTS43NyOE(CodeEditorActivity.java)
	at android.code.editor.activity.CodeEditorActivity$$ExternalSyntheticLambda5.onClick(D8$$SyntheticClass)
	at android.view.View.performClick(View.java:5721)
	at android.view.View$PerformClick.run(View.java:22620)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:7331)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

@SyntaxGalaxy SyntaxGalaxy added the SoraEditor Anything related to SoraEditor label Jul 9, 2023
@SyntaxGalaxy
Copy link
Contributor

Desugaring...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed good first issue Good for newcomers SoraEditor Anything related to SoraEditor
Projects
None yet
Development

No branches or pull requests

2 participants