-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
Priority: P1Needs to be fixed before any other issuesNeeds to be fixed before any other issuesbugrelease-4.2.2
Description
Describe the bug (*)
A clear and concise description of what the bug is.
java.lang.StringIndexOutOfBoundsException: begin 0, end 39, length 38
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at com.magento.idea.magento2uct.util.php.MagentoTypeEscapeUtil.escape(MagentoTypeEscapeUtil.java:35)
at com.magento.idea.magento2uct.versioning.VersionStateManager.escapeFqn(VersionStateManager.java:186)
at com.magento.idea.magento2uct.versioning.VersionStateManager.isDeprecated(VersionStateManager.java:62)
at com.magento.idea.magento2uct.inspections.php.deprecation.CallingDeprecatedMethod.execute(CallingDeprecatedMethod.java:31)
at com.magento.idea.magento2uct.inspections.php.CallMethodInspection$1.visitPhpMethodReference(CallMethodInspection.java:43)
at com.jetbrains.php.lang.psi.elements.impl.MethodReferenceImpl.accept(MethodReferenceImpl.java:44)
at com.jetbrains.php.lang.psi.elements.impl.PhpASTElementImpl.accept(PhpASTElementImpl.java:26)
at com.magento.idea.magento2uct.inspections.UctInspectionManager.run(UctInspectionManager.java:69)
at com.magento.idea.magento2uct.execution.GenerateUctReportCommand.lambda$execute$0(GenerateUctReportCommand.java:120)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:828)
at com.magento.idea.magento2uct.execution.GenerateUctReportCommand.lambda$execute$2(GenerateUctReportCommand.java:104)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:265)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
To Reproduce (*)
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior (*)
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information: (*)
- OS: Mac OS X 11.6
- PhpStorm/Intellij version: 2021.2.2
- Plugin Version: 4.2.0
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Priority: P1Needs to be fixed before any other issuesNeeds to be fixed before any other issuesbugrelease-4.2.2