IntelliJ:Kotlin错误导致鼠标闪烁和代码错误 [英] IntelliJ: Kotlin error causes mouse flicker and errors in code

查看:724
本文介绍了IntelliJ:Kotlin错误导致鼠标闪烁和代码错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用带有Kotlin beta-1038的IntelliJ 15,我在日食的底部遇到了这个错误。

I'm using IntelliJ 15 with Kotlin beta-1038, and I'm getting this error at the bottom of eclipse.

Internal Error occurred while analyzing this expression:
java.util.ServiceConfigurationError: org.jetbrains.kotlin.resolve.ExternalOverridabilityCondition: Provider org.jetbrains.kotlin.load.java.ErasedOverridabilityCondition not found
    at java.util.ServiceLoader.fail(ServiceLoader.java:239)
    at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    at kotlin.CollectionsKt___CollectionsKt.toCollection(_Collections.kt:949)
    at kotlin.CollectionsKt.toCollection(Unknown Source)
    at kotlin.CollectionsKt___CollectionsKt.toArrayList(_Collections.kt:942)
    at kotlin.CollectionsKt.toArrayList(Unknown Source)
    at kotlin.CollectionsKt___CollectionsKt.toList(_Collections.kt:973)
    at kotlin.CollectionsKt.toList(Unknown Source)
    at org.jetbrains.kotlin.resolve.OverridingUtil.<clinit>(OverridingUtil.java:41)
    at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedClassDescriptor$DeserializedClassMemberScope.generateFakeOverrides(DeserializedClassDescriptor.kt:216)
    at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedClassDescriptor$DeserializedClassMemberScope.computeNonDeclaredFunctions(DeserializedClassDescriptor.kt:202)
    at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope.computeFunctions(DeserializedMemberScope.kt:77)
    at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope.access$computeFunctions(DeserializedMemberScope.kt:32)
    at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope$functions$1.invoke(DeserializedMemberScope.kt:50)
    at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedMemberScope$functions$1.invoke(DeserializedMemberScope.kt:32)
    at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunction.invoke(LockBasedStorageManager.java:389)
    at org.j...

我触摸的每个Kotlin文件都会出现错误,我的鼠标会闪烁,当我将鼠标悬停在任何代码上时,我会滞后。我也没有intellisense。

Every Kotlin file I touch becomes full of errors and my mouse will flicker and I'll lag when I hover over any of the code. I also don't have intellisense.

但是,我可以编译并运行该项目,我对kotlin文件的更改将有效。

However, I can compile and run the project and my changes in the kotlin files will work.

推荐答案

IntelliJ IDEA 15.0.4包Kotlin 1.0发布。您打破了Kotlin安装,因为您遵循了如何降级给您的错误建议Kotlin在Intellij 15中。要修复安装,您需要从原始安装程序重新安装IntelliJ IDEA。

IntelliJ IDEA 15.0.4 bundles Kotlin 1.0 release. You broke your Kotlin installation because you followed the incorrect advice given to you at How to downgrade Kotlin in Intellij 15. To fix your installation, you need to reinstall IntelliJ IDEA from the original installer.

这篇关于IntelliJ:Kotlin错误导致鼠标闪烁和代码错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