Development Assistance lang.NullPointerException, while PLugin Developing

Discussion in 'Plugin Help/Development/Requests' started by _Fr3akZz_, Apr 15, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    _Fr3akZz_

    Main: http://pastebin.com/ELUiK8uN
    Event Listener: http://pastebin.com/Sa8cHQaV

    Code:
    [19:30:21] [Server thread/INFO]: Starting minecraft server version 1.8.3
    [19:30:21] [Server thread/INFO]: Loading properties
    [19:30:21] [Server thread/INFO]: Default game type: SURVIVAL
    [19:30:21] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-4c7d0c0-7d020a7 (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT)
    [19:30:21] [Server thread/INFO]: Debug logging is disabled
    [19:30:21] [Server thread/INFO]: Server Ping Player Sample Count: 12
    [19:30:21] [Server thread/INFO]: Using 4 threads for Netty based IO
    [19:30:21] [Server thread/INFO]: Generating keypair
    [19:30:21] [Server thread/INFO]: Starting Minecraft server on *:25565
    [19:30:21] [Server thread/INFO]: Using default channel type
    [19:30:22] [Server thread/INFO]: Set PluginClassLoader as parallel capable
    [19:30:22] [Server thread/ERROR]: Could not load 'plugins\PvPlugin.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NullPointerException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot.jar:git-Spigot-4c7d0c0-7d020a7]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-4c7d0c0-7d020a7]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-4c7d0c0-7d020a7]
        at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-4c7d0c0-7d020a7]
        at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:199) [spigot.jar:git-Spigot-4c7d0c0-7d020a7]
        at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [spigot.jar:git-Spigot-4c7d0c0-7d020a7]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_40]
    Caused by: java.lang.NullPointerException
        at net.teachlp.bplaced.pvplugin.PvPlugin.<init>(PvPlugin.java:16) ~[?:?]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_40]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_40]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_40]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_40]
        at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_40]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:76) ~[spigot.jar:git-Spigot-4c7d0c0-7d020a7]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-4c7d0c0-7d020a7]
        ... 6 more
    [19:30:22] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
    [19:30:22] [Server thread/INFO]: Preparing level "world"
    [19:30:22] [Server thread/INFO]: -------- World Settings For [world] --------
    [19:30:22] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [19:30:22] [Server thread/INFO]: Clear tick list: false
    [19:30:22] [Server thread/INFO]: Experience Merge Radius: 3.0
    [19:30:22] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [19:30:22] [Server thread/INFO]: Anti X-Ray: true
    [19:30:22] [Server thread/INFO]:     Engine Mode: 1
    [19:30:22] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [19:30:22] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [19:30:22] [Server thread/INFO]: Mob Spawn Range: 4
    [19:30:22] [Server thread/INFO]: Structure Info Saving: true
    [19:30:22] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [19:30:22] [Server thread/INFO]: Sending up to 10 chunks per packet
    [19:30:22] [Server thread/INFO]: Random Lighting Updates: false
    [19:30:22] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [19:30:22] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [19:30:22] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Cane Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Melon Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [19:30:22] [Server thread/INFO]: Max TNT Explosions: 100
    [19:30:22] [Server thread/INFO]: Item Merge Radius: 2.5
    [19:30:22] [Server thread/INFO]: Item Despawn Rate: 6000
    [19:30:22] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [19:30:22] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [19:30:22] [Server thread/INFO]: Max Entity Collisions: 8
    [19:30:22] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [19:30:22] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [19:30:22] [Server thread/INFO]: View Distance: 10
    [19:30:22] [Server thread/INFO]: -------- World Settings For [world_nether] --------
    [19:30:22] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [19:30:22] [Server thread/INFO]: Clear tick list: false
    [19:30:22] [Server thread/INFO]: Experience Merge Radius: 3.0
    [19:30:22] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [19:30:22] [Server thread/INFO]: Anti X-Ray: true
    [19:30:22] [Server thread/INFO]:     Engine Mode: 1
    [19:30:22] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [19:30:22] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [19:30:22] [Server thread/INFO]: Mob Spawn Range: 4
    [19:30:22] [Server thread/INFO]: Structure Info Saving: true
    [19:30:22] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [19:30:22] [Server thread/INFO]: Sending up to 10 chunks per packet
    [19:30:22] [Server thread/INFO]: Random Lighting Updates: false
    [19:30:22] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [19:30:22] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [19:30:22] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Cane Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Melon Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [19:30:22] [Server thread/INFO]: Max TNT Explosions: 100
    [19:30:22] [Server thread/INFO]: Item Merge Radius: 2.5
    [19:30:22] [Server thread/INFO]: Item Despawn Rate: 6000
    [19:30:22] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [19:30:22] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [19:30:22] [Server thread/INFO]: Max Entity Collisions: 8
    [19:30:22] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [19:30:22] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [19:30:22] [Server thread/INFO]: View Distance: 10
    [19:30:22] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
    [19:30:22] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [19:30:22] [Server thread/INFO]: Clear tick list: false
    [19:30:22] [Server thread/INFO]: Experience Merge Radius: 3.0
    [19:30:22] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [19:30:22] [Server thread/INFO]: Anti X-Ray: true
    [19:30:22] [Server thread/INFO]:     Engine Mode: 1
    [19:30:22] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [19:30:22] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [19:30:22] [Server thread/INFO]: Mob Spawn Range: 4
    [19:30:22] [Server thread/INFO]: Structure Info Saving: true
    [19:30:22] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [19:30:22] [Server thread/INFO]: Sending up to 10 chunks per packet
    [19:30:22] [Server thread/INFO]: Random Lighting Updates: false
    [19:30:22] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [19:30:22] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [19:30:22] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Cane Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Melon Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [19:30:22] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [19:30:22] [Server thread/INFO]: Max TNT Explosions: 100
    [19:30:22] [Server thread/INFO]: Item Merge Radius: 2.5
    [19:30:22] [Server thread/INFO]: Item Despawn Rate: 6000
    [19:30:22] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [19:30:22] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [19:30:22] [Server thread/INFO]: Max Entity Collisions: 8
    [19:30:22] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [19:30:22] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [19:30:22] [Server thread/INFO]: View Distance: 10
    [19:30:22] [Server thread/INFO]: Preparing start region for level 0 (Seed: 6652812401531928956)
    [19:30:23] [Server thread/INFO]: Preparing start region for level 1 (Seed: 6652812401531928956)
    [19:30:24] [Server thread/INFO]: Preparing start region for level 2 (Seed: 6652812401531928956)
    [19:30:24] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [19:30:24] [Server thread/INFO]: Done (2,317s)! For help, type "help" or "?"
     
    Last edited by a moderator: Apr 15, 2015
  2. Offline

    teej107

  3. Offline

    timtower Administrator Administrator Moderator

    Moved to Bukkit alternatives
     
Thread Status:
Not open for further replies.

Share This Page