thedudeguy / JukeIt

A Bukkit plugin for Minecraft that allows you to "Burn" new music onto Music Discs and play them in the Jukeboxes.
GNU General Public License v3.0
10 stars 10 forks source link

NPE and Dynmap #115

Closed thedudeguy closed 11 years ago

thedudeguy commented 11 years ago

2012-10-13 23:28:27 [SEVERE] Error occurred while enabling JukeBukkit v2.1.0 (Is it up to date?) java.lang.NullPointerException at cc.thedudeguy.jukebukkit.JukeBukkit.onEnable(JukeBukkit.java:93) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.dynmap.bukkit.SpoutPluginBlocks.processSpoutBlocks(SpoutPluginBlocks.java:82) at org.dynmap.bukkit.DynmapPlugin$BukkitEnableCoreCallback.configurationLoaded(DynmapPlugin.java:112) at org.dynmap.DynmapCore.enableCore(DynmapCore.java:277) at org.dynmap.bukkit.DynmapPlugin.onEnable(DynmapPlugin.java:619) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:266) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:248) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

thedudeguy commented 11 years ago

Don't know what is causing this yet. I cannot replicate it personally, but have been told that JukeBukkit loads fine when disabling Dynmap.

with dynmap, bukkit cant seem to identify the command from the plugin.yml and therefore causes a failure when this.getCommand("jukebukkit") is used.

adamwbb commented 11 years ago

2012-10-15 20:08:40 [INFO] [dynmap] Detected Spout 2012-10-15 20:08:40 [INFO] [dynmap] Found Spout plugin: JukeBukkit 2012-10-15 20:08:40 [INFO] [JukeBukkit] Enabling JukeBukkit v2.1.0 2012-10-15 20:08:40 [INFO] [JukeBukkit] No Burned Discs to load. 2012-10-15 20:08:41 [SEVERE] Error occurred while enabling JukeBukkit v2.1.0 (Is it up to date?) java.lang.NullPointerException at cc.thedudeguy.jukebukkit.JukeBukkit.onEnable(JukeBukkit.java:93) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.dynmap.bukkit.SpoutPluginBlocks.processSpoutBlocks(SpoutPluginBlocks.java:82) at org.dynmap.bukkit.DynmapPlugin$BukkitEnableCoreCallback.configurationLoaded(DynmapPlugin.java:112) at org.dynmap.DynmapCore.enableCore(DynmapCore.java:277) at org.dynmap.bukkit.DynmapPlugin.onEnable(DynmapPlugin.java:619) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:266) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:248) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 2012-10-15 20:08:41 [SEVERE] [dynmap] Error loading texture for custom block 'JukeBukkit.Universal_Speaker' (1047) from speaker.png(no protocol: speaker.png) 2012-10-15 20:08:41 [INFO] [dynmap] Block JukeBukkit.Record_Player not suppored - only cubiod blocks 2012-10-15 20:08:41 [SEVERE] [dynmap] Error loading texture for custom block 'JukeBukkit.Disc_Burner' (1049) from discburner.png(no protocol: discburner.png) 2012-10-15 20:08:41 [INFO] [dynmap] Block JukeBukkit.Disc_Machine not suppored - only cubiod blocks 2012-10-15 20:08:41 [SEVERE] [dynmap] Error loading texture for custom block 'JukeBukkit.Basic_Jukebox' (1051) from jukebox_basic.png(no protocol: jukebox_basic.png) 2012-10-15 20:08:41 [SEVERE] [dynmap] Error loading texture for custom block 'JukeBukkit.Low_Range_Jukebox' (1052) from jukebox_low.png(no protocol: jukebox_low.png) 2012-10-15 20:08:41 [SEVERE] [dynmap] Error loading texture for custom block 'JukeBukkit.Mid_Range_Jukebox' (1053) from jukebox_mid.png(no protocol: jukebox_mid.png) 2012-10-15 20:08:41 [SEVERE] [dynmap] Error loading texture for custom block 'JukeBukkit.Long_Range_Jukebox' (1054) from jukebox_long.png(no protocol: jukebox_long.png) 2012-10-15 20:08:41 [SEVERE] [dynmap] Error loading texture for custom block 'JukeBukkit.Max_Range_Jukebox' (1055) from jukebox_max.png(no protocol: jukebox_max.png) 2012-10-15 20:08:41 [SEVERE] [dynmap] Error loading texture for custom block 'JukeBukkit.World_Range_Jukebox' (1056) from jukebox_world.png(no protocol: jukebox_world.png) this is what im getting in console

adamwbb commented 11 years ago

i disable Dynmap and get this 10-16 19:08:08 [INFO] [JukeBukkit] Enabling JukeBukkit v2.1.0 10-16 19:08:08 [INFO] [JukeBukkit] No Burned Discs to load. 10-16 19:08:10 [SEVERE] *\ WARNING: FreeMarker logging suppressed. 10-16 19:08:10 [SEVERE] 10-16 19:08:10.840:INFO::jetty-7.x.y-SNAPSHOT 10-16 19:08:10 [SEVERE] 10-16 19:08:10.926:INFO::Started SelectChannelConnector@0.0.0.0:9998 10-16 19:08:10 [INFO] [JukeBukkit] Web Server started on port: 9998 10-16 19:08:10 [INFO] JukeBukkit 2.1.0 loaded successfully! i can burn disk but then i cant play them i get disconnected with an internal error has occured

thedudeguy commented 11 years ago

none of those are errors. even though they say "severe" they are stating the web server started successfully basically.

the dynmap cant find texture things are because i dont use url for my textures they are sent from server, those wont effect gameplay.

[SEVERE] Error occurred while enabling JukeBukkit v2.1.0 (Is it up to date?) java.lang.NullPointerException at cc.thedudeguy.jukebukkit.JukeBukkit.onEnable(JukeBukkit.java:93)

that error is the only relevant game breaking error and if its present it is because it is not playing nice with dynmap. I haven't figured out why yet.

try using dynmap 0.90, though im curious if it works with that beta verison

adamwbb commented 11 years ago

could the issue be with in the remote API since im using Cloudcrafting ive tried beta version of dynmap and even iremoved dynmap same error occures

On Tue, Oct 16, 2012 at 2:07 PM, Chris Churchwell notifications@github.comwrote:

none of those are errors. even though they say sever they are stating the web server started successfully basically.

the dynmap cant find texture things are because i dont use url for my textures they are sent from server, those wont effect gameplay.

[SEVERE] Error occurred while enabling JukeBukkit v2.1.0 (Is it up to date?) java.lang.NullPointerException at cc.thedudeguy.jukebukkit.JukeBukkit.onEnable(JukeBukkit.java:93)

that error is the only relevant game breaking error and if its present it is because it is not playing nice with dynmap. I haven't figured out why yet.

try using dynmap 0.90, though im curious if it works with that beta verison

— Reply to this email directly or view it on GitHubhttps://github.com/thedudeguy/JukeBukkit/issues/115#issuecomment-9500413.

thedudeguy commented 11 years ago

you shouldnt get the same error with dynmap removed, if dynmap removed the same error is impossible: at org.dynmap.bukkit.SpoutPluginBlocks.processSpoutBlocks(SpoutPluginBlocks.java:82). post the stacktrace you get without dynmap activated.

thedudeguy commented 11 years ago

can you please confirm if this issue persists into JukeIt version 2.2.1.

thedudeguy commented 11 years ago

This issue seems to have worked itself out.