[
https://issues.apache.org/jira/browse/IGNITE-25900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Gidaspov updated IGNITE-25900:
-------------------------------------
Labels: ise (was: )
> Abbr-plugin: Intention preview fallback is used for action
> ----------------------------------------------------------
>
> Key: IGNITE-25900
> URL: https://issues.apache.org/jira/browse/IGNITE-25900
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Aleksandr Chesnokov
> Assignee: Aleksandr Chesnokov
> Priority: Minor
> Labels: ise
>
> If we try to see preview of action {_}Generate Apache Ignite style getter and
> setter{_}, we will get an error
> {noformat}
> java.lang.Throwable: Intention preview fallback is used for action
> org.apache.ignite.idea.intention.IgniteGetterGenerator|Generate Apache Ignite
> style getter
> at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
> at
> com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.invokePreview(IntentionPreviewComputable.kt:159)
> at
> com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.generatePreview(IntentionPreviewComputable.kt:103)
> at
> com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.tryCreateDiffContent$lambda-1(IntentionPreviewComputable.kt:61)
> at
> com.intellij.model.SideEffectGuard.computeWithAllowedSideEffects(SideEffectGuard.java:25)
> at
> com.intellij.model.SideEffectGuard.computeWithoutSideEffects(SideEffectGuard.java:18)
> {noformat}
> The problem is that the _IgniteGetterSetterGenerator_ class has field
> insPtSel of type IgniteMethodInsertionPointSelector which is not safe for
> preview. Let's fix it
--
This message was sent by Atlassian Jira
(v8.20.10#820010)