Scheduler causing Client-Crash

Discussion in 'Plugin Development' started by AragurLp, Sep 2, 2014.

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

    AragurLp

    Hey Im useing the latest Bukkit - Dev Build and every time a use a action, my client and all others are crashing.

    Can you please help me?

    Crashlog (Client):
    Code:
    ---- Minecraft Crash Report ----
    // I bet Cylons wouldn't have this problem.
     
    Time: 02.09.14 14:43
    Description: Unexpected error
     
    java.lang.NullPointerException: Unexpected error
        at bjb.a(SourceFile:499)
        at hp.a(SourceFile:47)
        at hp.a(SourceFile:12)
        at ej.a(SourceFile:174)
        at bje.e(SourceFile:212)
        at bao.p(SourceFile:1306)
        at bao.ak(SourceFile:774)
        at bao.f(SourceFile:728)
        at net.minecraft.client.main.Main.main(SourceFile:148)
        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 net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
     
     
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
     
    -- Head --
    Stacktrace:
        at bjb.a(SourceFile:499)
        at hp.a(SourceFile:47)
        at hp.a(SourceFile:12)
        at ej.a(SourceFile:174)
        at bje.e(SourceFile:212)
     
    -- Affected level --
    Details:
        Level name: MpServer
        All players: 1 total; [bll['AragurLp'/3388, l='MpServer', x=107,88, y=72,00, z=264,75]]
        Chunk stats: MultiplayerChunkCache: 419, 419
        Level seed: 0
        Level generator: ID 00 - default, ver 1. Features enabled: false
        Level generator options:
        Level spawn location: World: (162,64,263), Chunk: (at 2,4,7 in 10,16; contains blocks 160,0,256 to 175,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
        Level time: 793826 game time, 34118 day time
        Level dimension: 0
        Level storage version: 0x00000 - Unknown?
        Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
        Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
        Forced entities: 73 total; [bjk['AragurLp'/3388, l='MpServer', x=107,88, y=73,62, z=264,76], yq['Zombie'/5248, l='MpServer', x=51,69, y=18,00, z=309,38], ya['Enderman'/5378, l='MpServer', x=167,25, y=16,00, z=269,66], yq['Zombie'/5508, l='MpServer', x=177,50, y=46,00, z=245,50], xz['Creeper'/6021, l='MpServer', x=172,50, y=49,00, z=210,50], xz['Creeper'/6790, l='MpServer', x=31,50, y=17,00, z=338,50], yn['Spider'/6026, l='MpServer', x=176,72, y=49,00, z=205,28], xz['Creeper'/5393, l='MpServer', x=148,50, y=19,00, z=242,50], yl['Skeleton'/5394, l='MpServer', x=45,50, y=11,00, z=271,50], yl['Skeleton'/5396, l='MpServer', x=43,50, y=11,00, z=274,50], yq['Zombie'/5782, l='MpServer', x=163,50, y=23,00, z=238,50], yq['Zombie'/5783, l='MpServer', x=162,84, y=23,00, z=243,28], yq['Zombie'/5785, l='MpServer', x=163,06, y=23,00, z=240,31], yq['Zombie'/5537, l='MpServer', x=59,50, y=28,00, z=294,50], yq['Zombie'/5793, l='MpServer', x=169,13, y=48,00, z=243,78], yq['Zombie'/6817, l='MpServer', x=134,50, y=50,00, z=272,50], yl['Skeleton'/6953, l='MpServer', x=169,50, y=17,00, z=269,50], wh['Cow'/42, l='MpServer', x=41,47, y=65,00, z=271,47], yl['Skeleton'/5802, l='MpServer', x=132,50, y=57,00, z=319,50], yq['Zombie'/6954, l='MpServer', x=169,50, y=17,00, z=268,50], wo['Pig'/43, l='MpServer', x=43,47, y=65,00, z=276,97], yq['Zombie'/6955, l='MpServer', x=170,50, y=17,00, z=267,50], yl['Skeleton'/5804, l='MpServer', x=130,50, y=57,00, z=319,50], yq['Zombie'/6956, l='MpServer', x=170,50, y=17,00, z=268,50], xz['Creeper'/6192, l='MpServer', x=61,88, y=62,00, z=292,78], yl['Skeleton'/5297, l='MpServer', x=44,50, y=26,00, z=293,50], bll['AragurLp'/3388, l='MpServer', x=107,88, y=72,00, z=264,75], xz['Creeper'/6715, l='MpServer', x=179,50, y=46,00, z=244,50], bll['AragurLp'/3388, l='MpServer', x=107,88, y=72,00, z=264,75], wg['Chicken'/3395, l='MpServer', x=28,53, y=75,00, z=305,34], yl['Skeleton'/6854, l='MpServer', x=141,50, y=52,00, z=238,50], wh['Cow'/75, l='MpServer', x=111,47, y=56,00, z=220,53], yq['Zombie'/4939, l='MpServer', x=63,50, y=15,00, z=284,50], wo['Pig'/76, l='MpServer', x=109,50, y=64,00, z=218,50], xz['Creeper'/6732, l='MpServer', x=39,50, y=18,00, z=286,50], yq['Zombie'/6988, l='MpServer', x=77,50, y=49,00, z=276,50], wh['Cow'/77, l='MpServer', x=110,47, y=68,00, z=219,75], wh['Cow'/80, l='MpServer', x=113,53, y=58,00, z=216,28], wo['Pig'/81, l='MpServer', x=115,53, y=68,00, z=219,34], wo['Pig'/83, l='MpServer', x=120,00, y=58,00, z=225,84], yl['Skeleton'/6099, l='MpServer', x=47,50, y=55,00, z=302,50], wh['Cow'/84, l='MpServer', x=126,53, y=64,00, z=230,34], yl['Skeleton'/6100, l='MpServer', x=48,50, y=55,00, z=305,50], xz['Creeper'/6102, l='MpServer', x=78,50, y=70,00, z=313,50], wo['Pig'/87, l='MpServer', x=146,06, y=63,00, z=210,50], xz['Creeper'/6999, l='MpServer', x=140,50, y=19,00, z=246,50], wo['Pig'/88, l='MpServer', x=135,50, y=64,00, z=238,03], wh['Cow'/89, l='MpServer', x=132,59, y=64,00, z=239,22], wo['Pig'/90, l='MpServer', x=128,53, y=64,00, z=232,03], xz['Creeper'/5467, l='MpServer', x=184,50, y=45,00, z=252,50], wo['Pig'/92, l='MpServer', x=135,47, y=58,00, z=241,69], xz['Creeper'/5468, l='MpServer', x=177,70, y=45,00, z=248,69], wh['Cow'/93, l='MpServer', x=142,53, y=64,00, z=249,31], wo['Pig'/94, l='MpServer', x=143,03, y=64,00, z=253,38], wo['Pig'/99, l='MpServer', x=150,88, y=63,00, z=207,47], yq['Zombie'/6756, l='MpServer', x=47,03, y=17,00, z=306,44], xz['Creeper'/6757, l='MpServer', x=50,97, y=18,00, z=310,48], yq['Zombie'/5225, l='MpServer', x=33,53, y=15,00, z=270,03], yq['Zombie'/5226, l='MpServer', x=31,50, y=15,00, z=265,50], yl['Skeleton'/4844, l='MpServer', x=81,50, y=32,00, z=232,50], wo['Pig'/109, l='MpServer', x=166,44, y=63,00, z=202,69], yq['Zombie'/6765, l='MpServer', x=184,09, y=45,00, z=257,59], yq['Zombie'/6766, l='MpServer', x=184,66, y=43,00, z=264,34], yq['Zombie'/6768, l='MpServer', x=182,50, y=43,00, z=262,50], yl['Skeleton'/5233, l='MpServer', x=132,84, y=50,00, z=270,44], yl['Skeleton'/6513, l='MpServer', x=159,63, y=15,00, z=239,94], yl['Skeleton'/6769, l='MpServer', x=177,50, y=43,00, z=267,50], wo['Pig'/113, l='MpServer', x=181,38, y=63,00, z=280,97], yl['Skeleton'/6131, l='MpServer', x=79,50, y=64,00, z=326,50], yl['Skeleton'/5626, l='MpServer', x=49,50, y=12,00, z=272,50], yl['Skeleton'/5627, l='MpServer', x=49,50, y=12,00, z=271,50], yl['Skeleton'/5246, l='MpServer', x=52,50, y=36,00, z=289,50], yl['Skeleton'/5375, l='MpServer', x=65,06, y=16,00, z=286,50]]
        Retry entities: 0 total; []
        Server brand: CraftBukkit
        Server type: Non-integrated multiplayer server
    Stacktrace:
        at bjf.a(SourceFile:289)
        at bao.b(SourceFile:1972)
        at bao.f(SourceFile:742)
        at net.minecraft.client.main.Main.main(SourceFile:148)
        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 net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
     
    -- System Details --
    Details:
        Minecraft Version: 1.7.10
        Operating System: Windows 8.1 (amd64) version 6.3
        Java Version: 1.8.0_20, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 164877832 bytes (157 MB) / 255066112 bytes (243 MB) up to 2134114304 bytes (2035 MB)
        JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
        AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
        IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
        Launched Version: 1.7.10-OptiFine_HD_A4
        LWJGL: 2.9.1
        OpenGL: GeForce GTX 770/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation
        GL Caps: Using GL 1.3 multitexturing.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Anisotropic filtering is supported and maximum anisotropy is 16.
    Shaders are available because OpenGL 2.1 is supported.
     
        Is Modded: Very likely; Jar signature invalidated
        Type: Client (map_client.txt)
        Resource Packs: []
        Current Language: English (US)
        Profiler Position: N/A (disabled)
        Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
        Anisotropic Filtering: Off (1)
     
  2. Offline

    Bammerbom

  3. Offline

    AragurLp

    This is the Scheduler Part.
    If I delete it the whole Method works.
    Code:java
    1. Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
    2. @Override
    3. public void run() {
    4. System.out.println("Test");
    5. }
    6. }, 5L);
     
Thread Status:
Not open for further replies.

Share This Page