WorldEdit

WorldEdit

43M Downloads

NullPointerException

LadyCailinBot opened this issue ยท 4 comments

commented

WORLDEDIT-2469 - Reported by Lightning

-- Version Info

WorldEdit: 5.4.6-TEMPFIX (http://youtrack.sk89q.com/issue/WORLDEDIT-2375)

CraftBukkit: Build 2531 (http://dl.bukkit.org/downloads/craftbukkit/view/01678_1.4.5-R0.3/)

-- Log

2012-12-15 18:59:31 [INFO] hoffnung_stark issued server command: //schematic list
2012-12-15 18:59:31 [SEVERE] java.lang.NullPointerException
2012-12-15 18:59:31 [SEVERE] at com.sk89q.worldedit.commands.SchematicCommands.list(SchematicCommands.java:218)
2012-12-15 18:59:31 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-12-15 18:59:31 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2012-12-15 18:59:31 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2012-12-15 18:59:31 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:601)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:522)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.worldedit.WorldEdit$1.invokeMethod(WorldEdit.java:240)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.worldedit.WorldEdit$1.invokeMethod(WorldEdit.java:171)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:509)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:464)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:425)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.worldedit.WorldEdit.handleCommand(WorldEdit.java:1338)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:197)
2012-12-15 18:59:31 [SEVERE] at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:52)
2012-12-15 18:59:31 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
2012-12-15 18:59:31 [SEVERE] at org.bukkit.craftbukkit.v1_4_5.CraftServer.dispatchCommand(CraftServer.java:502)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.NetServerHandler.handleCommand(NetServerHandler.java:988)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.NetServerHandler.chat(NetServerHandler.java:906)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.NetServerHandler.a(NetServerHandler.java:861)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.Packet3Chat.handle(Packet3Chat.java:44)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.NetworkManager.b(NetworkManager.java:290)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.NetServerHandler.d(NetServerHandler.java:113)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.ServerConnection.b(SourceFile:39)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.DedicatedServerConnection.b(SourceFile:30)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:597)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:222)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:493)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:426)
2012-12-15 18:59:31 [SEVERE] at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856)

commented

Comment by wizjany

config? i would guess invalid schematic directory

commented

Comment by Lightning

No any changes in config, created by plugin.

limits:
max-blocks-changed:
default: -1
maximum: -1
max-polygonal-points:
default: -1
maximum: 20
max-radius: -1
max-super-pickaxe-size: 5
max-brush-radius: 5
butcher-radius:
default: -1
maximum: -1
disallowed-blocks: [6, 7, 14, 15, 16, 26, 27, 28, 29, 39, 31, 32, 33, 34, 36, 37, 38, 39, 40, 46, 50, 51, 56, 59, 69, 73, 74, 75, 76, 77, 81, 83]

use-inventory:
enable: false
allow-override: true

logging:
log-commands: false
file: worldedit.log

super-pickaxe:
drop-items: true
many-drop-items: false

snapshots:
directory:

navigation-wand:
item: 345
max-distance: 100

scripting:
timeout: 3000
dir: craftscripts

saving:
dir: schematics

history:
size: 15
expiration: 10

wand-item: 271
shell-save-type:
no-double-slash: false
no-op-permissions: false
debug: false

commented

Comment by wizjany

this happens out of the box?
my second guess would be a dumb programming error, if you select a region and save it (//schem save mce) ), does the error still happen when you //schem list?

commented

Comment by wizjany

Ok, first guess was right, this happens "If this abstract pathname does not denote a directory". Fixed in dev builds.