i get this error while trying to run my Lavalink.jar. i kinda just got ChatGPT-4o to give me an application.yml with the settings for the highest quality and the dependency. since i couldnt fry my brain while trying to set up an application.yml also idk if its relevant or not but for now most of the authentication keys and stuff, i didn't fill them out. i just wanted to test it. i might seem stupid but i have had a hard time figuring out settings for application.yml in the past so i decided to leave it upto AI this time. idk if application.yml is needed to troubleshoot this so i didnt provide it.
#error when running Lavalink.jar
1 messages · Page 1 of 1 (latest)
read the post guidelines
i kinda just got ChatGPT-4o to give me an application.ym
this is the most terrible idea ever
read the docs and fill it out
where
also i did try to fix the issue by going to lavasrc's repo
do u know the cause of the error?
yes
but uh
as always everyone
can i still get help
.
heres my log file
help 🙏
the error seems to be plugin based so theres not really any troubleshoot available for it ig
@ember schooner if u help me then ill pet u🤑
deal?
ok
Deal impossible
You already failed
:(
pls i beg
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'audioLyricsRestHandler' defined in URL [jar:file:/home/container/./plugins/lavalyrics-plugin-1.0.0.jar!/com/github/topi314/lavalyrics/plugin/AudioLyricsRestHandler.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'audioPlayerManagerSupplier' defined in class path resource [lavalink/server/config/AudioPlayerConfiguration.class]: Unsatisfied dependency expressed through method 'audioPlayerManagerSupplier' parameter 4: Error creating bean with name 'lavaSrcPlugin' defined in URL [jar:file:/home/container/./plugins/lavasrc-plugin-4.0.1.jar!/com/github/topi314/lavasrc/plugin/LavaSrcPlugin.class]: Failed to instantiate [com.github.topi314.lavasrc.plugin.LavaSrcPlugin]: Constructor threw exception
wait does this mean that lavasrc wasnt installed correctly?
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at com.github.topi314.lavasrc.applemusic.AppleMusicSourceManager.parseTokenData(AppleMusicSourceManager.java:177) ~[na:na]
at com.github.topi314.lavasrc.applemusic.AppleMusicSourceManager.<init>(AppleMusicSourceManager.java:80) ~[na:na]
at com.github.topi314.lavasrc.applemusic.AppleMusicSourceManager.<init>(AppleMusicSourceManager.java:65) ~[na:na]
at com.github.topi314.lavasrc.plugin.LavaSrcPlugin.<init>(LavaSrcPlugin.java:46) ~[na:na]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:na]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[na:na]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[na:na]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211) ~[spring-beans-6.0.9.jar!/:6.0.9]
... 60 common frames omitted
don't enable source managers you don't have configured correctly
simple fix
wait so stuff like yendex music for whom i didnt fill in the api key and ran it?
Yes
i thought it would give an error when i tried to play a track from yandex music
Apple music in this case
ok
hm thats weird its not playing anything
and i dont see an error log on the lavalink host either
i compared my application.yml to the example one
and it seems ok
well there was no error so i suppose the logs didn't catch anything
and
the application.yml is the same except for the fact that i disabled the sources that i didnt configure
could it be cuz of the deprecated yt source?
Just because there is no error it doesn't mean there is no valuable information in it
See the poet guidelines for logging
help me now pls?
i used debug mode and this is the error that i goof
got*
ah it says to sign in
but that doesnt explain why i had this issue on SoundCloud aswell
does it?
You might be surprised but people have other things in life than responding 24/7
Read #info
I assume this is resolved after you cross posted into #general
If not correct me
well not exactly
damn fr?
i thought ppl didnt touch grass
i mean its overrated anyway
does negative matches affect the playback?
could it be the reason it's not playing?
this is what i get
my application.yml
Then stop pinging me for no reason finally
i already use it tho
and ipv6 rotation?
uh not that
then do.
wait uh i think there is smth wrong with the TVHTML5EMBEDDED client
when i removed all other clients and only used it
then it didnt find any matches