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

Spell error #354

Open
riddle opened this issue Mar 1, 2015 · 19 comments
Open

Spell error #354

riddle opened this issue Mar 1, 2015 · 19 comments

Comments

@riddle
Copy link
Member

riddle commented Mar 1, 2015

19:01:31 [ERROR] Could not pass event PlayerInteractEntityEvent to Mantle v1.2.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1268) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:52) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:11) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
Caused by: java.lang.NullPointerException
at us.corenetwork.mantle.spellbooks.Spellbook.activate(Spellbook.java:86) ~[?:?]
at us.corenetwork.mantle.spellbooks.SpellbooksListener.onPlayerInteractEntity(SpellbooksListener.java:27) ~[?:?]
at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
... 14 more

Ginaw noticed it in console, I don’t have more details.

@riddle riddle added the ↪bug label Mar 1, 2015
matejdro added a commit that referenced this issue Mar 1, 2015
@matejdro
Copy link
Contributor

matejdro commented Mar 1, 2015

Not exactly sure what caused this. I made possible fix, reopen if it happens again.

@matejdro matejdro closed this as completed Mar 1, 2015
@riddle
Copy link
Member Author

riddle commented Mar 7, 2015

13:25:50 [ERROR] Could not pass event PlayerInteractEntityEvent to Mantle v1.2.0
org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1268) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:52) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:11) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25]
        at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
Caused by: java.lang.NullPointerException
        at us.corenetwork.mantle.spellbooks.Spellbook.activate(Spellbook.java:86) ~[?:?]
        at us.corenetwork.mantle.spellbooks.SpellbooksListener.onPlayerInteractEntity(SpellbooksListener.java:27) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
        at org.bukkit.

@riddle riddle reopened this Mar 7, 2015
@riddle riddle added the Spells label Mar 10, 2015
@matejdro
Copy link
Contributor

matejdro commented Apr 7, 2015

Anything above? From what I saw this means something is wrong with required item config, but it should display reason before error.

@riddle
Copy link
Member Author

riddle commented Apr 7, 2015

All 5 cases of this in logs don’t have anything above.

screen shot 2015-04-07 at 19 23 29

@riddle
Copy link
Member Author

riddle commented Apr 7, 2015

