On a fresh rebuild (i.e. after running docker system prune -a --force) of my Lavalink server container, I see that 4.0.7 is pulled successfully. The image is defined as ghcr.io/lavalink-devs/lavalink:4 per the documentation. Server starts up normally, and connection is established with the client. In my case, I am using a .NET client and the Lavalink4NET library.
Once the server receives a track request from the client, a ServletException is thrown, and the inner mentions a compiler flag (I will include the full logs below of course). I tested with both Spotify and YouTube requests and received the same behavior FWIW. When I read the logs, it looks to me that the issue is with the SponsorBlock integration. My apologies to the Lavalink Dev Team if this is the incorrect place to file an issue of this nature.
To Reproduce
Steps to reproduce the behavior:
Get Lavalink server container, and a client container, up and connected to each other
Have client send a track request to the server
Exception is thrown in server logs (via docker container logs [container name] --follow)
Client is deferred forever, remains hung Discord UI with the "..." and such
Expected behavior
Track is queued
Version info
Client used:
Discord.Net 3.15.2
Lavalink4NET.Discord.NET 4.0.18
Lavalink4NET.InactivityTracking 4.0.18
Lavalink4NET.Integrations.Lavasearch 4.0.18
Lavalink4NET.Integrations.Lavasrc 4.0.18
Lavalink4NET.Integrations.SponsorBlock 4.0.18
Output of java -version:
I don't believe this is being used if I am relying on the Docker container? But here is the output, I do have a headless JDK installed on this Raspberry Pi host:
openjdk 17.0.11 2024-04-16
OpenJDK Runtime Environment (build 17.0.11+9-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.11+9-Debian-1deb12u1, mixed mode)
Lavalink Logs:
Picked up _JAVA_OPTIONS: -Xmx6G
2024-07-09T01:57:41.088Z INFO 1 --- [Lavalink] [ main] lavalink.server.Launcher : Starting Launcher v4.0.7 using Java 18.0.2.1 with PID 1 (/opt/Lavalink/Lavalink.jar started by lavalink in /opt/Lavalink)
2024-07-09T01:57:41.092Z INFO 1 --- [Lavalink] [ main] lavalink.server.Launcher : No active profile set, falling back to 1 default profile: "default"
2024-07-09T01:57:43.928Z INFO 1 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Found plugin 'lavasearch-plugin' version 1.0.0
2024-07-09T01:57:43.929Z INFO 1 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Found plugin 'youtube-plugin' version 1.4.0
2024-07-09T01:57:43.929Z INFO 1 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Found plugin 'lavasrc-plugin' version 4.1.1
2024-07-09T01:57:43.929Z INFO 1 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Found plugin 'sponsorblock-plugin' version 3.0.0
2024-07-09T01:57:44.003Z INFO 1 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Loaded lavasearch-plugin-1.0.0.jar (20 classes)
2024-07-09T01:57:44.024Z INFO 1 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Loaded youtube-plugin-1.4.0.jar (10 classes)
2024-07-09T01:57:44.277Z INFO 1 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Loaded lavasrc-plugin-4.1.1.jar (129 classes)
2024-07-09T01:57:44.403Z INFO 1 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Loaded sponsorblock-plugin-3.0.0.jar (90 classes)
2024-07-09T01:57:44.904Z INFO 1 --- [Lavalink] [ main] lavalink.server.Launcher : Started Launcher in 4.767 seconds (process running for 6.135)
2024-07-09T01:57:45.191Z INFO 1 --- [Lavalink] [ main] lavalink.server.Launcher :
. _ _ _ _ __ _ _
/\\ | | __ ___ ____ _| (_)_ __ | | __\ \ \ \
( ( )| |/ _` \ \ / / _` | | | '_ \| |/ / \ \ \ \
\\/ | | (_| |\ V / (_| | | | | | | < ) ) ) )
' |_|\__,_| \_/ \__,_|_|_|_| |_|_|\_\ / / / /
=========================================/_/_/_/
Version: 4.0.7
Build time: 08.07.2024 22:14:17 UTC
Branch HEAD
Commit: 93102f8
Commit time: 08.07.2024 21:49:02 UTC
JVM: 18.0.2.1
Lavaplayer 2.2.1
2024-07-09T01:57:45.210Z INFO 1 --- [Lavalink] [ main] lavalink.server.Launcher : No active profile set, falling back to 1 default profile: "default"
2024-07-09T01:57:47.004Z WARN 1 --- [Lavalink] [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
2024-07-09T01:57:47.043Z INFO 1 --- [Lavalink] [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext
2024-07-09T01:57:47.044Z INFO 1 --- [Lavalink] [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1823 ms
2024-07-09T01:57:47.189Z INFO 1 --- [Lavalink] [ main] c.g.t.lavasrc.plugin.LavaSrcPlugin : Loading LavaSrc plugin...
2024-07-09T01:57:47.423Z INFO 1 --- [Lavalink] [ main] c.g.t.lavasrc.plugin.LavaSrcPlugin : Registering Spotify search manager...
2024-07-09T01:57:47.552Z INFO 1 --- [Lavalink] [ main] c.s.d.l.tools.GarbageCollectionMonitor : GC monitoring enabled, reporting results every 2 minutes.
2024-07-09T01:57:48.416Z INFO 1 --- [Lavalink] [ main] d.l.youtube.plugin.YoutubePluginLoader : YouTube source initialised with clients: WEB_REMIX, ANDROID, WEB
2024-07-09T01:57:48.417Z INFO 1 --- [Lavalink] [ main] c.g.t.lavasrc.plugin.LavaSrcPlugin : Registering Spotify audio source manager...
2024-07-09T01:57:48.445Z INFO 1 --- [Lavalink] [ main] c.g.t.s.plugin.SponsorBlockPlugin : Loading SponsorBlock Plugin...
2024-07-09T01:57:48.696Z INFO 1 --- [Lavalink] [ main] l.server.config.KoeConfiguration : OS: LINUX, Arch: ARMv8_64
2024-07-09T01:57:48.697Z INFO 1 --- [Lavalink] [ main] l.server.config.KoeConfiguration : Enabling JDA-NAS
2024-07-09T01:57:48.705Z INFO 1 --- [Lavalink] [ main] c.s.l.c.natives.NativeLibraryLoader : Native library udpqueue: loading with filter null
2024-07-09T01:57:48.715Z INFO 1 --- [Lavalink] [ main] c.s.l.c.natives.NativeLibraryLoader : Native library udpqueue: successfully loaded.
2024-07-09T01:57:48.846Z WARN 1 --- [Lavalink] [ main] l.server.config.SentryConfiguration : Turning off sentry
2024-07-09T01:57:49.513Z INFO 1 --- [Lavalink] [ main] io.undertow : starting server: Undertow - 2.3.13.Final
2024-07-09T01:57:49.533Z INFO 1 --- [Lavalink] [ main] org.xnio : XNIO version 3.8.8.Final
2024-07-09T01:57:49.553Z INFO 1 --- [Lavalink] [ main] org.xnio.nio : XNIO NIO Implementation Version 3.8.8.Final
2024-07-09T01:57:49.708Z INFO 1 --- [Lavalink] [ main] org.jboss.threads : JBoss Threads version 3.5.0.Final
2024-07-09T01:57:49.774Z INFO 1 --- [Lavalink] [ main] o.s.b.w.e.undertow.UndertowWebServer : Undertow started on port 2333 (http) with context path '/'
2024-07-09T01:57:49.788Z INFO 1 --- [Lavalink] [ main] lavalink.server.Launcher : Started Launcher in 4.825 seconds (process running for 11.019)
2024-07-09T01:57:49.790Z INFO 1 --- [Lavalink] [ main] lavalink.server.Launcher : Lavalink is ready to accept connections.
2024-07-09T01:57:49.907Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] io.undertow.servlet : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-07-09T01:57:49.907Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2024-07-09T01:57:49.910Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
2024-07-09T01:57:49.950Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.HandshakeInterceptorImpl : Incoming connection from /172.18.0.3:52284
2024-07-09T01:57:49.976Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : GET /v4/websocket, client=172.18.0.3
2024-07-09T01:57:50.091Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] lavalink.server.io.SocketServer : Connection successfully established from Lavalink4NET/4.0.18.0
2024-07-09T01:57:50.491Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/9rilhham38idfho8, client=172.18.0.3, payload={"resuming":true,"timeout":60000}
2024-07-09T01:59:42.269Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/9rilhham38idfho8/players/1074901936618344459, client=172.18.0.3, payload={"voice":{"token":"b64d77e198b61a7c","endpoint":"atlanta5855.discord.media:443","sessionId":"b9a3a45a081dcdb4486b1e0c4026b624"}}
2024-07-09T01:59:42.322Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/9rilhham38idfho8/players/1074901936618344459, client=172.18.0.3, payload={"voice":{"token":"b64d77e198b61a7c","endpoint":"atlanta5855.discord.media:443","sessionId":"b9a3a45a081dcdb4486b1e0c4026b624"}}
2024-07-09T01:59:42.339Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/9rilhham38idfho8/players/1074901936618344459, client=172.18.0.3, payload={"voice":{"token":"b64d77e198b61a7c","endpoint":"atlanta5855.discord.media:443","sessionId":"b9a3a45a081dcdb4486b1e0c4026b624"}}
2024-07-09T01:59:42.351Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/9rilhham38idfho8/players/1074901936618344459, client=172.18.0.3, payload={"volume":25}
2024-07-09T01:59:42.372Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : GET /v4/sessions/9rilhham38idfho8/players/1074901936618344459/sponsorblock/categories, client=172.18.0.3
2024-07-09T01:59:42.373Z ERROR 1 --- [Lavalink] [ XNIO-1 task-2] io.undertow.request : UT005023: Exception handling request to /v4/sessions/9rilhham38idfho8/players/1074901936618344459/sponsorblock/categories
jakarta.servlet.ServletException: Request processing failed: java.lang.IllegalArgumentException: Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1022) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:289) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at lavalink.server.io.ResponseHeaderFilter.doFilterInternal(ResponseHeaderFilter.kt:17) ~[classes!/:4.0.7]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282) ~[xnio-api-3.8.8.Final.jar!/:3.8.8.Final]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
Caused by: java.lang.IllegalArgumentException: Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.
at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.updateNamedValueInfo(AbstractNamedValueMethodArgumentResolver.java:187) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.getNamedValueInfo(AbstractNamedValueMethodArgumentResolver.java:162) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:108) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:122) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:224) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:178) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:926) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:831) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
... 48 common frames omitted
2024-07-09T01:59:42.424Z INFO 1 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : PUT /v4/sessions/9rilhham38idfho8/players/1074901936618344459/sponsorblock/categories, client=172.18.0.3
2024-07-09T01:59:42.424Z ERROR 1 --- [Lavalink] [ XNIO-1 task-2] io.undertow.request : UT005023: Exception handling request to /v4/sessions/9rilhham38idfho8/players/1074901936618344459/sponsorblock/categories
jakarta.servlet.ServletException: Request processing failed: java.lang.IllegalArgumentException: Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1022) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:925) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:550) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:289) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at lavalink.server.io.ResponseHeaderFilter.doFilterInternal(ResponseHeaderFilter.kt:17) ~[classes!/:4.0.7]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282) ~[xnio-api-3.8.8.Final.jar!/:3.8.8.Final]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
Caused by: java.lang.IllegalArgumentException: Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.
at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.updateNamedValueInfo(AbstractNamedValueMethodArgumentResolver.java:187) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.getNamedValueInfo(AbstractNamedValueMethodArgumentResolver.java:162) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:108) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:122) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:224) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:178) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:926) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:831) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
... 48 common frames omitted
Additional context
While I absolutely do not expect anyone to spend time inspecting this issue let alone my own projects, here is the repo for my bot, it is what I used to produce the behavior above (branch skip-text-bug-fix).
UPDATE: Confirmed that gutting my bot of the sponsorblock integration causes everything to work properly again. This is definitely the wrong place for this issue! My apologies.
Description
On a fresh rebuild (i.e. after running
docker system prune -a --force
) of my Lavalink server container, I see that 4.0.7 is pulled successfully. The image is defined asghcr.io/lavalink-devs/lavalink:4
per the documentation. Server starts up normally, and connection is established with the client. In my case, I am using a .NET client and the Lavalink4NET library.Once the server receives a track request from the client, a
ServletException
is thrown, and the inner mentions a compiler flag (I will include the full logs below of course). I tested with both Spotify and YouTube requests and received the same behavior FWIW. When I read the logs, it looks to me that the issue is with the SponsorBlock integration. My apologies to the Lavalink Dev Team if this is the incorrect place to file an issue of this nature.To Reproduce
Steps to reproduce the behavior:
docker container logs [container name] --follow
)Expected behavior
Track is queued
Version info
Client used:
Output of
java -version
:I don't believe this is being used if I am relying on the Docker container? But here is the output, I do have a headless JDK installed on this Raspberry Pi host:
Lavalink Logs:
Additional context
While I absolutely do not expect anyone to spend time inspecting this issue let alone my own projects, here is the repo for my bot, it is what I used to produce the behavior above (branch
skip-text-bug-fix
).