Error when placing Ore Block #50


  • New
  • Defect
Open
Assigned to axeldios
  • _ForgeUser9071252 created this issue Aug 18, 2013

    What steps will reproduce the problem?
    1. Place a stone

    What is the expected output? What do you see instead?
    Expect to create a region, which it does, but gives the error message pasted below.

    As I test i am creating a region as typing this.
    Placed a Coal Ore, it created ps-39x64y215z, with correct flags/enter/exit messages.
    My players started saying that they were not getting the enter/exit messages anymore. I traced it to a server restart.
    Everytime the server restarts, it deletes the region.
    Saved/restarted the server, and the region mentioned above is now gone. not in the /rg list, or standing in the region and doing /rg info. Nothing listed.

    What version of the product are you using?
    v1.9b
    1.6.2 CB Beta Build

    Do you have an error log of what happened?

    22:08:13 [SEVERE] Could not pass event BlockPlaceEvent to ProtectionStones v1.9b

    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:427)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:462)
            at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callBlockPlace
    Event(CraftEventFactory.java:112)
            at net.minecraft.server.v1_6_R2.ItemBlock.processBlockPlace(ItemBlock.ja
    va:89)
            at net.minecraft.server.v1_6_R2.ItemBlock.interactWith(ItemBlock.java:73
    )
            at net.minecraft.server.v1_6_R2.ItemStack.placeItem(ItemStack.java:79)
            at net.minecraft.server.v1_6_R2.PlayerInteractManager.interact(PlayerInt
    eractManager.java:389)
            at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java
    :628)
            at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58)
            at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296
    )
            at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java
    :116)
            at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
            at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:3
    0)
            at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:5
    90)
            at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:2
    26)
            at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:4
    86)
            at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java
    :419)
            at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5
    82)
    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java
    .lang.Enum
            at com.sk89q.worldguard.protection.flags.EnumFlag.marshal(EnumFlag.java:
    29)
            at com.sk89q.worldguard.protection.flags.SetFlag.marshal(SetFlag.java:85
    )
            at com.sk89q.worldguard.protection.flags.SetFlag.marshal(SetFlag.java:36
    )
            at com.sk89q.worldguard.protection.databases.YAMLDatabase.addMarshalledF
    lag(YAMLDatabase.java:280)
            at com.sk89q.worldguard.protection.databases.YAMLDatabase.getFlagData(YA
    MLDatabase.java:268)
            at com.sk89q.worldguard.protection.databases.YAMLDatabase.save(YAMLDatab
    ase.java:240)
            at com.sk89q.worldguard.protection.databases.AbstractProtectionDatabase.
    save(AbstractProtectionDatabase.java:43)
            at com.sk89q.worldguard.protection.managers.RegionManager.save(RegionMan
    ager.java:69)
            at com.axeldios.ProtectionStones.ProtectionStonesBlockListener.onBlockPl
    ace(ProtectionStonesBlockListener.java:306)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:425)
            ... 19 more

  • _ForgeUser9071252 added the tags New Defect Aug 18, 2013
  • AxelDios posted a comment Aug 18, 2013

    Sounds like WorldGuard isn't saving the region to it's file from memory, if they show after you place the PS but not during a server restart.

    First of all I need to know the versions of Bukkit (full built version numbers), WorldGuard, WorldEdit, and ProtectionStones.

    Also how is the restart being done, I've see hosting company's that forcible stop servers and restart them, and in the long run end up having lots of map and region corruption.

  • _ForgeUser9071252 posted a comment Aug 19, 2013

    @AxelDios: Go

    Bukkit 1.6.2-R0.1 (Build #02838)

    WorldGuard 5.8

    WorldEdit version 5.5.7

    ProtectionStones v1.9b

    I host the server myself, so it only shuts down when I tell it to. /save-all - /stop. It also autosaves every 5 minutes.

    Thx for the quick response.


To post a comment, please login or register a new account.