#error when running Lavalink.jar

1 messages · Page 1 of 1 (latest)

night wing
#

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.

ember schooner
#

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

night wing
#

also i did try to fix the issue by going to lavasrc's repo

ember schooner
night wing
#

do u know the cause of the error?

ember schooner
#

they pop up when you create a post

#

READ BEFORE POSTING

night wing
#

oh shit i've might ignored it

#

sowwi

ember schooner
#

yes

night wing
#

but uh

ember schooner
#

as always everyone

night wing
#

can i still get help

night wing
ember schooner
#

read them

#

and do what they say

night wing
#

ok

night wing
#

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?

ember schooner
#

You don't ping me
And I might help you when I have time

#

Deal?

night wing
#

ok

ember schooner
#

Deal impossible
You already failed

night wing
#

:(

#

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?

ember schooner
#

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

night wing
#

wait so stuff like yendex music for whom i didnt fill in the api key and ran it?

ember schooner
#

Yes

night wing
#

i thought it would give an error when i tried to play a track from yandex music

ember schooner
#

Apple music in this case

night wing
#

i didnt know it authenticates when i run the lavalink.jar

#

mb

ember schooner
#

Some source managers do things on startup

#

¯_(ツ)_/¯

night wing
#

ok

night wing
#

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

ember schooner
#

As before

#

Logs

#

Config

#

Bla bla

night wing
#

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?

ember schooner
#

Just because there is no error it doesn't mean there is no valuable information in it

#

See the poet guidelines for logging

night wing
night wing
#

help me now pls?

night wing
#

i dont wanna ping but uh

#

uhhh

#

help me pls

#

i beg

#

@ember schooner

night wing
#

got*

#

ah it says to sign in

#

but that doesnt explain why i had this issue on SoundCloud aswell

#

does it?

night wing
#

@ember schooner

ember schooner
#

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

night wing
#

well not exactly

night wing
#

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

ember schooner
ember schooner
night wing
#

i already use it tho

ember schooner
#

and ipv6 rotation?

night wing
#

uh not that

ember schooner
#

then do.

night wing
#

ok

#

wait can u send the link to it?

night wing
#

when i removed all other clients and only used it

#

then it didnt find any matches