- Joined
- Jul 11, 2020
- Messages
- 0
- Reaction score
- 25
- Points
- 0
kann mir jemand sagen warum das eine nullpointerexception abwirft... in meinen anderen clients funktioniert der code in der zeile 43 problemlos
Code:
try
{
/* Zeile 43 */ int posY = mc.thePlayer.rayTrace(999.0D, 0.0F).getBlockPos().getY();
}
catch (Exception e)
{
System.out.println("Error: " + e);
}
Code:
---- Minecraft Crash Report ----
// Would you like a cupcake?
Time: 24.05.17 14:04
Description: Unexpected error
java.lang.NullPointerException: Unexpected error
at me.mods.mods.AutoMlg.Tick(AutoMlg.java:43)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1746)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1105)
at net.minecraft.client.Minecraft.run(Minecraft.java:429)
at net.minecraft.client.main.Main.main(Main.java:113)
at Start.main(Start.java:11)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at me.mods.mods.AutoMlg.Tick(AutoMlg.java:43)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['Player791'/223, l='MpServer', x=584,45, y=79,00, z=135,78]]
Chunk stats: MultiplayerChunkCache: 330, 330
Level seed: 0
Level generator: ID 02 - largeBiomes, ver 0. Features enabled: false
Level generator options:
Level spawn location: 584,00,64,00,166,00 - World: (584,64,166), Chunk: (at 8,4,6 in 36,10; contains blocks 576,0,160 to 591,255,175), Region: (1,0; contains chunks 32,0 to 63,31, blocks 512,0,0 to 1023,255,511)
Level time: 6574 game time, 5954 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: 79 total; [EntitySkeleton['Skeleton'/129, l='MpServer', x=621,84, y=12,00, z=58,31], EntityBat['Bat'/131, l='MpServer', x=621,13, y=17,10, z=57,59], EntityMinecartChest['container.minecart'/136, l='MpServer', x=613,50, y=12,06, z=82,50], EntityCreeper['Creeper'/137, l='MpServer', x=615,50, y=57,00, z=150,75], EntitySkeleton['Skeleton'/138, l='MpServer', x=617,19, y=36,00, z=183,59], EntityZombie['Zombie'/139, l='MpServer', x=611,59, y=34,00, z=185,00], EntitySkeleton['Skeleton'/16, l='MpServer', x=506,47, y=18,00, z=76,88], EntityZombie['Zombie'/17, l='MpServer', x=510,50, y=25,00, z=92,50], EntitySpider['Spider'/149, l='MpServer', x=629,66, y=12,00, z=56,69], EntityZombie['Zombie'/150, l='MpServer', x=629,06, y=12,00, z=58,19], EntityZombie['Zombie'/151, l='MpServer', x=629,91, y=12,00, z=58,69], EntitySkeleton['Skeleton'/24, l='MpServer', x=509,22, y=41,00, z=155,72], EntityZombie['Zombie'/152, l='MpServer', x=639,13, y=12,00, z=58,41], EntityZombie['Zombie'/25, l='MpServer', x=508,09, y=41,00, z=155,47], EntityBat['Bat'/153, l='MpServer', x=626,53, y=14,10, z=62,09], EntityCreeper['Creeper'/154, l='MpServer', x=637,88, y=13,00, z=60,72], EntitySkeleton['Skeleton'/29, l='MpServer', x=523,50, y=40,00, z=70,09], EntitySkeleton['Skeleton'/30, l='MpServer', x=526,47, y=38,00, z=65,81], EntitySkeleton['Skeleton'/31, l='MpServer', x=514,56, y=35,00, z=88,09], EntitySkeleton['Skeleton'/32, l='MpServer', x=515,59, y=35,00, z=95,09], EntitySkeleton['Skeleton'/160, l='MpServer', x=624,50, y=16,00, z=59,50], EntitySkeleton['Skeleton'/33, l='MpServer', x=527,56, y=41,00, z=81,09], EntityBat['Bat'/162, l='MpServer', x=641,38, y=13,81, z=195,44], EntitySkeleton['Skeleton'/34, l='MpServer', x=516,50, y=22,00, z=107,06], EntitySpider['Spider'/35, l='MpServer', x=515,34, y=18,00, z=99,13], EntityCreeper['Creeper'/36, l='MpServer', x=516,34, y=27,00, z=97,09], EntitySquid['Squid'/37, l='MpServer', x=523,10, y=53,78, z=128,23], EntityZombie['Zombie'/38, l='MpServer', x=523,53, y=25,00, z=151,03], EntityZombie['Zombie'/39, l='MpServer', x=517,09, y=23,00, z=153,47], EntityBat['Bat'/40, l='MpServer', x=527,53, y=51,10, z=169,75], EntityBat['Bat'/41, l='MpServer', x=515,45, y=51,06, z=172,35], EntityBat['Bat'/43, l='MpServer', x=514,92, y=47,40, z=215,43], EntitySkeleton['Skeleton'/46, l='MpServer', x=538,27, y=17,00, z=60,53], EntitySpider['Spider'/47, l='MpServer', x=534,69, y=18,00, z=59,19], EntityMinecartChest['container.minecart'/175, l='MpServer', x=642,50, y=13,06, z=62,50], EntitySkeleton['Skeleton'/48, l='MpServer', x=535,63, y=17,00, z=57,84], EntityBat['Bat'/49, l='MpServer', x=540,34, y=17,61, z=61,01], EntityItem['item.item.string'/178, l='MpServer', x=645,88, y=12,00, z=88,16], EntityZombie['Zombie'/50, l='MpServer', x=533,41, y=41,00, z=59,91], EntityItem['item.item.string'/179, l='MpServer', x=646,53, y=12,00, z=84,75], EntityItem['item.item.string'/180, l='MpServer', x=646,78, y=12,00, z=88,13], EntityItem['item.tile.torch'/181, l='MpServer', x=648,13, y=11,00, z=100,28], EntitySpider['Spider'/53, l='MpServer', x=537,69, y=18,00, z=65,28], EntityItem['item.tile.flower1.dandelion'/182, l='MpServer', x=645,84, y=64,00, z=123,63], EntityCreeper['Creeper'/54, l='MpServer', x=539,91, y=18,00, z=66,31], EntityZombie['Zombie'/55, l='MpServer', x=528,00, y=42,00, z=87,41], EntityZombie['Zombie'/183, l='MpServer', x=646,50, y=12,00, z=191,50], EntityBat['Bat'/56, l='MpServer', x=539,69, y=43,58, z=104,97], EntityCreeper['Creeper'/184, l='MpServer', x=653,06, y=19,00, z=192,44], EntitySquid['Squid'/57, l='MpServer', x=529,87, y=53,05, z=112,44], EntityBat['Bat'/58, l='MpServer', x=541,64, y=42,11, z=110,82], EntitySkeleton['Skeleton'/59, l='MpServer', x=530,78, y=21,00, z=150,19], EntityCreeper['Creeper'/60, l='MpServer', x=533,00, y=24,00, z=145,59], EntityBat['Bat'/61, l='MpServer', x=535,50, y=55,10, z=179,25], EntityCreeper['Creeper'/62, l='MpServer', x=531,50, y=52,00, z=179,03], EntityZombie['Zombie'/63, l='MpServer', x=532,83, y=47,00, z=198,43], EntityZombie['Zombie'/64, l='MpServer', x=541,56, y=45,00, z=198,97], EntityBat['Bat'/65, l='MpServer', x=537,75, y=50,10, z=194,47], EntitySkeleton['Skeleton'/68, l='MpServer', x=549,44, y=18,00, z=59,91], EntityCreeper['Creeper'/69, l='MpServer', x=549,97, y=18,00, z=62,28], EntityCreeper['Creeper'/70, l='MpServer', x=547,10, y=18,00, z=60,48], EntityZombie['Zombie'/71, l='MpServer', x=548,69, y=36,00, z=57,03], EntityCreeper['Creeper'/72, l='MpServer', x=546,69, y=36,00, z=61,72], EntityZombie['Zombie'/73, l='MpServer', x=547,09, y=37,00, z=62,63], EntitySkeleton['Skeleton'/77, l='MpServer', x=544,09, y=18,00, z=65,47], EntitySquid['Squid'/78, l='MpServer', x=554,93, y=58,48, z=91,25], EntitySquid['Squid'/79, l='MpServer', x=550,84, y=47,28, z=121,48], EntityZombie['Zombie'/80, l='MpServer', x=554,34, y=23,00, z=171,06], EntityCreeper['Creeper'/81, l='MpServer', x=552,91, y=57,00, z=191,59], EntityBat['Bat'/82, l='MpServer', x=559,57, y=50,47, z=174,92], EntityZombie['Zombie'/88, l='MpServer', x=570,50, y=27,00, z=164,91], EntitySkeleton['Skeleton'/89, l='MpServer', x=573,84, y=27,00, z=160,44], EntityZombie['Zombie'/90, l='MpServer', x=570,47, y=23,00, z=176,06], EntitySkeleton['Skeleton'/94, l='MpServer', x=586,09, y=45,00, z=191,50], EntityPlayerSP['Player791'/223, l='MpServer', x=584,45, y=79,00, z=135,78], EntityBat['Bat'/105, l='MpServer', x=593,29, y=16,73, z=184,70], EntityZombie['Zombie'/106, l='MpServer', x=595,41, y=35,53, z=177,50], EntityZombie['Zombie'/107, l='MpServer', x=600,03, y=34,00, z=191,44], EntitySkeleton['Skeleton'/108, l='MpServer', x=605,16, y=54,00, z=189,50]]
Retry entities: 0 total; []
Server brand: vanilla
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:380)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2770)
at net.minecraft.client.Minecraft.run(Minecraft.java:455)
at net.minecraft.client.main.Main.main(Main.java:113)
at Start.main(Start.java:11)
-- System Details --
Details:
Minecraft Version: 1.8.8
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_111, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 621177696 bytes (592 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 98
Launched Version: mcp
LWJGL: 2.9.4
OpenGL: Intel(R) HD Graphics 530 GL version 4.4.0 - Build 21.20.16.4534, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: No
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 8x Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Last edited by a moderator: