Darkside138 / DiscordSoundboard

Java Soundboard for Discord
Apache License 2.0
137 stars 55 forks source link

DiscordSoundboard.bat closes during startup #128

Closed reks12lp closed 4 years ago

reks12lp commented 4 years ago

Hi, the bot crashes during startup. The bot was running about a week ago with absolutely no issues, I haven't changed anything about it, I don't even think I added any files. There have been a couple of Discord updates, however. Here is what I see when I try to launch the bot:


| _ / _/ \ | \ _ \ / __|| | | | | \ | | \ | |/ \ | \ \ | | | | | | \ --.| / \/ | | | |_/ / | | | \--. | | | | | | | | | | | | |/ /| | | / /\ | |_/ / | | | | | | | | | --. \ | | | | | /| | | |--. | | | | | | | . ` | | | | | | | | || /| | | | | |/ / | |/_/ / _/\ _/ / |\ | |/ / /_/ /\ _/ / || | |\ | |/ /| |/ /\ _/ / | | || |\ | |/ / |/ _/_/ ____/\/_| _|/ ____/ \/ _/_| _/_/ __/ _/_| |/_| \|___/

Discord Soundboard (v3.0.4)

2020-02-09 01:15:52.513 INFO 11816 --- [ main] n.d.discordsoundboard.MainController : Starting MainController v3.0.4 on \PCNAME\ with PID 11816 (\LOCATION\lib\DiscordSoundboard-3.0.4.jar started by \USERNAME\ in \LOCATION\bin) 2020-02-09 01:15:52.516 INFO 11816 --- [ main] n.d.discordsoundboard.MainController : No active profile set, falling back to default profiles: default 2020-02-09 01:15:53.767 INFO 11816 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 2020-02-09 01:15:53.860 INFO 11816 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 80ms. Found 2 repository interfaces. 2020-02-09 01:15:54.351 INFO 11816 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2020-02-09 01:15:55.084 INFO 11816 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2020-02-09 01:15:55.103 INFO 11816 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2020-02-09 01:15:55.104 INFO 11816 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.27] 2020-02-09 01:15:55.213 INFO 11816 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2020-02-09 01:15:55.213 INFO 11816 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2627 ms 2020-02-09 01:15:55.553 INFO 11816 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2020-02-09 01:15:55.777 INFO 11816 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.6.Final} 2020-02-09 01:15:55.988 INFO 11816 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2020-02-09 01:15:56.097 INFO 11816 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...

After this, more lines appear, however the window closes far too quickly for me to read or copy any of it. I'm quite a novice when it comes to this, so apologies if this has already been answered elsewhere. This may also require some baby-talking, as my java is rusty and just flat out bad.

I have looked at similar threads regarding crashing on startup (1, 2), and I do not believe they pertain to my particular issue. If I'm wrong, I apologise - again, rusty, bad, etc.

Darkside138 commented 4 years ago

Try the latest version.