eclipse-archived/ceylon-ide-intellij

Failed assertion

Opened this issue · 0 comments

I just updated IntelliJ to version #181.4203.550 (windows 7 64-bit). During launch, I got this message:

"The Ceylon model update triggered an unexpected exception: ceylon.language.AssertionError "Assertion failed: The PSI element should still exist violated exists el = psiPointer.element" that will be reported in the Event View. To avoid performance issues the automatic update of the Ceylon model has been disabled. You can reenable it by using the following menu entry: Tools -> Ceylon -> Enable automatic update of model."

This is the stack trace:

Assertion failed: The PSI element should still exist
	violated exists el = psiPointer.element
ceylon.language.AssertionError "Assertion failed: The PSI element should still exist
	violated exists el = psiPointer.element"
	at org.intellij.plugins.ceylon.ide.model.PSIClass.getPsi(PSIClass.ceylon:63)
	at org.intellij.plugins.ceylon.ide.platform.ideaJavaModelServices_.getJavaClassRoot(ideaJavaModelServices.ceylon:31)
	at org.intellij.plugins.ceylon.ide.platform.ideaJavaModelServices_.getJavaClassRoot(ideaJavaModelServices.ceylon)
	at com.redhat.ceylon.ide.common.model.IdeModelLoader.newCompiledUnit(IdeModelLoader.ceylon:681)
	at com.redhat.ceylon.ide.common.model.BaseIdeModelLoader.setModuleAndPackageUnits(IdeModelLoader.ceylon:649)
	at com.redhat.ceylon.ide.common.model.CeylonProject$16$1.$call$(CeylonProject.ceylon:980)
	at com.redhat.ceylon.ide.common.model.withCeylonModelCaching_.withCeylonModelCaching(CeylonProjects.ceylon:50)
	at com.redhat.ceylon.ide.common.model.CeylonProject$16.$call$(CeylonProject.ceylon:807)
	at com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel$canonical$(CeylonProject.ceylon:503)
	at com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel(CeylonProject.ceylon:495)
	at com.redhat.ceylon.ide.common.model.CeylonProject.parseCeylonModel(CeylonProject.ceylon:804)
	at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.resolveClasspath$priv$(CeylonProjectBuild.ceylon:574)
	at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild$canonical$(CeylonProjectBuild.ceylon:589)
	at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild(CeylonProjectBuild.ceylon:580)
	at org.intellij.plugins.ceylon.ide.model.CeylonModelManager$ModelUpdateBackgroundTask$1.$call$(CeylonModelManager.ceylon:326)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.withIndexStrategy$priv$(concurrencyManager.ceylon:202)
	at org.intellij.plugins.ceylon.ide.model.concurrencyManager_.withUpToDateIndexes(concurrencyManager.ceylon:223)
	at org.intellij.plugins.ceylon.ide.model.CeylonModelManager$ModelUpdateBackgroundTask.run(CeylonModelManager.ceylon:321)
	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:750)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
	at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)