211 build broke plugins and throws "dataContext has no component for new ListPopupStep"

Answered

Both my plugin (gitflow4idea) and several others have encountered this issue in the new 211 build when creating a new

PopupFactoryImpl.ActionGroupPopup

 

Example 1
https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/1614

Example 2
https://youtrack.jetbrains.com/issue/CWM-1892

Example 3
https://youtrack.jetbrains.com/issue/IDEA-262024

Example 4 (gitflow4idea):
https://pastebin.com/9hCd3vgE

 

The code that prompts this looks in all cases something like this:

new PopupFactoryImpl.ActionGroupPopup("Gitflow Actions", popupGroup.getActionGroup(), SimpleDataContext.getProjectContext(project), false, false, false, true, null, -1,

 

And  the exact culprit is this:

SimpleDataContext.getProjectContext(project)

 

Is this a bug or did something change in IDEA? Or is there some other way now that we should be calling this function?

0
2 comments

Thanks for posting, we're investigating this and will update this later.

0

Please sign in to leave a comment.