Skip to content

IncorrectOperationException: Could not detect qualified name in given context: com.intellij.psi.impl.source.tree.PsiErrorEleme... #63

@kshchepanovskyi

Description

@kshchepanovskyi

https://sentry.io/ks-projects/protobuf-support/issues/309485610/

TODO: Sample where this error occurs is needed.

IncorrectOperationException: Could not detect qualified name in given context: com.intellij.psi.impl.source.tree.PsiErrorElementImpl
    at io.protostuff.jetbrains.plugin.psi.DataType.getQualifiedName(DataType.java:44)
    at io.protostuff.jetbrains.plugin.psi.MessageNode.getNamespace(MessageNode.java:51)
    at io.protostuff.jetbrains.plugin.reference.TypeReferenceProviderImpl.createScopeLookupList(TypeReferenceProviderImpl.java:112)
    at io.protostuff.jetbrains.plugin.reference.TypeReferenceProviderImpl.resolveInScope(TypeReferenceProviderImpl.java:84)
    at io.protostuff.jetbrains.plugin.reference.TypeReferenceProviderImpl.getReferencesByElement(TypeReferenceProviderImpl.java:37)
...
(32 additional frame(s) were not displayed)

In file: file://D:/Go/src/Server/pb/Person.proto: Could not detect qualified name in given context: com.intellij.psi.impl.source.tree.PsiErrorElementImpl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions