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

Can't backup in windows #54

Open
Alceatraz opened this issue Feb 26, 2024 · 0 comments
Open

Can't backup in windows #54

Alceatraz opened this issue Feb 26, 2024 · 0 comments
Labels
不具合/Bug 不具合等

Comments

@Alceatraz
Copy link

Alceatraz commented Feb 26, 2024

Describe the bug/不具合の概要
Run sbp backup will cause exception.

Server/サーバー
Spigot-1.20.4 Azul-17
ScriptBlockPlus v2.2.8
Multiverse-Core v4.3.1-b861

To Reproduce/再現手順

Run command sbp backup, Will cause thise exception. Looks like the auto created path is invalid.

>sbp backup
[Server thread/INFO]: Backup of plugin data is complete.
[Server thread/WARN]: Unexpected exception while parsing console command "sbp backup"
org.bukkit.command.CommandException: Unhandled exception executing command 'sbp' in plugin ScriptBlockPlus v2.2.8
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:887) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:git-Spigot-e9ec548-98b6c1a]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchServerCommand(CraftServer.java:872) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:git-Spigot-e9ec548-98b6c1a]
        at net.minecraft.server.dedicated.DedicatedServer.bk(DedicatedServer.java:400) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:git-Spigot-e9ec548-98b6c1a]
        at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:376) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:git-Spigot-e9ec548-98b6c1a]
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1242) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:git-Spigot-e9ec548-98b6c1a]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1054) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:git-Spigot-e9ec548-98b6c1a]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:git-Spigot-e9ec548-98b6c1a]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 44: plugins\ScriptBlockPlus\backup\2024\02\26 14:37:54
        at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) ~[?:?]
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) ~[?:?]
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) ~[?:?]
        at sun.nio.fs.WindowsPath.parse(WindowsPath.java:92) ~[?:?]
        at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:232) ~[?:?]
        at java.io.File.toPath(File.java:2387) ~[?:?]
        at com.github.yuttyann.scriptblockplus.file.Backup.<init>(Backup.java:57) ~[?:?]
        at com.github.yuttyann.scriptblockplus.command.subcommand.BackupCommand.runCommand(BackupCommand.java:74) ~[?:?]
        at com.github.yuttyann.scriptblockplus.command.BaseCommand.execute(BaseCommand.java:104) ~[?:?]
        at com.github.yuttyann.scriptblockplus.command.BaseCommand.onCommand(BaseCommand.java:91) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        ... 9 more
@Alceatraz Alceatraz added the 不具合/Bug 不具合等 label Feb 26, 2024
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

1 participant