19:00:01 [INFO] [LagMeter] Entities in world "world": 3199�[m
19:00:01 [INFO] [LagMeter] Entities in world "world_nether": 242�[m
19:00:01 [INFO] [LagMeter] Entities in world "world_the_end": 96�[m
19:00:01 [INFO] [LagMeter] Total entities: 3537�[m
19:00:01 [INFO] [LagMeter] Chunks in world "world": 4307�[m
19:00:01 [INFO] [LagMeter] Chunks in world "world_nether": 289�[m
19:00:01 [INFO] [LagMeter] Chunks in world "world_the_end": 441�[m
19:00:01 [INFO] [LagMeter] Total chunks loaded on the server: 5037�[m
19:00:01 [INFO] [LagMeter] [####################] 20.00 TPS�[m
19:00:01 [INFO] [LagMeter] [##################__] 15,598.97MB/18,204.50MB (85.69%) free�[m
19:00:01 [INFO] [LagMeter] Players online: 18�[m
19:00:01 [INFO] World:world, Chunks:4307, Players:28�[m
19:00:01 [INFO] M:253/252, A:74/336, W:0/84, Am:0/0, V:0/336�[m
19:00:01 [INFO] World:world_the_end, Chunks:441, Players:3�[m
19:00:01 [INFO] M:0/25, A:0/34, W:0/8, Am:0/0, V:0/34�[m
19:00:01 [INFO] World:world_nether, Chunks:289, Players:13�[m
19:00:01 [INFO] M:16/16, A:0/0, W:0/0, Am:0/0, V:0/0�[m
19:00:01 [INFO] Totals - Worlds:3, Chunks:5037, Players:18�[m
19:00:01 [INFO] M:269/293, A:74/370, W:0/92, Am:0/0, V:0/370 T:343/1125�[m
19:00:01 [INFO] Players online (18/80): geekhideout, SQUIRLz, Eudaemonea, inasm, 0hsaka, Roff01, Krostybat, siphtron, megachirops, Disapproval, ghowardtx, icevin, S3f3r4n, wyrdone, Pyrrhic_Victory, lubkin, ✸ Spctr, hannahbanana�[m
19:00:01 [INFO] Saving...
19:00:01 [INFO] [TradeCraft] Tradecraft saved. 0 things saved.�[m
19:00:01 [INFO] Saved the world
19:00:05 [INFO] <-F> lubkin++: ty <3�[m
19:00:09 [INFO] [Mantle] Player megachirops used spell of Peddling in world at 4036, 4, 110�[m
19:00:12 [INFO] Krostybat issued server command: /r thanks for the iron ;)
19:00:15 [INFO] <-F> ghowardtx+: are you exploring again, lub?�[m
19:00:17 [INFO] lubkin issued server command: /r anytime <3
19:00:22 [INFO] <-F> lubkin++: a bit ;)�[m
19:00:36 [INFO] lubkin issued server command: /r your squid farm is amazing, lol
19:00:41 [INFO] <-F> ghowardtx+: living that nomad life�[m
19:00:51 [INFO] Krostybat issued server command: /r yeah but it's not working...
19:01:01 [INFO] [Mantle] Player megachirops used spell of Peddling in world at 4036, 4, 110�[m
19:01:01 [INFO] [Mantle] Player geekhideout used spell of Peddling in world at -2086, 87, 3013�[m
19:01:03 [INFO] Krostybat issued server command: /r don't know why and don't really care
19:01:06 [INFO] [Mantle] Checking structure Villages around -2240 5056�[m
19:01:15 [INFO] [Mantle] Restored!�[m
19:01:22 [INFO] lubkin issued server command: /r i did my signs like that at first and it didnt work either
19:01:31 [ERROR] Could not pass event PlayerInteractEntityEvent to Mantle v1.2.0
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1268) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:52) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:11) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25]
    at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
Caused by: java.lang.NullPointerException
    at us.corenetwork.mantle.spellbooks.Spellbook.activate(Spellbook.java:86) ~[?:?]
    at us.corenetwork.mantle.spellbooks.SpellbooksListener.onPlayerInteractEntity(SpellbooksListener.java:27) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
    at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot-1.8-dev.jar:git-Spigot-35348a5-ee6d0fa]
    ... 14 more
19:01:39 [INFO] lubkin issued server command: /r ill send you a ss of my new placement when i get back if you want
19:01:43 [INFO] SQUIRLz issued server command: /unprotect
19:01:43 [INFO] [Mantle] Player megachirops used spell of Peddling in world at 4036, 4, 110�[m
19:01:45 [INFO] <-F> wyrdone+++: Speaking of time spells.�[m
19:01:45 [INFO] [Mantle] Player wyrdone used spell of Time in world at 40, 4, 2013�[m
19:01:49 [INFO] Krostybat issued server command: /r a ss ?

@riddle
Copy link
Member Author

riddle commented Apr 7, 2015

Spell of Peddling mentioned above is isolated only to this one chat log, nothing in 4 other cases.

@matejdro
Copy link
Contributor

matejdro commented Apr 7, 2015

@eliadil
Copy link
Contributor

eliadil commented Apr 8, 2015

Is the error above recent? When this issue was created line 86 was something else.

@riddle
Copy link
Member Author

riddle commented Apr 8, 2015

Those errors stopped at 24th of March as you can see above. We can close it and reopen if we ever see it again?

@matejdro
Copy link
Contributor

matejdro commented Apr 8, 2015

Check riddle's screenshot above, last error was 24th march. I don't think we changed spells in that time.

@eliadil
Copy link
Contributor

eliadil commented Apr 8, 2015

Ive seen the screen, but is th e pasted error from 24th or is it earlier one.

@matejdro
Copy link
Contributor

matejdro commented Apr 8, 2015

@riddle I wouldn't say it is gone. Based on your screenshot it looks like error is very rare (occurring every few weeks), so it simply hasn't occurred yet since 24th.

@eliadil
Copy link
Contributor

eliadil commented Apr 8, 2015

Oh look, an error from 24th

01:03:15 [ERROR] Could not pass event PlayerInteractEntityEvent to Mantle v1.2.0
org.bukkit.event.EventException
...
Caused by: java.lang.NullPointerException
    at us.corenetwork.mantle.spellbooks.Spellbook.activate(Spellbook.java:110) ~[?:?]
...

-.-

@eliadil
Copy link
Contributor

eliadil commented Apr 8, 2015

Maybe it happens when the nbt on the item (days left) is updated?

@matejdro
Copy link
Contributor

matejdro commented Apr 8, 2015

NBT updating has nothing to do with it (it is handled only serverside).

Your new error points to item in hand being null. But how can that happen if player just used the book (which is in his hand)?

@eliadil
Copy link
Contributor

eliadil commented Apr 8, 2015

How is it only server side if text on my book changes from time to time..? Something changes, item changes.

@matejdro
Copy link
Contributor

matejdro commented Apr 8, 2015

Oops I meant clientside.

@eliadil
Copy link
Contributor

eliadil commented Apr 8, 2015

But the text is decided by the server. So its both.

@matejdro
Copy link
Contributor

matejdro commented Apr 8, 2015

Yeah but it is decided via ProtocolLib so technically we never operate with dynamic day item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants