Hallo,
ich habe ein scheinbar sehr kniffliges Problem.
Ich habe einen Launcher für ein Spiel geschrieben welcher wunderbar funktionierte. Ich habe das Spiel modifiziert und jetzt funktioniert der Launcher nur wenn ich ihn über Eclipse starte. Wenn ich ihn Exportiere und dann starte, startet er zwar das Spiel wie er soll aber ich kriege kurz darauf ein Crash-Report des Spiel's.
Hierbei handelt es sich um das Spiel Minecraft. Ich habe es mit Forge und dem Paintball-Mod modifiziert.
Hier mal der Quellcode Teil der startet:
Und hier der Crash-Report:
Hoffe jemand kann helfen bzw weiß Rat. Danke im Vorraus
ich habe ein scheinbar sehr kniffliges Problem.
Ich habe einen Launcher für ein Spiel geschrieben welcher wunderbar funktionierte. Ich habe das Spiel modifiziert und jetzt funktioniert der Launcher nur wenn ich ihn über Eclipse starte. Wenn ich ihn Exportiere und dann starte, startet er zwar das Spiel wie er soll aber ich kriege kurz darauf ein Crash-Report des Spiel's.
Hierbei handelt es sich um das Spiel Minecraft. Ich habe es mit Forge und dem Paintball-Mod modifiziert.
Hier mal der Quellcode Teil der startet:
Java:
String[] online = {"java", "-Xms256m", "-Xmx256m", "-cp",roaming + "/.minecraft/bin/minecraft.jar;" + roaming + "/.minecraft/bin/jinput.jar;" + roaming + "/.minecraft/bin/lwjgl.jar;" + roaming + "/.minecraft/bin/lwjgl_util.jar;","-Djava.library.path=" + roaming + "/.minecraft/bin/natives","net.minecraft.client.Minecraft", username, sessionID};
Code:
---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.
Time: 15.01.13 21:24
Description: Failed to start game
java.lang.NullPointerException
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:70)
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:76)
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.exploreFileSystem(DirectoryDiscoverer.java:76)
at cpw.mods.fml.common.discovery.DirectoryDiscoverer.discover(DirectoryDiscoverer.java:40)
at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:30)
at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:52)
at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:103)
at cpw.mods.fml.common.Loader.identifyMods(Loader.java:334)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:457)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:159)
at net.minecraft.client.Minecraft.a(Minecraft.java:430)
at net.minecraft.client.Minecraft.run(Minecraft.java:762)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.5
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_07, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 163692832 bytes (156 MB) / 257294336 bytes (245 MB) up to 257294336 bytes (245 MB)
JVM Flags: 2 total; -Xms256m -Xmx256m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.23 FML v4.5.21.486 Minecraft Forge 6.4.1.436 3 mods loaded, 0 mods active
mcp [Minecraft Coder Pack] (minecraft.jar)
FML [Forge Mod Loader] (coremods)
Forge [Minecraft Forge] (coremods)
LWJGL: 2.4.2
OpenGL: GeForce GTX 570/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Hoffe jemand kann helfen bzw weiß Rat. Danke im Vorraus
Zuletzt bearbeitet von einem Moderator: