Skip to content

Error in the console (New Module Action) #501

Closed
@VitaliyBoyko

Description

@VitaliyBoyko

Describe the bug (*)

update failed for AnAction(com.magento.idea.magento2plugin.actions.generation.NewModuleAction) with ID=Magento2NewModule

java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
	at com.magento.idea.magento2plugin.util.magento.GetModuleNameByDirectoryUtil.execute(GetModuleNameByDirectoryUtil.java:40)
	at com.magento.idea.magento2plugin.actions.generation.NewModuleAction.update(NewModuleAction.java:90)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:178)
	at com.intellij.openapi.actionSystem.impl.ActionUpdater.doUpdate(ActionUpdater.java:465)
	at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$new$1(ActionUpdater.java:94)
	at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction(ActionUpdater.java:134)

To Reproduce (*)

No specific steps

Screenshots

If applicable, add screenshots to help explain your problem.

Please complete the following information: (*)

  • OS: all
  • PhpStorm/Intellij version: 2020.3.2
  • Plugin Version: 3.1.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions