Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Content Assist: error while query symbols in unloaded modules #97

Closed
NCrashed opened this issue Mar 7, 2015 · 2 comments
Closed

Content Assist: error while query symbols in unloaded modules #97

NCrashed opened this issue Mar 7, 2015 · 2 comments

Comments

@NCrashed
Copy link

NCrashed commented Mar 7, 2015

Version: DDT - D Development Tools 0.11.0.v201503062245

If you call completion on symbols in another module and the modules haven't been opened at least once in editor before, you get the following error:

ddt-problem

Last exception in log:

!ENTRY org.dsource.ddt.ide.core 4 0 2015-03-07 12:46:20.846
!MESSAGE Internal Error
!STACK 0
AssertFailedException
    at melnorme.utilbox.core.Assert$AssertHandler.handleAssert(Assert.java:60)
    at melnorme.utilbox.core.Assert.checkAssertion(Assert.java:87)
    at melnorme.utilbox.core.Assert$AssertNamespace.assertTrue(Assert.java:149)
    at melnorme.lang.tooling.ast.ASTNodeFinder.<init>(ASTNodeFinder.java:53)
    at melnorme.lang.tooling.ast.ASTNodeFinder.<init>(ASTNodeFinder.java:42)
    at dtool.engine.operations.FindDefinitionOperation.findDefinition(FindDefinitionOperation.java:65)
    at dtool.engine.operations.FindDefinitionOperation.findDefinition(FindDefinitionOperation.java:60)
    at dtool.engine.DToolServer.doFindDefinition(DToolServer.java:92)
    at mmrnmhrm.core.engine_client.DToolClient.doFindDefinition(DToolClient.java:265)
    at mmrnmhrm.core.engine_client.DToolClient$FindDefinitionOperation.doRunOperationWithWorkingCopy(DToolClient.java:234)
    at mmrnmhrm.core.engine_client.DToolClient$FindDefinitionOperation.doRunOperationWithWorkingCopy(DToolClient.java:1)
    at mmrnmhrm.core.engine_client.AbstractSemanticDaemonClient$SemanticEngineOperation.runOperationWithWorkingCopy(AbstractSemanticDaemonClient.java:168)
    at mmrnmhrm.core.engine_client.AbstractSemanticDaemonClient$WorkingCopyOperation.runSemanticServerOperation(AbstractSemanticDaemonClient.java:141)
    at mmrnmhrm.ui.actions.DeeOpenDefinitionOperation.performLongRunningComputation_do(DeeOpenDefinitionOperation.java:60)
    at melnorme.lang.ide.ui.actions.AbstractUIOperation.performLongRunningComputation_inWorkerThread(AbstractUIOperation.java:125)
    at melnorme.lang.ide.ui.actions.AbstractUIOperation$1.run(AbstractUIOperation.java:101)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

P.S. I recreated project after updating

@NCrashed
Copy link
Author

NCrashed commented Mar 7, 2015

Another way to reproduce: type this. (anywhere in block), ignore completion dialog, start pressing backspace until there are only two letters th, exception raised.

@NCrashed
Copy link
Author

#99 has instruction for temporary workaround how to downgrade to 10th version

bruno-medeiros added a commit that referenced this issue Mar 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants