Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue] 文件夹中存在空格无法加载 #436

Open
2 tasks done
konsheng opened this issue Aug 27, 2024 · 1 comment
Open
2 tasks done

[issue] 文件夹中存在空格无法加载 #436

konsheng opened this issue Aug 27, 2024 · 1 comment
Labels
Bug | 漏洞 需要修复的错误

Comments

@konsheng
Copy link

konsheng commented Aug 27, 2024

Whether the latest version has been tried

  • I have updated TrChat to the latest version, and the issue is also reproduced.

Have you checked the Wiki

  • I have checked the Wiki for this problem and determined that the problem exists.

Detailed description

[15:14:27 ERROR]: [ModernPluginLoadingStrategy] Could not load plugin 'TrChat-2.2.0-beta1.jar' in folder 'plugins.paper-remapped'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:129) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:550) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:296) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1214) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method) ~[?:?]
at java.base/java.lang.Class.forName(Class.java:534) ~[?:?]
at java.base/java.lang.Class.forName(Class.java:513) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:78) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:125) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
... 9 more
Caused by: java.io.FileNotFoundException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:542) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:670) ~[?:?]
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160) ~[?:?]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) ~[?:?]
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:765) ~[?:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.getClasses(ClassVisitorHandler.java:74) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.platform.PlatformFactory.init$lambda$4(PlatformFactory.kt:38) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.TabooLib$2.run(TabooLib.java:112) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.TabooLib.lifeCycle(TabooLib.java:81) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.platform.BukkitPlugin.(BukkitPlugin.java:52) ~[TrChat-2.2.0-beta1.jar:?]
at java.base/java.lang.Class.forName0(Native Method) ~[?:?]
at java.base/java.lang.Class.forName(Class.java:534) ~[?:?]
at java.base/java.lang.Class.forName(Class.java:513) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:78) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:125) ~[leaves-1.21.1.jar:1.21.1-53-595afb8]
... 9 more
Caused by: java.io.FileNotFoundException: C:\Users\空神\Desktop\Server\本地测试\ser1**%20**123\plugins.paper-remapped\TrChat-2.2.0-beta1.jar (系统找不到指定的路径。)
at java.base/java.io.FileInputStream.open0(Native Method) ~[?:?]
at java.base/java.io.FileInputStream.open(FileInputStream.java:213) ~[?:?]
at java.base/java.io.FileInputStream.(FileInputStream.java:152) ~[?:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.io.FileDigestKt.digest(FileDigest.kt:28) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.io.ProjectScannerKt$runningSignature$2.invoke(ProjectScanner.kt:141) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.io.ProjectScannerKt$runningSignature$2.invoke(ProjectScanner.kt:129) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/kotlin1822.UnsafeLazyImpl.getValue(Lazy.kt:81) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.io.ProjectScannerKt.getRunningSignature(ProjectScanner.kt:129) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.io.ProjectScannerKt$classMarkers$2.invoke(ProjectScanner.kt:164) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.io.ProjectScannerKt$classMarkers$2.invoke(ProjectScanner.kt:163) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/kotlin1822.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.io.ProjectScannerKt.getClassMarkers(ProjectScanner.kt:163) ~[TrChat-2.2.0-beta1.jar:?]
at TrChat-2.2.0-beta1.jar/me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.lambda$getClasses$2(ClassVisitorHandler.java:77) ~[TrChat-2.2.0-beta1.jar:?]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:?]
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) ~[?:?]
at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?]

文件夹中存在空格无法加载以上错误
如果路径中存在下划线则出现以下错误

[15:39:06 WARN]: me.arasple.mc.trchat.taboolib.common.inject.ClassVisitException: class me.arasple.mc.trchat.taboolib.module.lang.Language#reload: VisitorGroup{priority=0, list=[AwakeFunction(lifeCycle=NONE), AwakeFunction(lifeCycle=CONST), AwakeFunction(lifeCycle=INIT), AwakeFunction(lifeCycle=LOAD), AwakeFunction(lifeCycle=ENABLE), AwakeFunction(lifeCycle=ACTIVE), AwakeFunction(lifeCycle=DISABLE)]} (INIT)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:206)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.inject(ClassVisitorHandler.java:173)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.injectAll(ClassVisitorHandler.java:135)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.lambda$init$0(ClassVisitorHandler.java:47)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib$2.run(TabooLib.java:112)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib.lifeCycle(TabooLib.java:81)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.platform.BukkitPlugin.(BukkitPlugin.java:64)
[15:39:06 WARN]: at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
[15:39:06 WARN]: at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
[15:39:06 WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
[15:39:06 WARN]: at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:98)
[15:39:06 WARN]: at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:125)
[15:39:06 WARN]: at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35)
[15:39:06 WARN]: at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116)
[15:39:06 WARN]: at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38)
[15:39:06 WARN]: at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40)
[15:39:06 WARN]: at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:550)
[15:39:06 WARN]: at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:296)
[15:39:06 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1214)
[15:39:06 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325)
[15:39:06 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:39:06 WARN]: Caused by: java.lang.NoClassDefFoundError: com/electronwill/nightconfig_3_6_7/core/ConfigFormat
[15:39:06 WARN]: at java.base/java.lang.ClassLoader.defineClass1(Native Method)
[15:39:06 WARN]: at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1027)
[15:39:06 WARN]: at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
[15:39:06 WARN]: at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
[15:39:06 WARN]: at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
[15:39:06 WARN]: at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
[15:39:06 WARN]: at java.base/java.security.AccessController.doPrivileged(AccessController.java:714)
[15:39:06 WARN]: at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
[15:39:06 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:247)
[15:39:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
[15:39:06 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:169)
[15:39:06 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164)
[15:39:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.module.configuration.Type$1.invoke(Type.kt:18)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.module.configuration.Type$1.invoke(Type.kt:18)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.module.configuration.Type.newFormat(Type.kt:29)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.module.configuration.Configuration$Companion.loadFromString(Configuration.kt:148)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.module.configuration.Configuration$Companion.loadFromString$default(Configuration.kt:147)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.module.lang.ResourceReader.(ResourceReader.kt:40)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.module.lang.ResourceReader.(ResourceReader.kt:27)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.module.lang.Language.reload(Language.kt:136)
[15:39:06 WARN]: at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.library.reflex.JavaClassMethod.invoke(JavaClassMethod.kt:31)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.AwakeFunction.visit(AwakeFunction.kt:13)
[15:39:06 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:204)
[15:39:06 WARN]: ... 20 more
[15:39:06 WARN]: Caused by: java.lang.ClassNotFoundException: com.electronwill.nightconfig_3_6_7.core.ConfigFormat
[15:39:06 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197)
[15:39:06 WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164)
[15:39:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[15:39:06 WARN]: ... 45 more
[15:39:06 INFO]: [PlaceholderAPI] Loading server plugin PlaceholderAPI v2.11.6
[15:39:06 INFO]: [TrChat] Loading server plugin TrChat v2.2.0-beta1
[15:39:06 INFO]: [TrChat-2.2.0-beta1.jar] [DEBUG] LifeCycle: LOAD
[15:39:06 INFO]: Server permissions file permissions.yml is empty, ignoring it
[15:39:06 WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[15:39:06 WARN]: The server will make no attempt to authenticate usernames. Beware.
[15:39:06 WARN]: Whilst this makes it possible to use Velocity, unless access to your server is properly restricted, it also opens up the ability for hackers to connect with any username they choose.
[15:39:06 WARN]: Please see https://docs.papermc.io/velocity/security for further information.
[15:39:06 WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[15:39:06 INFO]: Preparing level "world"
[15:39:06 INFO]: Preparing start region for dimension minecraft:overworld
[15:39:07 INFO]: Time elapsed: 928 ms
[15:39:07 INFO]: Preparing start region for dimension minecraft:the_nether
[15:39:07 INFO]: Time elapsed: 86 ms
[15:39:07 INFO]: Preparing start region for dimension minecraft:the_end
[15:39:07 INFO]: Time elapsed: 52 ms
[15:39:07 INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.11.6
[15:39:08 INFO]: [PlaceholderAPI] Fetching available expansion information...
[15:39:08 INFO]: [TrChat] Enabling TrChat v2.2.0-beta1
[15:39:08 INFO]: [TrChat-2.2.0-beta1.jar] [DEBUG] LifeCycle: ENABLE
[15:39:08 WARN]: me.arasple.mc.trchat.taboolib.common.inject.ClassVisitException: class me.arasple.mc.trchat.module.internal.command.main.CommandViews#register: VisitorGroup{priority=0, list=[AwakeFunction(lifeCycle=NONE), AwakeFunction(lifeCycle=CONST), AwakeFunction(lifeCycle=INIT), AwakeFunction(lifeCycle=LOAD), AwakeFunction(lifeCycle=ENABLE), AwakeFunction(lifeCycle=ACTIVE), AwakeFunction(lifeCycle=DISABLE)]} (ENABLE)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:206)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.inject(ClassVisitorHandler.java:173)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.injectAll(ClassVisitorHandler.java:135)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.lambda$init$0(ClassVisitorHandler.java:47)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib$2.run(TabooLib.java:112)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib.lifeCycle(TabooLib.java:81)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.platform.BukkitPlugin.onEnable(BukkitPlugin.java:80)
[15:39:08 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288)
[15:39:08 WARN]: at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202)
[15:39:08 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109)
[15:39:08 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520)
[15:39:08 WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:644)
[15:39:08 WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:593)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:752)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:511)
[15:39:08 WARN]: at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:333)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1214)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325)
[15:39:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:39:08 WARN]: Caused by: kotlin1822.UninitializedPropertyAccessException: lateinit property conf has not been initialized
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.module.conf.file.Settings.getConf(Settings.kt:24)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.module.internal.command.main.CommandViews.register(CommandViews.kt:29)
[15:39:08 WARN]: at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.library.reflex.JavaClassMethod.invoke(JavaClassMethod.kt:31)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.AwakeFunction.visit(AwakeFunction.kt:13)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:204)
[15:39:08 WARN]: ... 18 more
[15:39:08 WARN]: me.arasple.mc.trchat.taboolib.common.inject.ClassVisitException: class me.arasple.mc.trchat.module.internal.command.main.CommandChannel#register: VisitorGroup{priority=0, list=[AwakeFunction(lifeCycle=NONE), AwakeFunction(lifeCycle=CONST), AwakeFunction(lifeCycle=INIT), AwakeFunction(lifeCycle=LOAD), AwakeFunction(lifeCycle=ENABLE), AwakeFunction(lifeCycle=ACTIVE), AwakeFunction(lifeCycle=DISABLE)]} (ENABLE)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:206)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.inject(ClassVisitorHandler.java:173)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.injectAll(ClassVisitorHandler.java:135)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.lambda$init$0(ClassVisitorHandler.java:47)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib$2.run(TabooLib.java:112)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib.lifeCycle(TabooLib.java:81)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.platform.BukkitPlugin.onEnable(BukkitPlugin.java:80)
[15:39:08 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288)
[15:39:08 WARN]: at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202)
[15:39:08 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109)
[15:39:08 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520)
[15:39:08 WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:644)
[15:39:08 WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:593)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:752)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:511)
[15:39:08 WARN]: at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:333)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1214)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325)
[15:39:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:39:08 WARN]: Caused by: kotlin1822.UninitializedPropertyAccessException: lateinit property conf has not been initialized
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.module.conf.file.Settings.getConf(Settings.kt:24)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.module.internal.command.main.CommandChannel.register(CommandChannel.kt:23)
[15:39:08 WARN]: at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.library.reflex.JavaClassMethod.invoke(JavaClassMethod.kt:31)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.AwakeFunction.visit(AwakeFunction.kt:13)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:204)
[15:39:08 WARN]: ... 18 more
[15:39:08 WARN]: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "o" is null
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.platform.BukkitPlugin.onEnable(BukkitPlugin.java:90)
[15:39:08 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288)
[15:39:08 WARN]: at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202)
[15:39:08 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109)
[15:39:08 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520)
[15:39:08 WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:644)
[15:39:08 WARN]: at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:593)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:752)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:511)
[15:39:08 WARN]: at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:333)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1214)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325)
[15:39:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:39:08 INFO]: [spark] Starting background profiler...
[15:39:08 INFO]: [spark] The async-profiler engine is not supported for your os/arch (windows11/amd64), so the built-in Java engine will be used instead.
[15:39:08 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[15:39:08 INFO]: 0 placeholder hook(s) registered!
[15:39:08 INFO]: Done preparing level "world" (2.183s)
[15:39:08 INFO]: Running delayed init tasks
[15:39:08 INFO]: [TrChat-2.2.0-beta1.jar] [DEBUG] LifeCycle: ACTIVE
[15:39:08 WARN]: me.arasple.mc.trchat.taboolib.common.inject.ClassVisitException: class me.arasple.mc.trchat.module.internal.service.Metrics#init$common: VisitorGroup{priority=0, list=[AwakeFunction(lifeCycle=NONE), AwakeFunction(lifeCycle=CONST), AwakeFunction(lifeCycle=INIT), AwakeFunction(lifeCycle=LOAD), AwakeFunction(lifeCycle=ENABLE), AwakeFunction(lifeCycle=ACTIVE), AwakeFunction(lifeCycle=DISABLE)]} (ACTIVE)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:206)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.inject(ClassVisitorHandler.java:173)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.injectAll(ClassVisitorHandler.java:135)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.lambda$init$0(ClassVisitorHandler.java:47)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib$2.run(TabooLib.java:112)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib.lifeCycle(TabooLib.java:81)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.platform.BukkitPlugin.invokeActive(BukkitPlugin.java:155)
[15:39:08 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:79)
[15:39:08 WARN]: at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:476)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1225)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325)
[15:39:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:39:08 WARN]: Caused by: java.lang.IllegalStateException: Service (me.arasple.mc.trchat.taboolib.common.platform.service.PlatformIO) not found, currently: []
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.PlatformFactory.getService(PlatformFactory.kt:143)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.module.internal.service.Metrics.init$common(Metrics.kt:51)
[15:39:08 WARN]: at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.library.reflex.JavaClassMethod.invoke(JavaClassMethod.kt:31)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.AwakeFunction.visit(AwakeFunction.kt:13)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:204)
[15:39:08 WARN]: ... 11 more
[15:39:08 WARN]: me.arasple.mc.trchat.taboolib.common.inject.ClassVisitException: class me.arasple.mc.trchat.module.internal.data.ChatLogs#writeToFile: VisitorGroup{priority=1, list=[me.arasple.mc.trchat.taboolib.common.platform.ScheduleLoader@1d32173f]} (ACTIVE)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:206)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.inject(ClassVisitorHandler.java:173)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.injectAll(ClassVisitorHandler.java:135)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.lambda$init$0(ClassVisitorHandler.java:47)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib$2.run(TabooLib.java:112)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib.lifeCycle(TabooLib.java:81)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.platform.BukkitPlugin.invokeActive(BukkitPlugin.java:155)
[15:39:08 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:79)
[15:39:08 WARN]: at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:476)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1225)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325)
[15:39:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:39:08 WARN]: Caused by: java.lang.IllegalStateException: Service (me.arasple.mc.trchat.taboolib.common.platform.service.PlatformExecutor) not found, currently: []
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.PlatformFactory.getService(PlatformFactory.kt:143)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.function.ExecutorKt.submit(Executor.kt:60)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.function.ExecutorKt.submit$default(Executor.kt:31)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.ScheduleLoader.visit(ScheduleLoader.kt:24)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:204)
[15:39:08 WARN]: ... 11 more
[15:39:08 WARN]: me.arasple.mc.trchat.taboolib.common.inject.ClassVisitException: class me.arasple.mc.trchat.module.internal.data.ChatLogs#autoDelete: VisitorGroup{priority=1, list=[me.arasple.mc.trchat.taboolib.common.platform.ScheduleLoader@1d32173f]} (ACTIVE)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:206)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.inject(ClassVisitorHandler.java:173)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.injectAll(ClassVisitorHandler.java:135)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.lambda$init$0(ClassVisitorHandler.java:47)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib$2.run(TabooLib.java:112)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.TabooLib.lifeCycle(TabooLib.java:81)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.platform.BukkitPlugin.invokeActive(BukkitPlugin.java:155)
[15:39:08 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:79)
[15:39:08 WARN]: at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:476)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1225)
[15:39:08 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325)
[15:39:08 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[15:39:08 WARN]: Caused by: java.lang.IllegalStateException: Service (me.arasple.mc.trchat.taboolib.common.platform.service.PlatformExecutor) not found, currently: []
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.PlatformFactory.getService(PlatformFactory.kt:143)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.function.ExecutorKt.submit(Executor.kt:60)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.function.ExecutorKt.submit$default(Executor.kt:31)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.platform.ScheduleLoader.visit(ScheduleLoader.kt:24)
[15:39:08 WARN]: at TrChat-2.2.0-beta1.jar//me.arasple.mc.trchat.taboolib.common.inject.ClassVisitorHandler.visitMethod(ClassVisitorHandler.java:204)
[15:39:08 WARN]: ... 11 more
[15:39:08 INFO]: Done (17.408s)! For help, type "help"

@konsheng konsheng added the Bug | 漏洞 需要修复的错误 label Aug 27, 2024
@konsheng konsheng changed the title [issue] 插件无法识别文件夹路径中的空格 [issue] 文件夹中存在空格无法加载 Aug 27, 2024
@ItsFlicker
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug | 漏洞 需要修复的错误
Projects
None yet
Development

No branches or pull requests

5 participants
@ItsFlicker @konsheng and others