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

Unhandled IllegalArgumentException #95795

Open
jsql-robot opened this issue Nov 24, 2024 · 0 comments
Open

Unhandled IllegalArgumentException #95795

jsql-robot opened this issue Nov 24, 2024 · 0 comments

Comments

@jsql-robot
Copy link

jSQL: v0.101
Java: v21.0.5-aarch64-en on OpenJDK Runtime Environment
OS: Linux (v5.15.123-android13-8-29539737-abS911BXXS6CXHA)
Desktop: undefined
Strategy: undefined
Db engine: MySQL
Exception on ThreadBeginInjection
java.lang.IllegalArgumentException: Illegal character in query at index 22: ApplComplete.asp?db=I'"#-)'"*--%20-p0Ke&CourseID=P11770&display=d
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:941)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
	at com.jsql.model.InjectionModel.inject(InjectionModel.java:331)
	at com.jsql.model.AbstractModelObservable.injectWithoutIndex(AbstractModelObservable.java:54)
	at com.jsql.model.injection.vendor.MediatorVendor.fingerprintVendor(MediatorVendor.java:207)
	at com.jsql.model.injection.strategy.MediatorStrategy.testStrategies(MediatorStrategy.java:147)
	at com.jsql.model.injection.method.AbstractMethodInjection.testJsonlessParam(AbstractMethodInjection.java:179)
	at com.jsql.model.injection.method.AbstractMethodInjection.isParamInjectable(AbstractMethodInjection.java:156)
	at com.jsql.model.injection.method.AbstractMethodInjection.checkAllParams(AbstractMethodInjection.java:127)
	at com.jsql.model.injection.method.AbstractMethodInjection.testParameters(AbstractMethodInjection.java:78)
	at com.jsql.model.injection.method.AbstractMethodInjection.testParameters(AbstractMethodInjection.java:41)
	at com.jsql.model.InjectionModel.beginInjection(InjectionModel.java:172)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.IllegalArgumentException: Illegal character in query at index 22: ApplComplete.asp?db=I'"#-)'"*--%20-p0Ke&CourseID=P11770&display=d
	at java.base/java.net.URI.create(URI.java:932)
	at java.base/java.util.Optional.map(Optional.java:260)
	at java.net.http/jdk.internal.net.http.RedirectFilter.getRedirectedURI(RedirectFilter.java:148)
	at java.net.http/jdk.internal.net.http.RedirectFilter.handleResponse(RedirectFilter.java:131)
	at java.net.http/jdk.internal.net.http.RedirectFilter.response(RedirectFilter.java:83)
	at java.net.http/jdk.internal.net.http.MultiExchange.responseFilters(MultiExchange.java:253)
	at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$6(MultiExchange.java:418)
	at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:653)
	at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:177)
	at java.base/java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:572)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179)
	at java.net.http/jdk.internal.net.http.Http1Response$HeadersReader.handle(Http1Response.java:610)
	at java.net.http/jdk.internal.net.http.Http1Response$HeadersReader.handle(Http1Response.java:536)
	at java.net.http/jdk.internal.net.http.Http1Response$Receiver.accept(Http1Response.java:527)
	at java.net.http/jdk.internal.net.http.Http1Response$HeadersReader.tryAsyncReceive(Http1Response.java:583)
	at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.flush(Http1AsyncReceiver.java:233)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:182)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	... 1 more
Caused by: java.net.URISyntaxException: Illegal character in query at index 22: ApplComplete.asp?db=I'"#-)'"*--%20-p0Ke&CourseID=P11770&display=d
	at java.base/java.net.URI$Parser.fail(URI.java:2995)
	at java.base/java.net.URI$Parser.checkChars(URI.java:3166)
	at java.base/java.net.URI$Parser.parseHierarchical(URI.java:3254)
	at java.base/java.net.URI$Parser.parse(URI.java:3207)
	at java.base/java.net.URI.<init>(URI.java:645)
	at java.base/java.net.URI.create(URI.java:930)
	... 27 more
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

1 participant