Kotlin plugin issues

Hi, just a couple of issues I seem to having after upgrading to latest Eclipse (4.7.3a) and Kotlin plugin (0.8.18).
a) I get the following error popup every time I open a kt file (but after dismissing everything seems ok, except the file is marked as modified, though git shows it as unmodified even after saving):

An error has occurred. See error log for more details.
Compilation unit name must end with .java, or one of the registered Java-like extensions

b) “Open Implementation” is not available when hovering mouse (with Ctrl) over a function call in kotlin. Works fine for java code.
c) HotSwap doesn’t work - no errors but the changed code is not hotswapped into place.
d) can’t run an individual JUnit test on a kotlin test class. If done from the source code it just runs all the tests, if done from the JUnit view for a specific test case, I get
Rerun com.foo.BarTest.testMyFunction[+611010103983 - XAZ987]
java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=testMyFunction[+611010103983 - XAZ987]], {ExactMatcher:fDisplayName=testMyFunction+611010103983 - XAZ987]] from org.junit.internal.requests.ClassRequest@31b7dea0

at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)

at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createFilteredTest(JUnit4TestLoader.java:80)

at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:71)

at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:46)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:522)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:760)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:460)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:206)

These happen to be some of the functions I use most in Eclipse, and I’m loathe to continue our plan to convert gradually from Java to Kotlin while these issues persist. Are they known issues at all, and are there any workarounds?


Are you still having these issues?

I just installed the Eclipse IDE for Java (4.13.0) and the Kotlin Plugin (0.8.19), and I can confirm that I am also experiencing at least a) and b). I can provide a few more details.

For a), sometimes when I start Eclipse I will get the error message every time I open a Kotlin file, and other times when I start Eclipse I never get the error. As with the OP, the error does not prevent me from editing the file. I did about a dozen tests, and it appears that when I had last closed Eclipse with a Kotlin file still open, the problem does not happen. If I had last closed Eclipse with no Kotlin files open, I get the problem. The project that I am working on is mixed, with several hundred (mostly .java) files.

In the case of b), when I hover over a variable or type in a Kotlin file, I get the unformatted hover text org.jetbrains.kotlin.ui.editors.hover.KotlinTextHover@<eight hex characters>. The hex characters change when re-opening the file. However, at any given time, it seems like they take on one value for words that are in single-line comments, a second value for words in multi-line comments, and a third for words that are not in comments.