eclipse-archived/ceylon-ide-intellij

Plugin doesn't work on IntelliJ 2017.1.5

Opened this issue · 10 comments

Cleared caches, installed plugin, restarted.

When using Ceylon features, the IDE crashes with

Assertion failed
	violated exists lastCompilationUnit = localAnalysisResult.lastCompilationUnit
ceylon.language.AssertionError "Assertion failed

I'm using 2017.1.5 with the latest build of Ceylon IDE, and I'm not experiencing this one. So I'll need more information.

What info do you need? This is on macbook pro, latest OS, latest everything. 16gb ram.

Same. I mean: what are you doing that causes this error?

@gavinking oh. For instance: Create a new .ceylon file, type a few characters and press enter.

OK, so I'm definitely not experiencing that. Could you try with a nightly build of the IDE?

Could you attach idea.log please? There might be another error before that which would prevent analysis to run correctly in the editor.

@bjansen weird, no idea.log for my 2017.1.5 installation. Not sure if the log location changed, or if that means nothing has been logged yet?

Have you tried Help > Show Log in explorer from within the IDE?

Thanks, found the log using that menu action.

The log has this before the ceylon error (same timestamp so I assume they are related):

ERROR - on.CompletionProgressIndicator - Assertion failed
	violated exists lastCompilationUnit = localAnalysisResult.lastCompilationUnit 
ceylon.language.AssertionError "Assertion failed
	violated exists lastCompilationUnit = localAnalysisResult.lastCompilationUnit"
	at org.intellij.plugins.ceylon.ide.completion.IdeaCompletionContext.getLastCompilationUnit(IdeaCompletionContext.ceylon:69)

No other errors.

This should have been closed a long time ago.