Jump to content

crashes right off the bat


Recommended Posts

it chash right after loading here is crash report 

 

---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!

Time: 5/16/20 7:04 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at de.cas_ual_ty.guncus.item.ItemGun.func_77624_a(ItemGun.java:687) ~[?:1.15.2-1.1] {re:classloading}
    at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:562) ~[?:?] {re:classloading}
    at net.minecraft.client.Minecraft.lambda$populateSearchTreeManager$6(Minecraft.java:583) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft$$Lambda$3999/1343134043.apply(Unknown Source) ~[?:?] {}
    at net.minecraft.client.util.SearchTree.func_194042_b(SourceFile:36) ~[?:?] {re:classloading}
    at net.minecraft.client.util.SearchTreeReloadable.func_217872_a(SourceFile:48) ~[?:?] {re:classloading}
    at net.minecraft.client.Minecraft.lambda$populateSearchTreeManager$9(Minecraft.java:601) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft$$Lambda$4008/952876299.accept(Unknown Source) ~[?:?] {}
    at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_51] {}
    at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:600) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:435) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:166) [?:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) [forge-1.15.2-31.1.0.jar:31.1] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$420/893320639.call(Unknown Source) [forge-1.15.2-31.1.0.jar:31.1] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at de.cas_ual_ty.guncus.item.ItemGun.func_77624_a(ItemGun.java:687)
    at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:562)
    at net.minecraft.client.Minecraft.lambda$populateSearchTreeManager$6(Minecraft.java:583)
    at net.minecraft.client.Minecraft$$Lambda$3999/1343134043.apply(Unknown Source)
    at net.minecraft.client.util.SearchTree.func_194042_b(SourceFile:36)
    at net.minecraft.client.util.SearchTreeReloadable.func_217872_a(SourceFile:48)
    at net.minecraft.client.Minecraft.lambda$populateSearchTreeManager$9(Minecraft.java:601)
    at net.minecraft.client.Minecraft$$Lambda$4008/952876299.accept(Unknown Source)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:600)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:435)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(SourceFile:166)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$420/893320639.call(Unknown Source)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.15.2
    Minecraft Version ID: 1.15.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1380098728 bytes (1316 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 8
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 5.0.0-milestone.4+67+b1a340b
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-2.0.0-milestone.1-service.jar eventbus PLUGINSERVICE 
        /forge-1.15.2-31.1.0.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.15.2-31.1.0.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-2.0.0-milestone.1-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.15.2-31.1.0.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.15.2-31.1.0.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.15.2-31.1.0.jar fml TRANSFORMATIONSERVICE 
    FML: 31.1
    Forge: net.minecraftforge:31.1.0
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        forge-1.15.2-31.1.0-client.jar Minecraft {[email protected] LOAD_REGISTRIES}
        torchmaster-2.1.1-rc0.jar Torchmaster {[email protected] LOAD_REGISTRIES}
        pamhc2trees-1.15.2-1.0.4.jar Pam's HarvestCraft 2 Fruit Trees {pamhc2trees@version LOAD_REGISTRIES}
        BiomesOPlenty-1.15.2-10.0.0.345-universal.jar Biomes O' Plenty {[email protected] LOAD_REGISTRIES}
        valhelsia_structures-15.0.2a.jar Valhelsia Structures {[email protected] LOAD_REGISTRIES}
        pamhc2crops-1.15.2-1.0.4.jar Pam's HarvestCraft 2 Crops {pamhc2crops@version LOAD_REGISTRIES}
        jei-1.15.2-6.0.0.4.jar Just Enough Items {[email protected] LOAD_REGISTRIES}
        gaiadimension-1.15.2-1.2.1.jar The Gaia Dimension {[email protected] LOAD_REGISTRIES}
        goldenhopper-1.1.1-1.15.2.jar Golden Hopper {[email protected] LOAD_REGISTRIES}
        ForgeEndertech-1.15.2-6.0.3.0-build.0036.jar Forge Endertech {[email protected] LOAD_REGISTRIES}
        AdLods-1.15.2-3.0.3.0-build.0035.jar Large Ore Deposits {[email protected] LOAD_REGISTRIES}
        pamhc2foodcore-1.15.2-1.0.3.jar Pam's HarvestCraft 2 Food Core {pamhc2foodcore@version LOAD_REGISTRIES}
        OreExcavation-1.7.151.jar Ore Excavation {oreexcavation@NONE LOAD_REGISTRIES}
        themidnight-0.5.7-3.jar The Midnight {[email protected] LOAD_REGISTRIES}
        DungeonCrawl-1.15.2-1.6.3.jar Dungeon Crawl {[email protected] LOAD_REGISTRIES}
        wirelessredstone-1.15.2-0.1.0.jar Wireless Redstone {[email protected] LOAD_REGISTRIES}
        guncus-1.15.2-1.1 (1).jar Gun Customization {[email protected] LOAD_REGISTRIES}
        mcw-roofs-1.0.2-mc1.15.2_1.15.1.jar Macaw's Roofs {[email protected] LOAD_REGISTRIES}
        interiormod-1.15.2-1.2.2.jar TheMCBrothers Interior Mod {[email protected] LOAD_REGISTRIES}
        furniture-7.0.0-pre16-1.15.1.jar MrCrayfish's Furniture Mod {[email protected] LOAD_REGISTRIES}
        mobcatcher-2.2.jar Mob Catcher {[email protected] LOAD_REGISTRIES}
        almostalltheores-2.0.2.4.jar Almost All the Ores {[email protected] LOAD_REGISTRIES}
        enchantability-6.1.jar Enchantability {[email protected] ERROR}
        forge-1.15.2-31.1.0-universal.jar Forge {[email protected] LOAD_REGISTRIES}
        luckyores-1.15.2-1.3.1.jar Lucky Ores Mod {[email protected] LOAD_REGISTRIES}
        Cyclic-1.15.2-0.1.7.jar Cyclic {[email protected] LOAD_REGISTRIES}
        Amethyst_Mod.jar Test {[email protected] LOAD_REGISTRIES}
    Launched Version: 1.15.2-forge-31.1.0
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: AMD Radeon(TM) Vega 8 Graphics GL version 4.6.13560 Compatibility Profile Context 26.20.11026.12, ATI Technologies Inc.
    GL Caps: Using framebuffer using OpenGL 3.0
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    CPU: 8x AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Yeah, Minecraft.getInstance().player only works on the client side. Is there a way to get the player from the NetworkEvent.Context?
    • I have tried multimc, prism, and curseforge. They all crash without creating any logs.
    • I play with friends a server with mods, funny enough im the only one getting the error. Link to the crash error:https://pastebin.com/Qgn57EXZ
    • I have a keybind where you spit like a llama. On singleplayer both the entity and particle spawn and it's sound is played (https://youtu.be/bpxnFDuWw_I). But on a server only the entity is spawned and nothing else (https://youtu.be/veVQ4zSqnIA), no particles nor sound. Upon starting the server I have noticed this error in the window (https://postimg.cc/K3KDCpMY), don't know if it's relevant. The server works fine but when I want to spit the following pops up in the serverlog '''Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER''' (https://postimg.cc/LqTDP1Sm). I have prepared the following code of the Server-to-Client packet class which I have made to spawn mentioned particles and sounds. package mett.palemannie.tabakmod.networking.packets; import net.minecraft.client.Minecraft; import net.minecraft.core.particles.ParticleTypes; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.sounds.SoundEvents; import net.minecraft.util.RandomSource; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class SpuckEffektS2CPacket { public SpuckEffektS2CPacket(){ } public SpuckEffektS2CPacket(FriendlyByteBuf buf){ } public void toBytes(FriendlyByteBuf buf){ } public boolean handle(Supplier<NetworkEvent.Context> supplier){ NetworkEvent.Context context = supplier.get(); context.enqueueWork(()-> { Player player = Minecraft.getInstance().player; //Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER Level level = Minecraft.getInstance().level; RandomSource rdm = RandomSource.create(); float r = rdm.nextInt(80, 120) / 100f; player.playSound(SoundEvents.LLAMA_SPIT, 1f, r); Vec3 MausPos = player.getEyePosition(); Vec3 SchauWinkel = player.getLookAngle(); level.addParticle(ParticleTypes.SPIT, true, MausPos.x, MausPos.y, MausPos.z, SchauWinkel.x/4, SchauWinkel.y/4, SchauWinkel.z/4); }); return true; } } Is there an alternative to Minecraft.getInstance().player;? dumb question. I have looked at other mods (MrCrayfish's Gun Mod, Ars Noveau, Apotheosis) on how they handle such server-to-client sound and particles but I haven't got any wiser.    
    • i keep getting error on minecraft when im trying to play modpack. When i go to logs folder i got this. 
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.