cbgallarno / chdangerous Goto Github PK
View Code? Open in Web Editor NEWExtension made for CommandHelper
Extension made for CommandHelper
If chd_ptarget() is run and the player doesn't see an entity, a nullpointerexception happens in java.
2013-09-04 02:28:01 [SEVERE] Uh oh! You've found an error in CommandHelper. This is an error caused by your code, so you may be able to find a workaround, but is ultimately an error in CommandHelper itself. The line of code that caused the error was this:
chd_ptarget('Hekta')
on or around E:\Documents\Desktop\afaire\serv\bukkit\RequiCraft\plugins\CommandHelper\LocalPackages\RequiCraft\extensions\Dev\extension.library\commands.ms:1.
Please report this error to the developers, and be sure to include the version numbers: Server version: 1.6.2-R0.2-SNAPSHOT; CommandHelper version: 3.3.1-SNAPSHOT:2376-4b9c99d,master. Here's the stacktrace:
java.lang.NullPointerException
at com.brothercraft.chdangerous.functions.CHdPlayer$chd_ptarget.exec(CHdPlayer.java:72)
at com.laytonsmith.core.Script.eval(Script.java:300)
at com.laytonsmith.core.Script.eval(Script.java:264)
at com.laytonsmith.core.Script.seval(Script.java:210)
at com.laytonsmith.core.functions.Meta$eval.execs(Meta.java:413)
at com.laytonsmith.core.Script.eval(Script.java:256)
at com.laytonsmith.core.Script.eval(Script.java:264)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
at com.laytonsmith.core.constructs.CClosure.execute(CClosure.java:142)
at com.laytonsmith.core.functions.DataHandling$execute.exec(DataHandling.java:2366)
at com.laytonsmith.core.Script.eval(Script.java:300)
at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:383)
at com.laytonsmith.core.Script.eval(Script.java:256)
at com.laytonsmith.core.Script.eval(Script.java:264)
at com.laytonsmith.core.Script.seval(Script.java:210)
at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:388)
at com.laytonsmith.core.Script.eval(Script.java:256)
at com.laytonsmith.core.Script.eval(Script.java:264)
at com.laytonsmith.core.Procedure.execute(Procedure.java:179)
at com.laytonsmith.core.Procedure.cexecute(Procedure.java:149)
at com.laytonsmith.core.Script.eval(Script.java:237)
at com.laytonsmith.core.Script.eval(Script.java:264)
at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:383)
at com.laytonsmith.core.Script.eval(Script.java:256)
at com.laytonsmith.core.Script.eval(Script.java:264)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
at com.laytonsmith.core.Script.run(Script.java:164)
at com.laytonsmith.core.events.AbstractEvent.execute(AbstractEvent.java:70)
at com.laytonsmith.core.events.BoundEvent.execute(BoundEvent.java:302)
at com.laytonsmith.core.events.BoundEvent.trigger(BoundEvent.java:261)
at com.laytonsmith.core.events.EventUtils.FireListeners(EventUtils.java:205)
at com.laytonsmith.core.events.EventUtils.TriggerListener(EventUtils.java:193)
at com.laytonsmith.chadvanced.events.ServerCommand.triggerServerCommand(ServerCommand.java:31)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.laytonsmith.core.events.EventUtils.TriggerExternal(EventUtils.java:267)
at com.laytonsmith.commandhelper.CommandHelperServerListener.onServerCommand(CommandHelperServerListener.java:33)
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.java:425)
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 net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:258)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:227)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
2013-09-04 02:21:09 [INFO] An unexpected exception occured during the execution of a script.
2013-09-04 02:21:09 [SEVERE] java.lang.Error: An error has occured in reflect_docs. While trying to get the documentation, it was unable to parse this: gets the entity id of the entity the player is looking at
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.functions.Reflection$reflect_docs.formatFunctionDoc(Reflection.java:212)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.functions.Reflection$reflect_docs.exec(Reflection.java:200)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:300)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:264)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:264)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.seval(Script.java:210)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:388)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:256)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.constructs.CClosure.execute(CClosure.java:142)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.functions.DataHandling$execute.exec(DataHandling.java:2366)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:300)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:383)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:256)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:264)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.seval(Script.java:210)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:388)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:256)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:264)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Procedure.execute(Procedure.java:179)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Procedure.cexecute(Procedure.java:149)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:237)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:264)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.functions.BasicLogic$ifelse.execs(BasicLogic.java:383)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:256)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.eval(Script.java:264)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1489)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.MethodScriptCompiler.execute(MethodScriptCompiler.java:1454)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.Script.run(Script.java:164)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.events.AbstractEvent.execute(AbstractEvent.java:70)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.events.BoundEvent.execute(BoundEvent.java:302)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.events.BoundEvent.trigger(BoundEvent.java:261)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.events.EventUtils.FireListeners(EventUtils.java:205)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.events.EventUtils.TriggerListener(EventUtils.java:193)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.chadvanced.events.ServerCommand.triggerServerCommand(ServerCommand.java:31)
2013-09-04 02:21:09 [SEVERE] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
2013-09-04 02:21:09 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-04 02:21:09 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.core.events.EventUtils.TriggerExternal(EventUtils.java:267)
2013-09-04 02:21:09 [SEVERE] at com.laytonsmith.commandhelper.CommandHelperServerListener.onServerCommand(CommandHelperServerListener.java:33)
2013-09-04 02:21:09 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-04 02:21:09 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-04 02:21:09 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-04 02:21:09 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-04 02:21:09 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
2013-09-04 02:21:09 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
2013-09-04 02:21:09 [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
2013-09-04 02:21:09 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
2013-09-04 02:21:09 [SEVERE] at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:258)
2013-09-04 02:21:09 [SEVERE] at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:227)
2013-09-04 02:21:09 [SEVERE] at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
2013-09-04 02:21:09 [SEVERE] at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
2013-09-04 02:21:09 [SEVERE] at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
2013-09-04 02:21:09 [INFO] An unexpected exception occured during the execution of your script. Please check the console for more information.
base-dir setting is set to /home/mcgameserver but CHD writes in .../plugins/CommandHelper and the base-dir setting works with read()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.