#SnakeYaml cast error

3 messages · Page 1 of 1 (latest)

prime nimbus
#
        at me.gurwi.fadedmusicbot.config.YamlConfig.loadConfig(YamlConfig.java:36)
        at me.gurwi.fadedmusicbot.config.YamlConfig.<init>(YamlConfig.java:110)
        at me.gurwi.fadedmusicbot.FadedMusicBot.main(FadedMusicBot.java:36)```

I don't know how to fix this error because this `private Map<String, Object> configuration;`  should be right, and i load the yaml like this `configuration = yaml.load(directory);`
verbal sandalBOT
#

This post has been reserved for your question.

Hey @prime nimbus! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.