-
Notifications
You must be signed in to change notification settings - Fork 7
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
StackOverflowError #17
Comments
Hello Vladimir, thanks for the update. The StackOverflowError ist gone now! Unfortunately there seem to be even more problems along the road. I already answered to @niof here: Kotlin#141 (comment) |
@schaarda: Thanks for the feedback. I fixed that issue in all branches of my repository. Also there are new branches for kotlin 1.6.0: kotlin/1.6.0/idea/2021.2/eclipse/4.21 However you will get many errors when opening a build.gradle.kts file as there is no integration with gradle. So it wont know about gradle specific things like the project variable being available and so on. And i dont think that thats easy to implement in the near future. |
Time to time i work on kotlin and i use this version of the plugin. I see there are not activity from Jetbrain side on improving this plugin recently. So should we put effort on a single fork all of us and maintain this plugin as much as we can ? May be we can see if we can find a FOSS subscription from jfrog for hosting the update sites. WDYT ? |
sounds good to me. I would be up for it. |
Excellent idea :) For start, I can automatize plugin build. all subprojects are built with "mvn clean package", except one. kotlin-bundled-compiler is built with "gradlew clean getBundled". |
so we keep this fork as the main one or do we make a completely new one? Maybe we should set up some other form of chat for that topic tho. It does not really belong here in an issue |
Looks like IntelliJ has not completely abandoned the plugin (yet). They just updated the Eclipse Marketplace today with a new version 1.5.31 - coincidence? It's the same with the version from the marketplace and with your branch. And it's old, too: https://youtrack.jetbrains.com/issue/KE-360 Guess I'll annoy them a little bit more... |
I was hoping this fork would allow me to work with Kotlin in Eclipse, but whenever I open a .kts-File (Kotlin Script Editor) Eclipse hangs for a while and then gives me this error:
java.lang.StackOverflowError at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:380) at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedNotNullLazyValue.invoke(LockBasedStorageManager.java:489) at org.jetbrains.kotlin.storage.StorageKt.getValue(storage.kt:42) at org.jetbrains.kotlin.descriptors.impl.LazyPackageViewDescriptorImpl.getFragments(LazyPackageViewDescriptorImpl.kt) at org.jetbrains.kotlin.core.resolve.BuiltInsReferenceResolver.initialize(BuiltInsReferenceResolver.java:119) at org.jetbrains.kotlin.core.resolve.BuiltInsReferenceResolver.<init>(BuiltInsReferenceResolver.java:78) at org.jetbrains.kotlin.core.model.KotlinCommonEnvironment.<init>(KotlinCommonEnvironment.kt:152) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment.<init>(KotlinEnvironment.kt:118) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment.<init>(KotlinEnvironment.kt:114) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion$getEnvironment$1.invoke(KotlinEnvironment.kt:174) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion$getEnvironment$1.invoke(KotlinEnvironment.kt:163) at org.jetbrains.kotlin.core.model.CachedEnvironment.getOrCreateEnvironment(CachedEnvironment.kt:37) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion.getEnvironment(KotlinEnvironment.kt:173) at org.jetbrains.kotlin.core.model.KotlinEnvironmentKt.getEnvironment(KotlinEnvironment.kt:90) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.parseText(KotlinPsiManager.kt:366) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.parseFile(KotlinPsiManager.kt:360) at org.jetbrains.kotlin.core.builder.ScriptsFilesStorage.getPsiFile(KotlinPsiManager.kt:68) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.getParsedFile(KotlinPsiManager.kt:268) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment.<init>(KotlinEnvironment.kt:121) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment.<init>(KotlinEnvironment.kt:114) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion$getEnvironment$1.invoke(KotlinEnvironment.kt:174) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion$getEnvironment$1.invoke(KotlinEnvironment.kt:163) at org.jetbrains.kotlin.core.model.CachedEnvironment.getOrCreateEnvironment(CachedEnvironment.kt:37) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion.getEnvironment(KotlinEnvironment.kt:173) at org.jetbrains.kotlin.core.model.KotlinEnvironmentKt.getEnvironment(KotlinEnvironment.kt:90) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.parseText(KotlinPsiManager.kt:366) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.parseFile(KotlinPsiManager.kt:360) at org.jetbrains.kotlin.core.builder.ScriptsFilesStorage.getPsiFile(KotlinPsiManager.kt:68) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.getParsedFile(KotlinPsiManager.kt:268) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment.<init>(KotlinEnvironment.kt:121) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment.<init>(KotlinEnvironment.kt:114) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion$getEnvironment$1.invoke(KotlinEnvironment.kt:174) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion$getEnvironment$1.invoke(KotlinEnvironment.kt:163) at org.jetbrains.kotlin.core.model.CachedEnvironment.getOrCreateEnvironment(CachedEnvironment.kt:37) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment$Companion.getEnvironment(KotlinEnvironment.kt:173) at org.jetbrains.kotlin.core.model.KotlinEnvironmentKt.getEnvironment(KotlinEnvironment.kt:90) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.parseText(KotlinPsiManager.kt:366) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.parseFile(KotlinPsiManager.kt:360) at org.jetbrains.kotlin.core.builder.ScriptsFilesStorage.getPsiFile(KotlinPsiManager.kt:68) at org.jetbrains.kotlin.core.builder.KotlinPsiManager.getParsedFile(KotlinPsiManager.kt:268) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment.<init>(KotlinEnvironment.kt:121) at org.jetbrains.kotlin.core.model.KotlinScriptEnvironment.<init>(KotlinEnvironment.kt:114)
[...]
.kt-Files are working, but for editing Gradle-Buildfiles I need the Script Editor. I tested with Eclipse 2021-06 and 2021-09 (both fresh installs) and both had the same error.
The text was updated successfully, but these errors were encountered: