A new CraftBukkit Recommended Build (1.1-R3) that fixes bugs present in either Minecraft 1.1 or our previous Recommended Build is now available. Will plugins break with this build? Provided the developers of the plugins you are using are keeping up with the development of Bukkit, all your plugins should work fine. Important notice for game server providers and other plugins or individuals that are making use of our RB RSS feed: We're currently in the process of developing a new download site service to replace the unwieldy Jenkins setup we've been using since the project's inception. See our recent announcement here for more information on this initiative. As a result, anyone making use of our old RB RSS feed will need to update their systems accordingly when we have the new system ready. Until then, we're providing a grace period for people to switch over so consider this a heads up. Upgrading to this new Recommended Build is highly recommended as it contains numerous (critical) exploit and bug fixes. For those of you running an older 1.1 Recommended Build, please update immediately as we've addressed issues found in our previous Recommended Builds. For more detailed information on what is contained in this update, please see the Recommended Build announcement thread here: http://goo.gl/FBWDg Download CraftBukkit 1.1-R3 here
WOW, lucky me we havn't had any trouble. Good job with the fast response. I did notice some rather important looking change notes in the CI, didn't realize it was this critical. (glad CI is back up, I love reading about the step-by-step progress).
I've had this problem since v1.1 R1 and it's still here in R3 Code: 16:41:20 [SEVERE] Could not pass event org.bukkit.event.player.PlayerInteractEvent to PropertyControl org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:187) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:283) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.reflect.InvocationTargetException 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:616) at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024) ... 12 more Caused by: java.lang.ArrayIndexOutOfBoundsException Short version: The system doesn't realize my PlayerInteractEvent is a PlayerInteractEvent. Why, and how to fix this? I've tried to add "event = PlayerInteractEvent.class", but this doesn't even seem possible to add in @EventHandler. Only priority seems to work. This is the code of my PlayerInteractEvent if that can help (I suppose not.. :3) Code: @EventHandler(priority = EventPriority.HIGH) public final void onPlayerInteract(final PlayerInteractEvent event) { if (!event.getPlayer().hasPermission("propertycontrol.create") || !check(event.getPlayer())) { return; } if (!(this.plugin.getSetting(null, event.getPlayer().getWorld().getName()) == null || this.plugin.getSetting(null, event.getPlayer().getWorld().getName()).getValue().equalsIgnoreCase("enable"))) { return; } if (this.plugin.getCreation(event.getPlayer()) == null) { this.plugin.getCreations().add(new Creation(this.plugin, this.plugin.getProperties().get(this.plugin.getProperties().size()-1).getID()+1, event.getPlayer())); } final Creation creation = this.plugin.getCreation(event.getPlayer()); final Action action = event.getAction(); final Location click = event.getClickedBlock().getLocation(); if (action.equals(Action.RIGHT_CLICK_AIR)) { creation.remove(); this.setTop = true; this.setFirst = true; event.getPlayer().sendMessage("§eProperty creation has been reset."); } else if (action.equals(Action.RIGHT_CLICK_BLOCK)) { final boolean first = this.setFirst || creation.getPoint(true) == null; creation.setPoint(click, first); event.getPlayer().sendMessage("§ePoint "+((first)?1:2)+" set to §3"+click.getBlockX()+"§e, §3"+click.getBlockZ()+"§e."); this.setFirst = !this.setFirst; } else if (action.equals(Action.LEFT_CLICK_BLOCK)) { final boolean top = (this.setTop && click.getBlockY() > creation.getHeight(false)) || click.getBlockY() > creation.getHeight(true); creation.setHeight(click.getBlockY(), top); event.getPlayer().sendMessage("§e"+((top)?"Top":"Bottom")+" set to §3"+click.getBlockY()+"§e."); this.setTop = !top; } } What really bothers me is that nobody even replied to my bug report here. I understand the possibility of this not being a bug, even so, why doesn't anyone seem to care? I see this as a potential breakdown of Bukkit, or lack of documentation of the new Event system. Here is the full listener: CreationListener.java - I also realize I've added at least two different listeners (if we think about the old system), but from what I understand, this shouldn't be a problem. Please correct me if I'm wrong, or say that this is going to be added/fixed. Thanks.
You stopped just before the interesting part of the stack trace: Caused by: java.lang.ArrayIndexOutOfBoundsException
1846 Here's a little script I wrote to help me check the versions from the jar files. Code: #!/bin/sh FILE=$1 if [ -f "$FILE" ]; then VERSION=`unzip -p $FILE META-INF/MANIFEST.MF|grep Implementation-Version| sed 's/^.*-b//g'|sed 's/jnks//g'` echo "VERSION: $VERSION" else echo "Usage: $0 <JAR FILE>" fi $ ./chkcb-version.sh craftbukkit-1.1-R3.jar VERSION: 1846
Said the guy with the most obvious name.. Also, it's a skin as far as I can tell. No, that's where the error stops.
Also getting this. Any devs have info on this or have checked his bug report? https://bukkit.atlassian.net/browse/BUKKIT-652 Edit: I also see this running the plugin 'jail'. Some people are jailed fine while others throw that error. Not asking anyone to fix that plugin as its out of date but just another example that this error started in 1.1 RB
Hey I'm having a problem with the download link above. Your link says "download -R3" but when i click on it it goes into trying to download "-R1" which I have already downloaded and my server says it is still out of date... My server has been down since the new Language update, because I don't know how to get the newer version of Bukkit, since the link won't take me to the right place.
Use this link: http://repo.bukkit.org/content/groups/public/org/bukkit/craftbukkit/1.1-R3/ You will find the craftbukkit-1.1-R3.jar there - this is the latest recommended build.
Thank you for the help TnT! I'll try this one out. the link at the top of this thread took me to R1. but that one there got me the R3. Thanks