Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: PatternSyntaxException after a "Go to definition" action #1449

Closed
gituser1000001 opened this issue Nov 10, 2023 · 0 comments
Closed

Comments

@gituser1000001
Copy link

Stacktrace:
java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 3
\b*\b
^
at com.android.icu.util.regex.PatternNative.compileImpl(Native Method)
at com.android.icu.util.regex.PatternNative.(PatternNative.java:39)
at com.android.icu.util.regex.PatternNative.create(PatternNative.java:35)
at java.util.regex.Pattern.compile(Pattern.java:1426)
at java.util.regex.Pattern.(Pattern.java:1401)
at java.util.regex.Pattern.compile(Pattern.java:959)
at com.itsaky.androidide.lsp.java.utils.FindHelper.findNameIn(Unknown Source:26)
at com.itsaky.androidide.lsp.java.visitors.FindNameAt.contains(Unknown Source:32)
at com.itsaky.androidide.lsp.java.visitors.FindNameAt.visitMemberSelect(Unknown Source:10)
at openjdk.tools.javac.tree.JCTree$JCFieldAccess.accept(SourceFile:1)
at openjdk.source.util.TreePathScanner.scan(SourceFile:1)
at openjdk.source.util.TreeScanner.visitImport(Unknown Source:4)
at openjdk.tools.javac.tree.JCTree$JCImport.accept(SourceFile:1)
at openjdk.source.util.TreePathScanner.scan(SourceFile:1)
at openjdk.source.util.TreeScanner.scan(SourceFile:1)
at openjdk.source.util.TreeScanner.scanAndReduce(SourceFile:1)
at openjdk.source.util.TreeScanner.visitCompilationUnit(Unknown Source:12)
at com.itsaky.androidide.lsp.java.visitors.FindNameAt.visitCompilationUnit(Unknown Source:4)
at openjdk.tools.javac.tree.JCTree$JCCompilationUnit.accept(SourceFile:1)
at openjdk.source.util.TreePathScanner.scan(SourceFile:1)
at com.itsaky.androidide.lsp.java.utils.NavigationHelper.findElement(Unknown Source:66)
at com.itsaky.androidide.editor.language.cpp.CppLanguage$$ExternalSyntheticLambda0.invoke(Unknown Source:80)
at com.itsaky.androidide.lsp.java.compiler.SynchronizedTask.get(Unknown Source:10)
at com.itsaky.androidide.lsp.java.JavaLanguageServer.findDefinition(Unknown Source:72)
at com.itsaky.androidide.editor.ui.IDEEditor$findDefinition$1.invokeSuspend(Unknown Source:73)
at com.itsaky.androidide.editor.ui.IDEEditor$findDefinition$1.invoke(SourceFile:1)
at com.itsaky.androidide.editor.ui.IDEEditor$findDefinition$1.invoke(SourceFile:3)
at com.itsaky.androidide.tasks.CoroutineUtilsKt$launchAsyncWithProgress$2$1.invokeSuspend(Unknown Source:52)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:109)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:93)

@itsaky itsaky closed this as completed in a0cb71b Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant