-
Notifications
You must be signed in to change notification settings - Fork 21
Troubleshooting
Exception in thread "main" java.io.FileNotFoundException: Main file not found at '\void\data\cache\main_file_cache.dat2'.
at world.gregs.voidps.cache.CacheLoader.load(CacheLoader.kt:23)
at world.gregs.voidps.cache.CacheLoader.load$default(CacheLoader.kt:20)
at world.gregs.voidps.cache.CacheLoader.load(CacheLoader.kt:17)
at world.gregs.voidps.cache.CacheLoader.load$default(CacheLoader.kt:12)
at world.gregs.voidps.cache.Cache$Companion.load(Cache.kt:47)
at world.gregs.voidps.Main$main$cache$1.invoke(Main.kt:48)
at world.gregs.voidps.Main$main$cache$1.invoke(Main.kt:48)
at world.gregs.voidps.engine.TimedLoaderKt.timed(TimedLoader.kt:10)
at world.gregs.voidps.Main.main(Main.kt:48)
Cache files couldn't be found. Make sure you correctly extracted the cache files into /data/cache/
Exception in thread "main" org.koin.core.error.InstanceCreationException: Could not create instance for '[Singleton:'world.gregs.voidps.engine.data.definition.Definition']'
at org.koin.core.instance.InstanceFactory.create(InstanceFactory.kt:57)
at org.koin.core.instance.SingleInstanceFactory.create(SingleInstanceFactory.kt:46)
at org.koin.core.instance.SingleInstanceFactory$get$1.invoke(SingleInstanceFactory.kt:55)
at org.koin.core.instance.SingleInstanceFactory$get$1.invoke(SingleInstanceFactory.kt:53)
at org.koin.mp.KoinPlatformTools.synchronized(KoinPlatformTools.kt:36)
at org.koin.core.instance.SingleInstanceFactory.get(SingleInstanceFactory.kt:53)
at org.koin.core.registry.InstanceRegistry.createEagerInstances(InstanceRegistry.kt:91)
at org.koin.core.registry.InstanceRegistry.createAllEagerInstances$koin_core(InstanceRegistry.kt:62)
at org.koin.core.Koin.createEagerInstances(Koin.kt:330)
at org.koin.core.KoinApplication.createEagerInstances(KoinApplication.kt:74)
at org.koin.core.context.GlobalContext.startKoin(GlobalContext.kt:65)
at org.koin.core.context.DefaultContextExtKt.startKoin(DefaultContextExt.kt:40)
at world.gregs.voidps.Main.preload(Main.kt:82)
at world.gregs.voidps.Main.main(Main.kt:50)
This is a generic error in the preload step in setup. Scroll down for the real error.
> Kotlin could not find the required JDK tools in the Java installation. Make sure Kotlin compilation is running on a JDK, not JRE.
Open the gradle.properties
file, remove the hash from the first line and replace the directory with the location of your JDK installation.
org.gradle.java.home=C:/Users/Greg/.jdks/openjdk-19.0.1/
File | Project Structure | Project Settings | Project
SDK:
and Language level:
are set to a valid jdk (19+)
View | Tool Windows | Gradle
(also the elephant icon on the right-hand bar)
Press the Reload All Gradle Project
button.
Important
If you have tried all of the above steps and still are having problems please create a New Issue with the problem described, what you have tried, and any errors or logs you have and I'll try to help you out.