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

Server crash with .9.9 and 2.0.2 - setting path #30

Closed
rossyell opened this issue Sep 17, 2012 · 5 comments
Closed

Server crash with .9.9 and 2.0.2 - setting path #30

rossyell opened this issue Sep 17, 2012 · 5 comments

Comments

@rossyell
Copy link

The below crash reguarly occuring with the server using using the latest version of everything while trying to set/ edit path Still something wrong with the path editor - and still had my sentry dashing from one spot to the other.

Great work - and love the quick response you make.

[INFO] EpicEzzrin issued server command: /npc path
13:37:08 [SEVERE] Could not pass event PlayerInteractEvent to Citizens
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:114)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:547)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:282)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:577)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.util.IllegalFormatConversionException: d != java.lang.String
at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4023)
at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2726)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:2680)
at java.util.Formatter.format(Formatter.java:2466)
at java.util.Formatter.format(Formatter.java:2400)
at java.lang.String.format(String.java:2845)
at net.citizensnpcs.util.Messaging.getFormatted(Messaging.java:28)
at net.citizensnpcs.util.Messaging.sendF(Messaging.java:70)
at net.citizensnpcs.trait.waypoint.LinearWaypointProvider$1.onPlayerInteract(LinearWaypointProvider.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 16 more

@jrbudda
Copy link
Owner

jrbudda commented Sep 17, 2012

I've seen this a few times, its not a sentry problem per se. something in citizens2. I will take a look though.

@jrbudda
Copy link
Owner

jrbudda commented Sep 17, 2012

This appears to happen when you try to make a waypoint that is too far from the last waypoint. Something is wrong with the error message it is supposed to display.

@rossyell
Copy link
Author

Genuinely - you rock !. Thanks for looking into it.

From: jrbudda [mailto:notifications@github.com]
Sent: Monday, 17 September 2012 5:41 PM
To: jrbudda/Sentry
Cc: rossyell
Subject: Re: [Sentry] Server crash with .9.9 and 2.0.2 - setting path (#30)

This appears to happen when you try to make a waypoint that is too far from the last waypoint. Something is wrong with the error message it is supposed to display.


Reply to this email directly or view it on GitHub #30 (comment) .

https://github.com/notifications/beacon/NX1zgbtXCbmLbNOp-nszZyU1Mfc6o6aJaXsstvVnU0cc9zuU8fwSV0lOsbP-tf72.gif

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2437/5272 - Release Date: 09/16/12

@jrbudda
Copy link
Owner

jrbudda commented Sep 18, 2012

Fixed in latest citizens build.

@jrbudda jrbudda closed this as completed Sep 18, 2012
@rossyell
Copy link
Author

Thanks – have loaded up 374. No crashes – did have an issue with one of the sentries fading in and out – maybe going missing and will watch that.

Look forward to seeing how this project progresses. Once you are happy it is stable could start looking into making it work with WorldGuard – both to set boundaries that sentries will not walk out of and to set areas for sentries to protect.

Anyway – lets see how it goes.

Thanks

From: jrbudda [mailto:notifications@github.com]
Sent: Tuesday, 18 September 2012 12:25 PM
To: jrbudda/Sentry
Cc: rossyell
Subject: Re: [Sentry] Server crash with .9.9 and 2.0.2 - setting path (#30)

Fixed in latest citizens build.


Reply to this email directly or view it on GitHub #30 (comment) .

https://github.com/notifications/beacon/J6T91GIPIyhU-8ti4GCGP4DicBHawUGtzpZZeJEo3eq5H4qwVrSTQcWjtQv_Hifp.gif

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2437/5273 - Release Date: 09/17/12

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

No branches or pull requests

2 participants