Skip to content
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

DecoderException: Invalid URL encoding: not a valid digit #1580

Closed
sentry-io bot opened this issue Mar 23, 2024 · 2 comments
Closed

DecoderException: Invalid URL encoding: not a valid digit #1580

sentry-io bot opened this issue Mar 23, 2024 · 2 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 23, 2024

Sentry Issue: ASCIIDOC-INTELLIJ-PLUGIN-7G5

org.apache.commons.codec.DecoderException: Invalid URL encoding: not a valid digit (radix 16): 116
    at org.apache.commons.codec.net.Utils.digit16(Utils.java:49)
    at org.apache.commons.codec.net.PercentCodec.decode(PercentCodec.java:201)
    at org.asciidoc.intellij.psi.AsciiDocFileReference.resolve(AsciiDocFileReference.java:1329)
    at org.asciidoc.intellij.psi.AsciiDocFileReference.resolveAttributes(AsciiDocFileReference.java:829)
    at org.asciidoc.intellij.psi.AsciiDocFileReference.resolve(AsciiDocFileReference.java:671)
    at org.asciidoc.intellij.psi.AsciiDocFileReference.multiResolve(AsciiDocFileReference.java:283)
    at org.asciidoc.intellij.inspections.AsciiDocLinkResolveInspection$1.visitElement(AsciiDocLinkResolveInspection.java:142)
...
(36 additional frame(s) were not displayed)
@ahus1
Copy link
Contributor

ahus1 commented Mar 23, 2024

Apparently the exception's class can't be caught as before due to classloading issue starting in 2024.1. Fixed in next release.

@ahus1 ahus1 closed this as completed Mar 23, 2024
ahus1 added a commit that referenced this issue Mar 23, 2024
CAAHS pushed a commit to CAAHS/asciidoctor-intellij-plugin that referenced this issue Mar 27, 2024
typo in 6b64c55 (Prevent decoder exception when
filename contains a percentage sind in IntelliJ 2024.1
EAP (asciidoctor#1580), 2024-03-23 alexander.schwartz)
@CAAHS
Copy link
Contributor

CAAHS commented Mar 27, 2024

Thanks for the update;Typo in subject line, populates to changelog. Fix there: #1586

ahus1 pushed a commit that referenced this issue Mar 27, 2024
typo in 6b64c55 (Prevent decoder exception when
filename contains a percentage sind in IntelliJ 2024.1
EAP (#1580), 2024-03-23 alexander.schwartz)

Co-authored-by: CAAHS <CAAHS@example.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants