1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/sk reload script server crash

Discussion in 'Java' started by MeHow, Aug 2, 2017.

  1. MeHow

    MeHow Active Member

    Joined:
    Feb 6, 2017
    Messages:
    140
    Likes Received:
    13
    Hello guys, i found this bug? And I first time met with this thing so i post to forum how to fix it.
    Then i write /sk reload script it's crash the server and error:

    15:41:50 ERROR]: Be sure to include ALL relevant console errors and Minecraft crash reports
    [15:41:50 ERROR]: Spigot version: git-Spigot-3fb9445-fbb47e8 (MC: 1.11.2)
    [15:41:50 ERROR]: ------------------------------
    [15:41:50 ERROR]: Server thread dump (Look for plugins here before reporting to Spigot!):
    [15:41:50 ERROR]: ------------------------------
    [15:41:50 ERROR]: Current Thread: Server thread
    [15:41:50 ERROR]: PID: 14 | Suspended: false | Native: false | State: RUNNABLE
    [15:41:50 ERROR]: Stack:
    [15:41:50 ERROR]: java.lang.Class.isAssignableFrom(Native Method)
    [15:41:50 ERROR]: ch.njol.skript.registrations.Converters.converterExists(Converters.java:231)
    [15:41:50 ERROR]: ch.njol.skript.Skript$6.check(Skript.java:1051)
    [15:41:50 ERROR]: ch.njol.skript.Skript$6.check(Skript.java:1)
    [15:41:50 ERROR]: ch.njol.util.coll.iterator.CheckedIterator.hasNext(CheckedIterator.java:51)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:212)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:174)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:319)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:445)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1159)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1077)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1111)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1084)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:219)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:174)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:319)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:445)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1159)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1111)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1111)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:219)
    [15:41:50 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:174)
    [15:41:50 ERROR]: ch.njol.skript.lang.Statement.parse(Statement.java:59)
    [15:41:50 ERROR]: ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:659)
    [15:41:50 ERROR]: ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
    [15:41:50 ERROR]: ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
    [15:41:50 ERROR]: ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:745)
    [15:41:50 ERROR]: ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:450)
    [15:41:50 ERROR]: ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:243)
    [15:41:50 ERROR]: ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:267)
    [15:41:50 ERROR]: ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:187)
    [15:41:50 ERROR]: org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [15:41:50 ERROR]: org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [15:41:50 ERROR]: org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650)
    [15:41:50 ERROR]: net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1354)
    [15:41:50 ERROR]: net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1189)
    [15:41:50 ERROR]: net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [15:41:50 ERROR]: net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [15:41:50 ERROR]: net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13)
    [15:41:51 ERROR]: Current Thread: DestroyJavaVM
    [15:41:51 ERROR]: PID: 16 | Suspended: false | Native: false | State: RUNNABLE
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: ------------------------------
    [15:41:51 ERROR]: Current Thread: Server thread
    [15:41:51 ERROR]: PID: 14 | Suspended: false | Native: false | State: RUNNABLE
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: java.util.HashMap.hash(Unknown Source)
    [15:41:51 ERROR]: java.util.HashMap.get(Unknown Source)
    [15:41:51 ERROR]: ch.njol.skript.registrations.Converters.getConverter(Converters.java:257)
    [15:41:51 ERROR]: ch.njol.skript.registrations.Converters.converterExists(Converters.java:233)
    [15:41:51 ERROR]: ch.njol.skript.Skript$6.check(Skript.java:1051)
    [15:41:51 ERROR]: ch.njol.skript.Skript$6.check(Skript.java:1)
    [15:41:51 ERROR]: ch.njol.util.coll.iterator.CheckedIterator.hasNext(CheckedIterator.java:51)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:212)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:174)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:319)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:445)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1159)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1084)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1084)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:219)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:174)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:319)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:445)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1159)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1077)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1111)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1084)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:219)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:174)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:319)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:445)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1159)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1111)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1150)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1111)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:219)
    [15:41:51 ERROR]: ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:174)
    [15:41:51 ERROR]: ch.njol.skript.lang.Statement.parse(Statement.java:59)
    [15:41:51 ERROR]: ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:659)
    [15:41:51 ERROR]: ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
    [15:41:51 ERROR]: ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
    [15:41:51 ERROR]: ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:745)
    [15:41:51 ERROR]: ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:450)
    [15:41:51 ERROR]: ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:243)
    [15:41:51 ERROR]: ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:267)
    [15:41:51 ERROR]: ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:187)
    [15:41:51 ERROR]: org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [15:41:51 ERROR]: org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [15:41:51 ERROR]: org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1354)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1189)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13)
    [15:41:51 ERROR]: java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [15:41:51 ERROR]: java.util.concurrent.FutureTask.run(Unknown Source)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576)
    [15:41:51 ERROR]: java.lang.Thread.run(Unknown Source)
    [15:41:51 ERROR]: ------------------------------
    [15:41:51 ERROR]: Current Thread: Server Infinisleeper
    [15:41:51 ERROR]: PID: 15 | Suspended: false | Native: false | State: TIMED_WAITING
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: java.lang.Thread.sleep(Native Method)
    [15:41:51 ERROR]: net.minecraft.server.v1_11_R1.DedicatedServer$1.run(DedicatedServer.java:59)
    [15:41:51 ERROR]: ------------------------------
    [15:41:51 ERROR]: Current Thread: NonBlockingInputStreamThread
    [15:41:51 ERROR]: PID: 12 | Suspended: false | Native: false | State: WAITING
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: java.lang.Object.wait(Native Method)
    [15:41:51 ERROR]: org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278)
    [15:41:51 ERROR]: java.lang.Thread.run(Unknown Source)
    [15:41:51 ERROR]: ------------------------------
    [15:41:51 ERROR]: Current Thread: Snooper Timer
    [15:41:51 ERROR]: PID: 10 | Suspended: false | Native: false | State: TIMED_WAITING
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: java.lang.Object.wait(Native Method)
    [15:41:51 ERROR]: java.util.TimerThread.mainLoop(Unknown Source)
    [15:41:51 ERROR]: java.util.TimerThread.run(Unknown Source)
    [15:41:51 ERROR]: ------------------------------
    [15:41:51 ERROR]: Current Thread: Attach Listener
    [15:41:51 ERROR]: PID: 5 | Suspended: false | Native: false | State: RUNNABLE
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: ------------------------------
    [15:41:51 ERROR]: Current Thread: Signal Dispatcher
    [15:41:51 ERROR]: PID: 4 | Suspended: false | Native: false | State: RUNNABLE
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: ------------------------------
    [15:41:51 ERROR]: Current Thread: Finalizer
    [15:41:51 ERROR]: PID: 3 | Suspended: false | Native: false | State: WAITING
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: java.lang.Object.wait(Native Method)
    [15:41:51 ERROR]: java.lang.ref.ReferenceQueue.remove(Unknown Source)
    [15:41:51 ERROR]: java.lang.ref.ReferenceQueue.remove(Unknown Source)
    [15:41:51 ERROR]: java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
    [15:41:51 ERROR]: ------------------------------
    [15:41:51 ERROR]: Current Thread: Reference Handler
    [15:41:51 ERROR]: PID: 2 | Suspended: false | Native: false | State: WAITING
    [15:41:51 ERROR]: Stack:
    [15:41:51 ERROR]: java.lang.Object.wait(Native Method)
    [15:41:51 ERROR]: java.lang.Object.wait(Unknown Source)
    [15:41:51 ERROR]: java.lang.ref.Reference.tryHandlePending(Unknown Source)
    [15:41:51 ERROR]: java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
    [15:41:51 ERROR]: ------------------------------

    Thanks for help
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Please tell everyone your Skript version
    It will help :emoji_slight_smile:

    Also, what scripts did you add that may have produced this error?
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Skript 2.2
    Code:
    Code (Skript):
    1. on spawn:
    2.     if event-entity is spider or skeleton or creeper or enderman or witch or giant:
    3.         cancel event
    4.     chance of 20%:
    5.         if event-entity is zombie:
    6.             set {_random} to random number between 1 and 8
    7.             if {_random} is 1:
    8.                 set name of event-entity to "&aAlien"
    9.             if {_random} is 2:
    10.                 cancel event
    11.             if {_random} is 3:
    12.                 cancel event  
    13.             if {_random} is 4:
    14.                 cancel event  
    15.             if {_random} is 5:
    16.                 cancel event  
    17.             if {_random} is 6:
    18.                 cancel event  
    19.             if {_random} is 7:
    20.                 cancel event  
    21.             if {_random} is 8:
    22.                 cancel event                  
    23.    
    24. on death of zombie:
    25.     remove all drops from drops  
    26.     drop 1 rotten flesh named "&fAlien Meat" at location of victim
    27.    
    28. every 2 seconds:
    29.     loop all players:
    30.         remove jump boost from loop-player
    31.         apply jump boost 1 to loop-player for 2 seconds
    32.        
    33.         loop all blocks in radius 4 of loop-player:
    34.             if loop-block is not obsidian:
    35.                 damage loop-player by 1 heart
    36.             else if loop-player is not wearing iron chestplate:
    37.                 damage loop-player by 1 heart
    38.             else:
    39.                 stop
    40.  
    41.    
    42. command /setpos [<text>]:
    43.     trigger:
    44.         if player is op:
    45.             if arg-1 is set:
    46.                 set {%arg-1%} to location of player
    47.                 send "{@prefix} Loc. %arg-1% was set."
    48.    
    49. on join:
    50.     if {first.%player%} is not set:
    51.         set {first.%player%} to false
    52.         clear player's inventory
    53.         set helmet of player to glass_block:0 named "&f&lCosmonaut's Helmet"
    54.         equip player with iron chestplate named "&f&lCosmonaut's Suit"
    55.         equip player with iron leggings named "&f&lCosmonaut's Suit"
    56.         equip player with iron boots named "&f&lCosmonaut's Suit"
    57.         set slot 1 of player to 3 of mushroom stew named "&f&lCosmonaut's Soup"
    58.         set slot 0 of player to iron sword named "&f&lCosmonaut's Sword"  
    59.         show 100 "smoke" particles at location of {fspawn} for player offset by 0.4, 0.7, 0.4
    60.         teleport player to {fspawn}          
    61.         show 100 "smoke" particles at location of {fspawn} for player offset by 0.4, 0.7, 0.4
    62.         wait 5 seconds
    63.         show 100 "smoke" particles at location of {fspawn} for player offset by 0.4, 0.7, 0.4
    64.         wait a second
    65.         teleport player to {fspawn2}
    66.         show 100 "smoke" particles at location of {fspawn2} for player offset by 0.4, 0.7, 0.4
    67.         wait 2 seconds
    68.         teleport player to {fspawn3}
    69.         show 100 "smoke" particles at location of {fspawn3} for player offset by 0.4, 0.7, 0.4      
    70.         wait 2 seconds
    71.         teleport player to {fspawn4}
    72.         show 50 "smoke" particles at location of {fspawn4} for player offset by 0.4, 0.7, 0.4              
    73.        
     

Share This Page

Loading...