Skip to content

[Bug] IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern #842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
panthervsanyone opened this issue Dec 13, 2021 · 3 comments · Fixed by #894
Closed

Comments

@panthervsanyone
Copy link

Describe the bug (*)

A clear and concise description of what the bug is.

java.lang.IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern
	at java.base/java.net.URLDecoder.decode(URLDecoder.java:225)
	at com.magento.idea.magento2plugin.project.diagnostic.github.GitHubNewIssueBodyBuilderUtil.decode(GitHubNewIssueBodyBuilderUtil.java:133)
	at com.magento.idea.magento2plugin.project.diagnostic.github.GitHubNewIssueBodyBuilderUtil.buildNewBugReportBody(GitHubNewIssueBodyBuilderUtil.java:60)
	at com.magento.idea.magento2plugin.project.diagnostic.github.GitHubNewIssueUrlBuilderUtil.buildNewBugIssueUrl(GitHubNewIssueUrlBuilderUtil.java:39)
	at com.magento.idea.magento2plugin.project.diagnostic.DefaultErrorReportSubmitter.submit(DefaultErrorReportSubmitter.java:73)
	at com.intellij.diagnostic.IdeErrorsDialog.reportMessage(IdeErrorsDialog.java:632)
	at com.intellij.diagnostic.IdeErrorsDialog.reportAll(IdeErrorsDialog.java:1102)
	at com.intellij.diagnostic.IdeErrorsDialog$ReportAndClearAllAction.actionPerformed(IdeErrorsDialog.java:1086)
	at com.intellij.diagnostic.IdeErrorsDialog$CompositeAction.actionPerformed(IdeErrorsDialog.java:993)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6654)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
	at java.desktop/java.awt.Component.processEvent(Component.java:6419)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5029)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2790)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:891)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:820)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:757)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:447)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:818)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:446)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:805)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:498)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

To Reproduce (*)

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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: Linux 5.11.0-41-generic
  • PhpStorm/Intellij version: 2021.3
  • Plugin Version: 4.2.0

Additional context

Add any other context about the problem here.

@m2-assistant
Copy link

m2-assistant bot commented Dec 13, 2021

Hi @panthervsanyone. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


@bohdan-harniuk
Copy link
Collaborator

bohdan-harniuk commented Dec 22, 2021

I've successfully reproduced this issue.

To Reproduce (*)

Steps to reproduce the behavior:

  1. Create new message queue
  2. Try to create another message queue with the same handler class
  3. Raised an exception num. 1: should be fixed in the scope of this task
  4. Try to click on the "Report Me" button
  5. Raised an exception num. 2: the main problem of this issue

Exception num. 1:

Screenshot 2021-12-22 at 20 57 13

Screenshot 2021-12-22 at 21 02 18

Screenshot 2021-12-22 at 21 02 36

Exception num. 2:

Screenshot 2021-12-22 at 21 03 30

@bohdan-harniuk bohdan-harniuk removed their assignment Dec 23, 2021
@Iamwade
Copy link
Collaborator

Iamwade commented Dec 23, 2021

@magento I am working on this

@bohdan-harniuk bohdan-harniuk changed the title Bug Report 2021/12/13 [Bug] IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern Dec 23, 2021
@bohdan-harniuk bohdan-harniuk linked a pull request Dec 23, 2021 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants