Java lang illegalargumentexception minecraft ошибка


  • Search


    • Search all Forums


    • Search this Forum


    • Search this Thread


  • Tools


    • Jump to Forum


  • #1

    Apr 21, 2019

    UPDATE: Removing Optifine worked at first. Now, however, whenever I create a new world, I get the following crash.

    FINAL UPDATE: Turns out the culprit was, oddly enough, Animania. Removing it completely stopped the crashes. Thank you for your help and ideas <3

    Full report:

    —- Minecraft Crash Report —-
    WARNING: coremods are present:
    llibrary (llibrary-core-1.0.11-1.12.2.jar)
    Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
    LoadingPlugin (Quark-r1.5-146.jar)
    Do not report to Forge! (If you haven’t disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.5-1.12.2.jar)
    AppleCore (AppleCore-mc1.12.2-3.2.0.jar)
    TheBetweenlandsLoadingPlugin (TheBetweenlands-3.4.6-core.jar)
    PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.1.6+build31.jar)
    SSLoadingPlugin (SereneSeasons-1.12.2-1.2.15-universal.jar)
    DynamicSurroundingsCore (DynamicSurroundings-core-1.12.2-3.5.4.3.jar)
    Contact their authors BEFORE contacting forge
    // There are four lights!
    Time: 4/22/19 9:40 PM
    Description: Exception in server tick loop
    java.lang.IllegalArgumentException
    at net.minecraft.util.WeightedRandom.func_76273_a(SourceFile:18)
    at net.minecraft.util.WeightedRandom.func_76271_a(SourceFile:37)
    at net.minecraft.world.WorldEntitySpawner.func_77191_a(WorldEntitySpawner.java:266)
    at biomesoplenty.common.world.ChunkGeneratorOverworldBOP.func_185931_b(ChunkGeneratorOverworldBOP.java:569)
    at net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1019)
    at net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:999)
    at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:157)
    at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:344)
    at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:142)
    at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
    at java.lang.Thread.run(Thread.java:745)

    A detailed walkthrough of the error, its code path and all known details is as follows:
    —————————————————————————————
    — System Details —
    Details:
    Minecraft Version: 1.12.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: 1046397416 bytes (997 MB) / 1778384896 bytes (1696 MB) up to 6442450944 bytes (6144 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 1, tcache: 1, allocated: 3, tallocated: 104
    FML: MCP 9.42 Powered by Forge 14.23.5.2814 43 mods loaded, 43 mods active
    States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
    | State | ID | Version | Source | Signature |
    |:—— |:—————— |:———————— |:———————————————————— |:—————————————- |
    | LCHIJA | minecraft | 1.12.2 | minecraft.jar | None |
    | LCHIJA | mcp | 9.42 | minecraft.jar | None |
    | LCHIJA | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2814.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | forge | 14.23.5.2814 | forge-1.12.2-14.23.5.2814.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | foamfixcore | 7.7.4 | minecraft.jar | None |
    | LCHIJA | dsurroundcore | 3.5.4.3 | minecraft.jar | None |
    | LCHIJA | orbis-lib | 0.2.0 | orbis-lib-1.12.2-0.2.0+build42.jar | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
    | LCHIJA | aether | 0.2.0 | aether_ii-1.12.2-0.2.0+build42-universal.jar | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
    | LCHIJA | biomesoplenty | 7.0.1.2419 | BiomesOPlenty-1.12.2-7.0.1.2419-universal.jar | None |
    | LCHIJA | craftstudioapi | 1.0.0 | CraftStudioAPI-universal-1.0.1.95-mc1.12-alpha.jar | None |
    | LCHIJA | harvestcraft | 1.12.2zb | Pam’s+HarvestCraft+1.12.2zc+The+7mm+Kidney+Stone+Update.jar | None |
    | LCHIJA | twilightforest | 3.8.689 | twilightforest-1.12.2-3.8.689-universal.jar | None |
    | LCHIJA | animania | 1.6.2 | animania-1.12.2-1.6.2.jar | None |
    | LCHIJA | applecore | 3.2.0 | AppleCore-mc1.12.2-3.2.0.jar | None |
    | LCHIJA | jei | 4.15.0.268 | jei_1.12.2-4.15.0.268.jar | None |
    | LCHIJA | appleskin | 1.0.9 | AppleSkin-mc1.12-1.0.9.jar | None |
    | LCHIJA | quark | r1.5-146 | Quark-r1.5-146.jar | None |
    | LCHIJA | autoreglib | 1.3-26 | AutoRegLib-1.3-26.jar | None |
    | LCHIJA | carryon | 1.12.1 | CarryOn+MC1.12.2+v1.12.1.jar | 55e88f24d04398481ae6f1ce76f65fd776f14227 |
    | LCHIJA | ebwizardry | 4.1.4 | Electroblob’s+Wizardry+-+4.1.4+-+MC+1.12.2.jar | None |
    | LCHIJA | erebus | 1.0.29 | Erebus-1.0.29.jar | None |
    | LCHIJA | fbp | 2.4.1 | FancyBlockParticles-1.12.x-2.4.1.jar | None |
    | LCHIJA | foamfix | 0.10.5-1.12.2 | foamfix-0.10.5-1.12.2.jar | None |
    | LCHIJA | gravestone | 1.10.2 | gravestone-1.10.2.jar | None |
    | LCHIJA | waila | 1.8.26 | Hwyla-1.8.26-B41_1.12.2.jar | None |
    | LCHIJA | llibrary | 1.7.18 | llibrary-1.7.18-1.12.2.jar | b9f30a813bee3b9dd5652c460310cfcd54f6b7ec |
    | LCHIJA | iceandfire | 1.7.1 | iceandfire-1.7.1-1.12.2.jar | None |
    | LCHIJA | inventorytweaks | 1.63+release.109.220f184 | InventoryTweaks-1.63.jar | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |
    | LCHIJA | lex | 1.0.8 | LibEx-1.12.2-1.0.8.jar | None |
    | LCHIJA | radixcore | 1.12.x-2.2.1 | RadixCore-1.12.x-2.2.1-universal.jar | None |
    | LCHIJA | mca | 1.12.2-5.3.1 | MCA-1.12.x-5.3.1-universal.jar | None |
    | LCHIJA | mowziesmobs | 1.5.4 | mowziesmobs-1.5.4.jar | None |
    | LCHIJA | nex | 2.0.8 | NetherEx-1.12.2-2.0.8.jar | None |
    | LCHIJA | nutrition | 4.3.0 | Nutrition-1.12.2-4.3.0.jar | None |
    | LCHIJA | realdrops | 1.2.14 | RealisticItemDrops-1.2.14.jar | None |
    | LCHIJA | sereneseasons | 1.2.15 | SereneSeasons-1.12.2-1.2.15-universal.jar | None |
    | LCHIJA | spiceoflife | 1.3.12 | SpiceOfLife-mc1.12-1.3.12.jar | None |
    | LCHIJA | treechopper | 1.2.4 | Tree-Chopper-Mod-1.12.2.jar | None |
    | LCHIJA | wawla | 2.5.269 | Wawla-1.12.2-2.5.269.jar | d476d1b22b218a10d845928d1665d45fce301b27 |
    | LCHIJA | phosphor-lighting | 1.12.2-0.1.6 | phosphor-1.12.2-0.1.6+build31.jar | f0387d288626cc2d937daa504e74af570c52a2f1 |
    | LCHIJA | orelib | 3.5.2.2 | OreLib-1.12.2-3.5.2.2.jar | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCHIJA | dsurround | 3.5.4.3 | DynamicSurroundings-1.12.2-3.5.4.3.jar | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCHIJA | thebetweenlands | 3.4.6 | TheBetweenlands-3.4.6-universal.jar | 38067d6878811efb38b6a045521cfd80b9b60b38 |
    Loaded coremods (and transformers):
    llibrary (llibrary-core-1.0.11-1.12.2.jar)
    net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
    net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
    Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
    invtweaks.forge.asm.ContainerTransformer
    LoadingPlugin (Quark-r1.5-146.jar)
    vazkii.quark.base.asm.ClassTransformer
    Do not report to Forge! (If you haven’t disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.5-1.12.2.jar)
    pl.asie.foamfix.coremod.FoamFixTransformer
    AppleCore (AppleCore-mc1.12.2-3.2.0.jar)
    squeek.applecore.asm.TransformerModuleHandler
    TheBetweenlandsLoadingPlugin (TheBetweenlands-3.4.6-core.jar)
    thebetweenlands.core.TheBetweenlandsClassTransformer
    PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.1.6+build31.jar)

    SSLoadingPlugin (SereneSeasons-1.12.2-1.2.15-universal.jar)
    sereneseasons.asm.transformer.EntityRendererTransformer
    sereneseasons.asm.transformer.WorldTransformer
    DynamicSurroundingsCore (DynamicSurroundings-core-1.12.2-3.5.4.3.jar)
    org.orecruncher.dsurround.asm.Transformer
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    Profiler Position: N/A (disabled)
    Player Count: 0 / 8; []
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to ‘fml,forge’


  • #3

    Apr 21, 2019

    That seems to have fixed it. Thank you!


  • #4

    Apr 22, 2019

    Aaand it’s back to crashing. This time whenever I make a new world. I updated the initial post.


  • #5

    Apr 22, 2019

    Remove mods out one by one to find out which one is causing the issue.

    Say something silly, Laugh ’til it hurts, Take a risk, Sing out loud, Rock the boat, Shake things up, Flirt with disaster, Buy something frivolous, Color outside the lines, Cause a scene, Order dessert, Make waves, Get carried away, Have a great day!

  • To post a comment, please login.

Posts Quoted:

Reply

Clear All Quotes


[20:45:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[20:45:06] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[20:45:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[20:45:06] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2860 for Minecraft 1.12.2 loading
[20:45:06] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\timka\AppData\Roaming\.tlauncher\legacy\Minecraft\jre\jre-legacy\windows-x64\jre-legacy
[20:45:06] [main/INFO] [FML]: Searching C:\Users\timka\AppData\Roaming\.tlauncher\legacy\Minecraft\game\mods for mods
[20:45:06] [main/INFO] [FML]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine-1.12.2_HD_U_G5.jar
[20:45:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:45:06] [main/INFO] [LaunchWrapper]: Loading tweak class name optifine.OptiFineForgeTweaker
[20:45:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[20:45:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:45:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:45:06] [main/INFO] [LaunchWrapper]: Calling tweak class optifine.OptiFineForgeTweaker
[20:45:06] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
[20:45:06] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
[20:45:06] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ClassTransformer
[20:45:06] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ZIP file: C:\Users\timka\AppData\Roaming\.tlauncher\legacy\Minecraft\game\libraries\optifine\OptiFine\1.12.2_HD_U_G5\OptiFine-1.12.2_HD_U_G5.jar
[20:45:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:45:08] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[20:45:08] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[20:45:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:45:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[20:45:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[20:45:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[20:45:09] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: getLaunchArguments
[20:45:09] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[20:45:09] [main/INFO] [STDOUT]: [net.minecraft.client.main.Main:main:55]: Completely ignored arguments: [--modListFile, tempModList-1687196704953]
[20:45:09] [Client thread/INFO] [mojang/YggdrasilAuthenticationService]: Environment: ElyEnvironment[name=ely,authHost=https://authserver.ely.by/auth,accountsHost=https://account.ely.by/api/mojang,sessionHost=https://account.ely.by/api/minecraft/session,servicesHost=<null>]
[20:45:10] [Client thread/INFO] [mojang/YggdrasilMinecraftSessionService]: [CertJavaAgent] JRE trust store doesn't contain Cert{CN=ISRG Root X1,O=Internet Security Research Group,C=US,SHA-1:cabd2a79a1076a31f21d253635cb039d4329a5e8,SHA-256:96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6}
[20:45:10] [Client thread/INFO] [mojang/YggdrasilMinecraftSessionService]: [CertJavaAgent] Will use updated KeyStore that includes missing certificates
[20:45:10] [Client thread/INFO] [minecraft/Minecraft]: Setting user: Light
[20:45:13] [Client thread/INFO] [net.optifine.reflect.Reflector]: [OptiFine] *** Reflector Forge ***
[20:45:13] [Client thread/INFO] [net.optifine.reflect.Reflector]: [OptiFine] *** Reflector Vanilla ***
[20:45:13] [Client thread/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[20:45:13] [Client thread/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[20:45:13] [Client thread/INFO] [Config]: [OptiFine]
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] OptiFine_1.12.2_HD_U_G5
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] Build: 20210124-142939
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] OS: Windows 10 (amd64) version 10.0
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] Java: 1.8.0_51, Oracle Corporation
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] LWJGL: 2.9.4
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] OpenGL: GeForce GT 730/PCIe/SSE2, version 4.6.0 NVIDIA 456.71, NVIDIA Corporation
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] OpenGL Version: 4.6.0
[20:45:13] [Client thread/INFO] [Config]: [OptiFine] Maximum texture size: 16384x16384
[20:45:13] [VersionCheck/INFO] [Config]: [OptiFine] Checking for new version
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] OpenGL Version: 4.6.0 NVIDIA 456.71
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] Vendor:  NVIDIA Corporation
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] Renderer: GeForce GT 730/PCIe/SSE2
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] Capabilities:  2.0  2.1  3.0  3.2  4.0
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] GL_MAX_DRAW_BUFFERS: 8
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] Load shaders configuration.
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] Shaders can not be loaded, Fast Render is enabled.
[20:45:14] [Client thread/INFO] [net.optifine.shaders.SMCLog]: [Shaders] No shaderpack loaded.
[20:45:14] [Client thread/INFO] [Config]: [OptiFine] [Shaders] Delayed loading of block mappings after resources are loaded
[20:45:14] [Client thread/INFO] [Config]: [OptiFine] [Shaders] Delayed loading of item mappings after resources are loaded
[20:45:14] [Client thread/INFO] [Config]: [OptiFine] [Shaders] Delayed loading of entity mappings after resources are loaded
[20:45:14] [VersionCheck/INFO] [Config]: [OptiFine] Version found: G5
[20:45:14] [Client thread/INFO] [FML]: Forge Mod Loader has detected optifine OptiFine_1.12.2_HD_U_G5, enabling compatibility features
[20:45:14] [Client thread/INFO] [FML]: -- System Details --
Details:
    Minecraft Version: 1.12.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: 1847860616 bytes (1762 MB) / 2147483648 bytes (2048 MB) up to 5368709120 bytes (5120 MB)
    JVM Flags: 13 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Xms2048M -Xmx5120M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss2M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 456.71' Renderer: 'GeForce GT 730/PCIe/SSE2'
[20:45:14] [Client thread/INFO] [FML]: MinecraftForge v14.23.5.2860 Initialized
[20:45:14] [Client thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[20:45:14] [Client thread/INFO] [FML]: Invalid recipe found with multiple oredict ingredients in the same ingredient...
[20:45:14] [Client thread/INFO] [FML]: Replaced 1227 ore ingredients
[20:45:14] [Client thread/INFO] [FML]: Searching C:\Users\timka\AppData\Roaming\.tlauncher\legacy\Minecraft\game\mods for mods
[20:45:16] [Client thread/WARN] [FML]: Mod supermod is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 0.0.1 beta
[20:45:16] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[20:45:16] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, supermod] at CLIENT
[20:45:16] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, supermod] at SERVER
[20:45:16] [Client thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Super Mod
[20:45:16] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 96128400 nanos
[20:45:16] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[20:45:16] [Client thread/INFO] [FML]: Found 1169 ObjectHolder annotations
[20:45:16] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[20:45:16] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[20:45:16] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[20:45:16] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[20:45:16] [Client thread/INFO] [FML]: Applying holder lookups
[20:45:16] [Client thread/INFO] [FML]: Holder lookups applied
[20:45:16] [Client thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.RegistryEvent$Register@7b51fc45:
java.lang.NullPointerException: null
    at ru.light.supermod.ItemsRegistry.registryModel(ItemsRegistry.java:32) ~[ItemsRegistry.class:1.0]
    at ru.light.supermod.ItemsRegistry.onRegistryItem(ItemsRegistry.java:25) ~[ItemsRegistry.class:1.0]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_ItemsRegistry_onRegistryItem_Register.invoke(.dynamic) ~[?:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144) ~[EventBus$1.class:?]
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:850) [GameData.class:?]
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630) [Loader.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467) [bib.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378) [bib.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
[20:45:16] [Client thread/ERROR] [FML]: Index: 2 Listeners:
[20:45:16] [Client thread/ERROR] [FML]: 0: NORMAL
[20:45:16] [Client thread/ERROR] [FML]: 1: net.minecraftforge.fml.common.eventhandler.EventBus$1@46135aba
[20:45:16] [Client thread/ERROR] [FML]: 2: net.minecraftforge.fml.common.eventhandler.EventBus$1@25a218a
[20:45:17] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:553]: ---- Minecraft Crash Report ----

WARNING: coremods are present:
Contact their authors BEFORE contacting forge

// Don't do that.

Time: 6/19/23 8:45 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at ru.light.supermod.ItemsRegistry.registryModel(ItemsRegistry.java:32)
    at ru.light.supermod.ItemsRegistry.onRegistryItem(ItemsRegistry.java:25)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_ItemsRegistry_onRegistryItem_Register.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:850)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Thread: Client thread
Stacktrace:
    at ru.light.supermod.ItemsRegistry.registryModel(ItemsRegistry.java:32)
    at ru.light.supermod.ItemsRegistry.onRegistryItem(ItemsRegistry.java:25)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_ItemsRegistry_onRegistryItem_Register.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:850)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
    Minecraft Version: 1.12.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: 1832755744 bytes (1747 MB) / 2147483648 bytes (2048 MB) up to 5368709120 bytes (5120 MB)
    JVM Flags: 13 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Xms2048M -Xmx5120M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss2M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2860 Optifine OptiFine_1.12.2_HD_U_G5 5 mods loaded, 5 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID        | Version      | Source                        | Signature                                |
    |:----- |:--------- |:------------ |:----------------------------- |:---------------------------------------- |
    | LCH   | minecraft | 1.12.2       | minecraft.jar                 | None                                     |
    | LCH   | mcp       | 9.42         | minecraft.jar                 | None                                     |
    | LCH   | FML       | 8.0.99.99    | forge-1.12.2-14.23.5.2860.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCH   | forge     | 14.23.5.2860 | forge-1.12.2-14.23.5.2860.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCH   | supermod  | 0.0.1 beta   | modid-1.0.jar                 | None                                     |

    Loaded coremods (and transformers):
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 456.71' Renderer: 'GeForce GT 730/PCIe/SSE2'
    Launched Version: ForgeOptiFine 1.12.2
    LWJGL: 2.9.4
    OpenGL: GeForce GT 730/PCIe/SSE2 GL version 4.6.0 NVIDIA 456.71, NVIDIA Corporation
    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: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs:
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 6x Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
    OptiFine Version: OptiFine_1.12.2_HD_U_G5
    OptiFine Build: 20210124-142939
    Render Distance Chunks: 7
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 4.6.0 NVIDIA 456.71
    OpenGlRenderer: GeForce GT 730/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 6
[20:45:17] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:553]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\timka\AppData\Roaming\.tlauncher\legacy\Minecraft\game\crash-reports\crash-2023-06-19_20.45.17-client.txt

Thread Status:

Not open for further replies.
  1. Hi, I’m newer to coding Spigot plugins and I’ve run into this error:

    java.lang.IllegalArgumentException: Path cannot be null
        at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[patched_1.16.5.jar:git-Paper-735]
        at org.bukkit.configuration.MemorySection.get(MemorySection.java:237) ~[patched_1.16.5.jar:git-Paper-735]
        at org.bukkit.configuration.MemorySection.getBoolean(MemorySection.java:365) ~[patched_1.16.5.jar:git-Paper-735]
        at me.lyndensylvester.halloween.listener.EventListener.spawn(EventListener.java:121) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-735]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-735]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-735]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Paper-735]
        at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:719) ~[patched_1.16.5.jar:git-Paper-735]
        at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:637) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.WorldServer.addEntity0(WorldServer.java:1302) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.WorldServer.addEntity(WorldServer.java:1203) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.WorldAccess.lambda$addAllEntities$0(WorldAccess.java:16) ~[patched_1.16.5.jar:git-Paper-735]
        at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
        at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) ~[?:?]
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) ~[?:?]
        at net.minecraft.server.v1_16_R3.WorldAccess.addAllEntities(WorldAccess.java:16) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.SpawnerCreature.spawnMobsInternal(SpawnerCreature.java:286) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.SpawnerCreature.spawnMobs(SpawnerCreature.java:212) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.SpawnerCreature.a(SpawnerCreature.java:188) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.ChunkProviderServer.lambda$tickChunks$14(ChunkProviderServer.java:867) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.PlayerChunkMap.forEachVisibleChunk(PlayerChunkMap.java:683) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.ChunkProviderServer.tickChunks(ChunkProviderServer.java:849) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.ChunkProviderServer.tick(ChunkProviderServer.java:767) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.WorldServer.doTick(WorldServer.java:576) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1489) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:436) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1341) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1129) ~[patched_1.16.5.jar:git-Paper-735]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:290) ~[patched_1.16.5.jar:git-Paper-735]
        at java.lang.Thread.run(Thread.java:832) [?:?]

    Here’s the code I’m trying to run in my EventListener:

    package me.lyndensylvester.halloween.listener;
    
    import java.util.Random;
    import org.bukkit.Bukkit;
    import org.bukkit.Location;
    import org.bukkit.Material;
    import org.bukkit.World;
    import org.bukkit.block.Block;
    import org.bukkit.entity.Entity;
    import org.bukkit.entity.EntityType;
    import org.bukkit.entity.LivingEntity;
    import org.bukkit.entity.Player;
    import org.bukkit.entity.Skeleton;
    import org.bukkit.entity.Zombie;
    import org.bukkit.event.EventHandler;
    import org.bukkit.event.Listener;
    import org.bukkit.event.block.Action;
    import org.bukkit.event.block.BlockBreakEvent;
    import org.bukkit.event.entity.EntityDeathEvent;
    import org.bukkit.event.entity.EntitySpawnEvent;
    import org.bukkit.event.player.PlayerInteractEvent;
    import org.bukkit.inventory.EntityEquipment;
    import org.bukkit.inventory.ItemStack;
    import me.lyndensylvester.halloween.utils.Utils;
    import me.lyndensylvester.halloween.Main;
    import me.lyndensylvester.halloween.items.ItemManager;
    
    public class EventListener implements Listener {
    
        private static Main plugin;
       
        @SuppressWarnings("static-access")
        public EventListener(Main plugin) {
            this.plugin = plugin;
           
            Bukkit.getPluginManager().registerEvents(this, plugin);
        }
       
        Player p;
        Block b;
        EntityType t;
       
        /**
        * BlockBreak event
        * 
        * Detect if the player broke a melon block
        * and send a success or failure spawn message
        * 
        * @param event
        */
        @EventHandler
        public void onBlockBreak(BlockBreakEvent event) {
            p = (Player) event.getPlayer();
            b = (Block) event.getBlock();
    
            if (b.getType() == Material.MELON) {
                Random rand = new Random();
                var max = 100;
                var min = 0;
                int chance = rand.nextInt(max - min + 1)  + min;
    
                if (chance > 33) {
                    Location spawnLoc = p.getLocation().add(2,0,0);
                    World world = p.getWorld();
    
                    @SuppressWarnings("unused")
                    Skeleton skeleton = (Skeleton) world.spawnEntity(spawnLoc, EntityType.SKELETON);
                    Bukkit.broadcastMessage(Utils.chat(plugin.getConfig().getString("melon_succes").replace("<player>", p.getName())));
                }
               
                else {
                    Bukkit.broadcastMessage(Utils.chat(plugin.getConfig().getString("melon_fail").replace("<player>", p.getName())));
                }
            }
           
            if (b.getType() == Material.PUMPKIN) {
                Random rand = new Random();
                var max = 100;
                var min = 0;
                int chance = rand.nextInt(max - min + 1) + min;
               
                if (chance > 50) {
                    Location spawnLoc = p.getLocation().add(2,0,0);
                    World world = p.getWorld();
                   
                    @SuppressWarnings("unused")
                    Zombie zombie =(Zombie) world.spawnEntity(spawnLoc, EntityType.ZOMBIE);
                    Bukkit.broadcastMessage(Utils.chat(plugin.getConfig().getString("pumpkin_succes").replace("<player>", p.getName())));
                }
               
                else {
                    Bukkit.broadcastMessage(Utils.chat(plugin.getConfig().getString("pumpkin_fail").replace("<player>", p.getName())));
                }
            }
           
        }
       
        /**
        * EntitySpawn event
        * 
        * Spawn a skeleton 2 blocks to the right of the player
        * 
        * @param event
        */
        @SuppressWarnings({ })
        @EventHandler
        public void spawn(EntitySpawnEvent event) {
    
                Entity entity = event.getEntity();
               
            if (plugin.getConfig().getBoolean(null, true) && (entity instanceof Skeleton)) {
                EntityEquipment  ee = ((Skeleton)entity).getEquipment();
                ee.setHelmet(new ItemStack(Material.MELON));
                ee.setHelmetDropChance(100);
            }
            if (plugin.getConfig().getBoolean(null, true) && (entity instanceof Zombie)) {
                EntityEquipment  ee = ((Zombie)entity).getEquipment();
                ee.setHelmet(new ItemStack(Material.PUMPKIN));
                ee.setHelmetDropChance(100);
            }
            if (plugin.getConfig().getBoolean(null, false)) {
                p.sendMessage("This feature has been disabled! Go to the config to re-enable it!");
            }
        }
       
        /**
        * EntityDeath event
        * 
        * Add custom Drops to the mob
        * 
        * @param event
        */
        @EventHandler
        public void onDeath(EntityDeathEvent event) {
            LivingEntity e = event.getEntity();
            Random rand = new Random();
            var max = 100;
            var min = 0;
            int chance = rand.nextInt(max - min + 1)  + min;
           
            if (e instanceof Skeleton) {
                // 50%
                if (chance < 50) {
                    e.getLocation().getWorld().dropItem(e.getLocation(), new ItemStack(Material.COAL));
                }
                // 25%
                else if ((49 < chance) && (chance < 75)) {
                    e.getLocation().getWorld().dropItem(e.getLocation(), new ItemStack(Material.IRON_INGOT));
                }
                // 13%
                else if ((74 < chance) && (chance < 88)) {
                    e.getLocation().getWorld().dropItem(e.getLocation(), new ItemStack(Material.GOLD_INGOT));
                }
                // 7%
                else if ((87 < chance) && (chance < 95))
                    e.getLocation().getWorld().dropItem(e.getLocation(), new ItemStack(Material.REDSTONE_WIRE));
                }
                // 4%
                else if ((94 < chance) && (chance < 99)) {
                    e.getLocation().getWorld().dropItem(e.getLocation(), new ItemStack(Material.DIAMOND));
                }
                // 2%
                else {
                    e.getLocation().getWorld().dropItem(e.getLocation(), new ItemStack(Material.EMERALD));
                }
        }
       
        @EventHandler
        public static void onRightClick(PlayerInteractEvent event) {
            if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
                if (event.getItem() != null) {
                    if (event.getItem().getItemMeta().equals(ItemManager.superSword.getItemMeta()))  {
                        Player p = event.getPlayer();
                        p.getWorld().createExplosion(p.getLocation(), 2.0f);
                        p.sendMessage("&7 You Dare use the Super Sword!");
                    }
                }
            }
           
        }
    }
    
    

    This is what ItemManager does:

    package me.lyndensylvester.halloween.items;
    
    import java.util.ArrayList;
    import java.util.List;
    import org.bukkit.Material;
    import org.bukkit.enchantments.Enchantment;
    import org.bukkit.inventory.ItemFlag;
    import org.bukkit.inventory.ItemStack;
    import org.bukkit.inventory.meta.ItemMeta;
    
    publicclassItemManager {
    
        publicstaticItemStacksuperSword;
    
        publicstaticvoidinit() {
            createSuperSword();
        }
    
        privatestaticvoidcreateSuperSword() {
    
            ItemStack item = new ItemStack(Material.IRON_SWORD, 1);
            ItemMetameta = item.getItemMeta();
            meta.setDisplayName("Super Sword");
            List<String> lore = new ArrayList<>();
            lore.add("&7This is the most powerful sword");
            lore.add("&7in all of Minecradt's history");
            meta.setLore(lore);
            meta.addEnchant(Enchantment.SWEEPING_EDGE, 3, false);
            meta.addItemFlags(ItemFlag.HIDE_ENCHANTS);
            item.setItemMeta(meta);
            superSword = item;  
        }
    }
    

    This is how I have my Main file setup:

    package me.lyndensylvester.halloween;
    
    import org.bukkit.plugin.java.JavaPlugin;
    import me.lyndensylvester.halloween.commands.HalloweenCommand;
    import me.lyndensylvester.halloween.items.ItemManager;
    import me.lyndensylvester.halloween.listener.EventListener;
    
    public class Main extends JavaPlugin {
    
        @Override
        public void onEnable() {
            new EventListener(this);
            ItemManager.init();
            getServer().getPluginManager().registerEvents(new EventListener(this), this);
            getCommand("superSword").setExecutor(new HalloweenCommand());
        }
    }

    And this is how I have HalloweenCommand setup:

    package me.lyndensylvester.halloween.commands;
    
    import org.bukkit.Location;
    import org.bukkit.World;
    import org.bukkit.command.Command;
    import org.bukkit.command.CommandExecutor;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.EntityType;
    import org.bukkit.entity.Player;
    import org.bukkit.entity.Skeleton;
    import me.lyndensylvester.halloween.items.ItemManager;
    
    public class HalloweenCommand implements CommandExecutor {
       
        @Override
        public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
            if(!(sender instanceof Player)) {
                sender.sendMessage("Only players may execute this command");
                return true;
            }
           
            Player p = (Player) sender;
           
            if (cmd.getName().equalsIgnoreCase("Halloween")) {
                p.sendMessage("Happy Halloween >:)");
                Location spawnLoc = p.getLocation().add(2,0,0);
                World world = p.getWorld();
               
                @SuppressWarnings("unused")
                Skeleton skeleton = (Skeleton) world.spawnEntity(spawnLoc, EntityType.SKELETON);
                return true;
            }
           
            if (cmd.getName().equalsIgnoreCase("superSword")) {
                p.getInventory().addItem(ItemManager.superSword);
            }
           
            else {
                p.sendMessage("You do not have the permission to execute this command");
            }
            return true;   
        }   
    }
    

    What’s causing the error and how do I fix it? everything in the code is logically sound, but only the superSword works and not the EntitySpawning. Help would be greatly appreciated!

  2. @Lynden Sylver
    Your error says it’s a IllegalArgumentException and path cannot be null.
    Then you can look at your stacktrace and it’s saying:
    at me.lyndensylvester.halloween.listener.EventListener.spawn(EventListener.java:121) ~[?:?]

    You can then deduce that there’s a problem in the EventListener.java file, at line 121, in the method spawn().


    if (plugin.getConfig().getBoolean(nullfalse)) { // This line!
        
    p.sendMessage("This feature has been disabled! Go to the config to re-enable it!");
    }


    The signature of the getBoolean() method is getBoolean(path, defaultValue)
    «path cannot be null» is the error message. You get the point.

    psst @timtower wrong section no?

  3. Online

    timtower


    Administrator

    Administrator

    Moderator

    Psst, report button no? :p

    Moved to plugin development.

  4. Forgot the existence of that button shh tim dont make it obvious


    KarimAKL and timtower like this.

  5. @Shqep

    I know Java, but I haven’t worked with paths before.

    Are there any resources available explaining how I can identify the path I need?

    That error has been driving crazy the last couple of days.

    Also, thanks for pinpointing the source of my error, being newer to the API, I’m still learning about all the nuances of the methods I’m using.

    Last edited: Jun 16, 2021

  6. @Lynden Sylver
    Assuming this is a yaml file:

    testString:
      key1: true
      key2: "Hello"
    testString2:
      key3: 1.0
      key4:
      - "List"
      - "of"
      - "String"

    Consider the yaml file as a very big HashMap, and the path is just the key to point to the value. So if you want to get the list of string above, you need to specify the path as «testString2.key4». Likewise:

    1. config.getBoolean("testString.key1"); // returns true
    2. config.getString("testString.key2"); // returns "Hello"
    3. config.getDouble("testString2.key3"); // returns 1.0
    4. config.getStringList("testString2.key4"); // returns a list containing "List", "of", and "String"
    5. config.getKeys(false); // returns a list of the main keys "testString" and "testString2"

    You can specify the second argument as the «default value»:

    1. config.getBoolean("testString.key4", true); // "testString.key4" path returns null, so true is returned instead
  7. @Shqep

    Just a quick follow-up,

    How would I pass a casted Player into my EntitySpawnEvent so that I can use p.sendMessage?

    I understand Player is not a child of the EntitySpawnEvent, so what’s a workaround that would let me pass a casted Player so I can send the player a message?

    I already have Player p declared in global scope, but how can I instantiate it for use in EntitySpawnEvent? (Refer back to my original post for the EventListener Class where I declare Player as p)

  8. @Lynden Sylver
    That really didn’t make a lot of sense. EntitySpawnEvents are only called only when an entity is created/spawned. They have absolutely nothing to do with a player.
    If you want to detect who used the spawn egg, you might want to refer to the event PlayerInteractEvent or some similar ones.

    If you want to send a player a message (why?), use the Bukkit.getPlayer(name) or Bukkit.getPlayer(uuid). You don’t create a new instance of Player because the new thing won’t be bound to any actual players. Unless you know exactly what you are doing and how to bind that new instance to an existing player for Bukkit to recognize, it’s better to just stay away.

    Defining a Player property for the class is a very bad idea. Just imagine, what if there are many players being assigned to that variable, they keep overriding each other and from your standpoint, you do not know who you are sending the message to.


    Show Spoiler
    Hide Spoiler

    Some more advice since you are new to the api:
    1. You have a class named HalloweenCommand, why not make another small class for the supersword command? Cleans up a bit and you don’t have to call checks for cmd.getName().

    1. getCommand("halloween").setExecutor(new HalloweenCommand());
    2. getCommand("supersword").setExecutor(new SuperswordCommand());
    3. public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
    4. // No need to check cmd.getName() anymore since it's always "halloween"
    5. assert cmd.getName().equalsIgnoreCase("halloween");
    6. public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
    7. // No need to check cmd.getName() anymore since it's always "supersword"
    8. assert cmd.getName().equalsIgnoreCase("supersword");

    2. Currently from your codes, the cmd.getName() will never be «halloween» since you never specified its executor.

    1. getCommand("halloween").setExecutor(...);

    3. You’re not checking for permissions in your command class:

    1. // Reread it and you should see it's pretty weird.
    2. if (cmd.getName().equalsIgnoreCase("superSword")) {
    3. p.getInventory().addItem(ItemManager.superSword);
    4. p.sendMessage("You do not have the permission to execute this command");
    5. if(p.hasPermission("permission.node")) {
    6. } else p.sendMessage("no perms L");
    7. // Proper way 2 "negative checks"
    8. if(!p.hasPermission("permission.node")) {
    9. p.sendMessage("no perms lol");
    10. // Stuff down here to avoid too much indentation.

    4. You keep trying to get a key from path null in config in the spawn event. But I assume you already got this fixed by now.

    Other random stuff such as instantiating a Random instance every time the event is called, kind of inefficient, you can probably define a global scope variable for this class.
    Also why static on an event handler method?

Thread Status:

Not open for further replies.

Share This Page


Bukkit Forums

Скрыть объявление

В преддверии глобального обновления, мы проводим исследования, которые помогут нам сделать опыт пользования форумом ещё удобнее. Помогите нам, примите участие!

Решено Кикает с ошибкой Internal Exception: java.lang.IllegalArgumentException: Unknown dimension network i

Тема в разделе «Помощь», создана пользователем Zatrit, 21 сен 2019.

  1. Ошибка: Internal Exception: java.lang.IllegalArgumentException: Unknown dimension network id 15
    Появляется когда захожу в мир, после того как вышел с него в этом мире.
    Я гуглил, находило много чего связанного с ProtocolSupport


  2. imDaniX

    imDaniX
    Активный участник
    Пользователь

    Баллы:
    96
    Имя в Minecraft:
    imDaniX

    Список плагинов в студию.

  3. TpLogin, WorldEdit, DeluxeHub, VoidGenerator, PermissionsEx, NoteBlockAPI, PlugMan, ChatEx, PerWorldInventory, HolographicDisplays, NoteBlockMusicPlayer, MySkin, ProtocolSupport, Multiverse-Core, BlockVersion, AuthMe


  4. imDaniX

    imDaniX
    Активный участник
    Пользователь

    Баллы:
    96
    Имя в Minecraft:
    imDaniX

    Ну, вот тебе и ответ. Попробуй обновиться до последнего билда, иначе удаляй.

  5. Обновлял до последнего билда, все-равно

  6. И да, я выгрузил мир, в котором находился и я попал в основной мир


  7. imDaniX

    imDaniX
    Активный участник
    Пользователь

    Баллы:
    96
    Имя в Minecraft:
    imDaniX

    Ошибка появляется только в мирах, созданных с помощью Multiverse?


  8. imDaniX

    imDaniX
    Активный участник
    Пользователь

    Баллы:
    96
    Имя в Minecraft:
    imDaniX

    Судя по репортам — проблема в этом. PS несовместим с мирами, созданными через MV, т.к. отсылается неправильный id мира, и PS просто не принимает его.
    Вариантов несколько: удалить PS и поменять на ViaVersion + ViaBackwards; сменить MV на другой плагин; ждать фикса MV(не факт, что вообще будет) или поколдовать над кодом самостоятельно.


  9. Shevchik

    Shevchik
    Старожил
    Пользователь

    Баллы:
    173
    Имя в Minecraft:
    _Shevchik_

    Работает, просто стопудово там вот есть плагин на скины и именно он шлёт мусор (посколько 70% что это копипаста кривого кода skinsrestorer)


  10. imDaniX

    imDaniX
    Активный участник
    Пользователь

    Баллы:
    96
    Имя в Minecraft:
    imDaniX

    Т.е. решение — смена плагина на скины?


  11. Shevchik

    Shevchik
    Старожил
    Пользователь

    Баллы:
    173
    Имя в Minecraft:
    _Shevchik_

    В 90% случаев да — выбрасывается кривой и ставится нормальнй.
    Сервер майна никогда само по себе не шлёт кривые айди измерений, клиент их не понимает, и просто потом не рендерит нифига. Зато вот каждый второй плагин который для каких-то целей получается id измерения (и вот в 90% случаев это кривые плагины на скины) лезет в nms и использует не то поле, вместо того чтобы прочитать хотябы wiki.vg и сконвертить из environment.


  12. Dymeth

    Dymeth
    Активный участник
    Пользователь

    Баллы:
    98
    Имя в Minecraft:
    Dymeth

    Не подскажешь, зачем для смены скина в реальном времени пакет мира игроку отправлять? Чтобы без косяков отправить игроку его же данные профиля?

  13. всё работало, пока я не начал играть в мирах созданных через mv

  14. Без этого у него скин свой не обновиться. Это на самом деле не на столько важная фича, можно обойтись перезаходом игрока и все и не лезть куда не следует.


  15. Shevchik

    Shevchik
    Старожил
    Пользователь

    Баллы:
    173
    Имя в Minecraft:
    _Shevchik_

    Именно, для смены скина самого игрока, надо чтобы пересоздался рендер самого себя, а это происходит только при смене мира. Вот только всякие говноплагины на скины нихера не умеют это делать, и делают это неправильно, так ещё потом часть пакетов пропускают, из-за чего потом игроку плохеет.

Поделиться этой страницей


Rubukkit - свой сервер Minecraft

I host a personal server running mostly the same mods. The exception is a few Just Enough _____ mods for different mod packs. The game loads up and even plays in the server I host but I cannot run a single player world without this error. I tried making sense of the code, but to be honest, I cant read java. I know very very little. So its all gobbly gook to me. Anyone make sense of the crash report?

---- Minecraft Crash Report ----

WARNING: coremods are present:
  MicdoodlePlugin (MicdoodleCore-1.12.2.jar)
  Plugin (NotEnoughIDs-1.5.4.4.jar)
  IELoadingPlugin (ImmersiveEngineering-core-0.12-89.jar)
  llibrary (llibrary-core-1.0.10-1.12.2.jar)
  PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.4+build46.jar)
  ForgelinPlugin (Shadowfacts-Forgelin-1.12.2.jar)
  TheBetweenlandsLoadingPlugin (TheBetweenlands-3.4.7-core.jar)
  HCASM (HammerCore-1.12.2-2.0.4.9.jar)
Contact their authors BEFORE contacting forge

// Uh... Did I do that?

Time: 12/19/19 11:48 PM
Description: Exception preparing structure feature

java.lang.IllegalArgumentException: bound must be positive
	at java.util.Random.nextInt(Random.java:388)
	at net.minecraft.world.gen.structure.MapGenVillage.func_75047_a(SourceFile:64)
	at net.minecraft.world.gen.structure.MapGenStructure.func_180701_a(MapGenStructure.java:38)
	at net.minecraft.world.gen.MapGenBase.func_186125_a(SourceFile:34)
	at net.minecraft.world.gen.ChunkGeneratorOverworld.func_185932_a(ChunkGeneratorOverworld.java:228)
	at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:143)
	at net.minecraft.world.World.func_72964_e(World.java:310)
	at net.minecraft.world.World.func_175726_f(World.java:305)
	at net.minecraft.world.World.func_180495_p(World.java:911)
	at net.minecraft.world.World.func_175623_d(World.java:230)
	at net.minecraft.world.World.func_184141_c(World.java:210)
	at net.minecraft.world.WorldProvider.func_76566_a(WorldProvider.java:76)
	at net.minecraft.world.WorldServer.func_73052_b(WorldServer.java:944)
	at net.minecraft.world.WorldServer.func_72963_a(WorldServer.java:866)
	at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:97)
	at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:209)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
	at java.lang.Thread.run(Thread.java:745)


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

-- Head --
Thread: Server thread
Stacktrace:
	at java.util.Random.nextInt(Random.java:388)
	at net.minecraft.world.gen.structure.MapGenVillage.func_75047_a(SourceFile:64)

-- Feature being prepared --
Details:
	Is feature chunk: ~~ERROR~~ IllegalArgumentException: bound must be positive
	Chunk location: 6,7
	Chunk pos hash: 30064771078
	Structure type: net.minecraft.world.gen.structure.MapGenVillage
Stacktrace:
	at net.minecraft.world.gen.structure.MapGenStructure.func_180701_a(MapGenStructure.java:38)
	at net.minecraft.world.gen.MapGenBase.func_186125_a(SourceFile:34)
	at net.minecraft.world.gen.ChunkGeneratorOverworld.func_185932_a(ChunkGeneratorOverworld.java:228)

-- Chunk to be generated --
Details:
	Location: 14,15
	Position hash: 64424509454
	Generator: net.minecraft.world.gen.ChunkGeneratorOverworld@57a3d869
Stacktrace:
	at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:143)
	at net.minecraft.world.World.func_72964_e(World.java:310)
	at net.minecraft.world.World.func_175726_f(World.java:305)
	at net.minecraft.world.World.func_180495_p(World.java:911)
	at net.minecraft.world.World.func_175623_d(World.java:230)
	at net.minecraft.world.World.func_184141_c(World.java:210)
	at net.minecraft.world.WorldProvider.func_76566_a(WorldProvider.java:76)
	at net.minecraft.world.WorldServer.func_73052_b(WorldServer.java:944)

-- Affected level --
Details:
	Level name: New World
	All players: 0 total; []
	Chunk stats: ServerChunkCache: 0 Drop: 0
	Level seed: 4524058762939609246
	Level generator: ID 00 - default, ver 1. Features enabled: true
	Level generator options: 
	Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 0 game time, 0 day time
	Level dimension: 0
	Level storage version: 0x04ABD - Anvil
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
	at net.minecraft.world.WorldServer.func_72963_a(WorldServer.java:866)
	at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:97)
	at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:209)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
	at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
	Minecraft Version: 1.12.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: 3261047544 bytes (3109 MB) / 8959033344 bytes (8544 MB) up to 19327352832 bytes (18432 MB)
	JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx18G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	IntCache: cache: 0, tcache: 0, allocated: 15, tallocated: 95
	FML: MCP 9.42 Powered by Forge 14.23.5.2847 Optifine OptiFine_1.12.2_HD_U_E3 93 mods loaded, 93 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

	| State  | ID                   | Version              | Source                                         | Signature                                |
	|:------ |:-------------------- |:-------------------- |:---------------------------------------------- |:---------------------------------------- |
	| LCHIJA | minecraft            | 1.12.2               | minecraft.jar                                  | None                                     |
	| LCHIJA | mcp                  | 9.42                 | minecraft.jar                                  | None                                     |
	| LCHIJA | FML                  | 8.0.99.99            | forge-1.12.2-14.23.5.2847.jar                  | None                                     |
	| LCHIJA | forge                | 14.23.5.2847         | forge-1.12.2-14.23.5.2847.jar                  | None                                     |
	| LCHIJA | micdoodlecore        |                      | minecraft.jar                                  | None                                     |
	| LCHIJA | movillages           | 1.5.4                | [1.12]MoVillages-1.5.4.jar                     | None                                     |
	| LCHIJA | advanced-fishing     | 1.2.0                | Advanced-Fishing-Mod-1.12.2.jar                | None                                     |
	| LCHIJA | orbis-lib            | 0.2.0                | orbis-lib-1.12.2-0.2.0+build74.jar             | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
	| LCHIJA | aether               | 0.2.1                | Aether-2-Mod-1.12.2.jar                        | db341c083b1b8ce9160a769b569ef6737b3f4cdf |
	| LCHIJA | architecturecraft    | @VERSION@            | ArchitectureCraft-Mod-1.12.2.jar               | None                                     |
	| LCHIJA | baubles              | 1.5.2                | Baubles-Mod-1.12.2.jar                         | None                                     |
	| LCHIJA | betterthanllamas     | 1.12.1-1.0.0         | Better-Than-Llamas-Mod-1.12.2.jar              | None                                     |
	| LCHIJA | bibliocraft          | 2.4.5                | BiblioCraft-Mod-1.12.2.jar                     | None                                     |
	| LCHIJA | bookshelf            | 2.3.577              | Bookshelf-1.12.2-2.3.577.jar                   | d476d1b22b218a10d845928d1665d45fce301b27 |
	| LCHIJA | buildcraftlib        | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | buildcraftcore       | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | buildcraftbuilders   | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | buildcrafttransport  | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | buildcraftsilicon    | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | buildcraftcompat     | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | buildcraftenergy     | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | buildcraftfactory    | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | buildcraftrobotics   | 7.99.24.1            | BuildCraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | casinocraft          | v06                  | CasinoCraft-Mod-1.12.2.jar                     | None                                     |
	| LCHIJA | chesttransporter     | 2.8.8                | Chest-Transporter-Mod-1.12.2.jar               | None                                     |
	| LCHIJA | coralreef            | 2.0                  | CoralReef-Mod-1.12.2.jar                       | None                                     |
	| LCHIJA | dmonsters            | 1.7                  | Deadly-Monsters-Mod-1.12.2.jar                 | None                                     |
	| LCHIJA | ptrmodellib          | 1.0.2                | PTRLib-1.12.2.jar                              | None                                     |
	| LCHIJA | props                | 2.6.1                | DecoCraft-Mod-1.12.2.jar                       | None                                     |
	| LCHIJA | economy              | 1.5                  | Economy-Inc-Mod-1.12.2.jar                     | None                                     |
	| LCHIJA | energyconverters     | 1.3.0.15             | energyconverters_1.12.2-1.3.0.15.jar           | None                                     |
	| LCHIJA | equivalentstone      | 1.0.0                | Equivalent-Stone-Mod-1.12.2.jar                | None                                     |
	| LCHIJA | exoticbirds          | 1.0                  | Exotic-Birds-Mod-1.12.2.jar                    | None                                     |
	| LCHIJA | hammercore           | 2.0.4.9              | HammerCore-1.12.2-2.0.4.9.jar                  | 4d7b29cd19124e986da685107d16ce4b49bc0a97 |
	| LCHIJA | jei                  | 4.14.4.264           | JEI-1.12.jar                                   | None                                     |
	| LCHIJA | projecte             | 1.12.2-PE1.4.0       | ProjectE-Mod-1.12.2.jar                        | None                                     |
	| LCHIJA | expequiv             | 13r                  | ExpandedEquivalence-1.12.2-13r.jar             | 4d7b29cd19124e986da685107d16ce4b49bc0a97 |
	| LCHIJA | golems               | 7.1.7                | Extra-Golems-Mod-1.12.2.jar                    | None                                     |
	| LCHIJA | extrautils2          | 1.0                  | Extra-Utilities-Mod-1.12.2.jar                 | None                                     |
	| LCHIJA | fairylights          | 2.1.9                | Fairy-Lights-Mod-1.12.2.jar                    | None                                     |
	| LCHIJA | mod_lavacow          | 1.0.3                | Fishs-Undead-Rising-Mod-1.12.2.jar             | None                                     |
	| LCHIJA | flansmod             | 5.5.2                | Flan's Mod-1.12.2-5.5.2.jar                    | None                                     |
	| LCHIJA | flansmodapocalypse   | 1.0                  | Flan's Mod-1.12.2-5.5.2.jar                    | None                                     |
	| LCHIJA | foamflower           | 1.12.2-1.0.0.0-beta1 | foamflower-1.12.2-1.0.0.0-beta1.jar            | None                                     |
	| LCHIJA | foodexpansion        | 1.3                  | Food-Expansion-Mod-1.12.2.jar                  | None                                     |
	| LCHIJA | llibrary             | 1.7.17               | llibrary-1.7.17-1.12.2.jar                     | b9f30a813bee3b9dd5652c460310cfcd54f6b7ec |
	| LCHIJA | fossil               | 8.0.0                | Fossils-and-Archeology-Revival-Mod-1.12.2.jar  | None                                     |
	| LCHIJA | freetrading          | 0.2.2                | Freetrading-Mod-1.12.2.jar                     | None                                     |
	| LCHIJA | furenikusroads       | 1.0.3                | Furenikus-Roads-Mod-1.12.2.jar                 | None                                     |
	| LCHIJA | ic2                  | 2.8.100-ex112        | Industrial-Craft-2-Mod-Experimental-1.12.2.jar | de041f9f6187debbc77034a344134053277aa3b0 |
	| LCHIJA | galacticraftcore     | 4.0.2.220            | Galacticraft-Mod-1.12.2.jar                    | None                                     |
	| LCHIJA | galacticraftplanets  | 4.0.2.220            | Galacticraft-Planets-Mod-1.12.2.jar            | None                                     |
	| LCHIJA | gbook                | 1.7.2                | Guidebook-1.12.jar                             | None                                     |
	| LCHIJA | iceandfire           | 1.7.0                | Ice-and-Fire-Mod-1.12.2.jar                    | None                                     |
	| LCHIJA | immersiveengineering | 0.12-89              | Immersive-Engineering-Mod-1.12.2.jar           | 4cb49fcde3b43048c9889e0a3d083225da926334 |
	| LCHIJA | immersivepetroleum   | 1.1.9                | Immersive-Petroleum-Mod-1.12.2.jar             | None                                     |
	| LCHIJA | immersivetech        | 1.3.10               | Immersive-Tech-Mod-1.12.2.jar                  | None                                     |
	| LCHIJA | industrialrenewal    | 0.6.0                | Industrial-Renewal-Mod-1.12.2.jar              | None                                     |
	| LCHIJA | justenoughpetroleum  | 0.1                  | Just-Enough-Petroleum-Mod-1.12.2.jar           | None                                     |
	| LCHIJA | mystic               | 0.7.0                | Kether-Mod-1.12.2.jar                          | None                                     |
	| LCHIJA | longerdays           | 1.0.4                | Longer-Days-Mod-1.12.2.jar                     | None                                     |
	| LCHIJA | lsc                  | 0.6.2.2-alpha        | Loot-Slash-Conquer-Mod-1.12.2.jar              | None                                     |
	| LCHIJA | los                  | 1.0.0                | Lots-of-Stuff-Mod-1.12.2.jar                   | None                                     |
	| LCHIJA | thaumcraft           | 6.1.BETA26           | Thaumcraft-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | lycanitesmobs        | 2.0.0.8 - MC 1.12.2  | lycanitesmobs-1.12.2-2.0.0.8.jar               | None                                     |
	| LCHIJA | millenaire           | Millénaire 7.1.2     | millenaire-7.1.2.jar                           | None                                     |
	| LCHIJA | minejurassic         | 1.0.1                | MineJurassic-Mod-1.12.2.jar                    | None                                     |
	| LCHIJA | mocreatures          | 12.0.5               | Mo-Creatures-Mod-1.12.2.jar                    | None                                     |
	| LCHIJA | cdm                  | 0.4.1                | MrCrayfishs-Device-Mod-1.12.2.jar              | None                                     |
	| LCHIJA | cfm                  | 6.2.0                | MrCrayfishs-Furniture-Mod-1.12.2.jar           | None                                     |
	| LCHIJA | mutantmobs           | 1.0.1                | Mutant-Mobs-Mod-1.12.2.jar                     | None                                     |
	| LCHIJA | neid                 | 1.5.4.4              | NotEnoughIDs-1.5.4.4.jar                       | None                                     |
	| LCHIJA | openablewindows      | 0.0.1                | Openable-Windows-Mod-1.12.2.jar                | None                                     |
	| LCHIJA | ordinarycoins        | 1.3.2                | Ordinary-Coins-Mod-1.12.2.jar                  | None                                     |
	| LCHIJA | pa                   | 1.12.2               | Passive-Aggression-Mod-1.12.2.jar              | None                                     |
	| LCHIJA | pixelmon             | 6.3.4                | Pixelmon-1.12.2-6.3.4-universal.jar            | None                                     |
	| LCHIJA | poweradapters        | 1.0.9                | PowerAdapters-1.12.2-1.0.9.jar                 | d476d1b22b218a10d845928d1665d45fce301b27 |
	| LCHIJA | df-roads             | 1.4-mc1.12.2         | Realistic-Road-Mod-1.12.2.jar                  | None                                     |
	| LCHIJA | srparasites          | 1.1                  | Scape-and-Run-Parasites-Mod-1.12.2.jar         | None                                     |
	| LCHIJA | forgelin             | 1.8.3                | Shadowfacts-Forgelin-1.12.2.jar                | None                                     |
	| LCHIJA | parry                | 1.0                  | Shield-Parry-Mod-1.12.2.jar                    | None                                     |
	| LCHIJA | modname              | 1.0.2                | Subnauticraft-Mod-1.12.2.jar                   | None                                     |
	| LCHIJA | swanboat             | 1.12.2-1.0.0         | Swan-Boats-Mod-1.12.2.jar                      | None                                     |
	| LCHIJA | thaumicjei           | 1.6.0                | Thaumic-JEI-Mod-1.12.2 (1).jar                 | None                                     |
	| LCHIJA | thaumicrestoration   | 1.3.1                | Thaumic-Restoration-Mod-1.12.2.jar             | None                                     |
	| LCHIJA | bspkrscore           | at_0.9               | TreeCapitator-Mod-1.12.jar                     | None                                     |
	| LCHIJA | treecapitator        | at_0.9               | TreeCapitator-Mod-1.12.jar                     | None                                     |
	| LCHIJA | vending              | 1.12.2-3.0.1.2       | Vending-Block-Mod-1.12.2.jar                   | None                                     |
	| LCHIJA | thejungle            | 1.1024.1222          | Welcome-to-the-Jungle-Mod-1.12.2.jar           | None                                     |
	| LCHIJA | zoocraftdiscoveries  | 1.0                  | Zoocraft-Discoveries-Mod-1.12.2.jar            | None                                     |
	| LCHIJA | phosphor-lighting    | 1.12.2-0.2.4         | phosphor-1.12.2-0.2.4+build46.jar              | f0387d288626cc2d937daa504e74af570c52a2f1 |
	| LCHIJA | jurassicraft         | 2.1.18               | JurassiCraft-1.12.2-2.1.18.jar                 | None                                     |
	| LCHIJA | thebetweenlands      | 3.4.7                | TheBetweenlands-3.4.7-universal.jar            | 38067d6878811efb38b6a045521cfd80b9b60b38 |

	Loaded coremods (and transformers): 
MicdoodlePlugin (MicdoodleCore-1.12.2.jar)
  micdoodle8.mods.miccore.MicdoodleTransformer
Plugin (NotEnoughIDs-1.5.4.4.jar)
  ru.fewizz.neid.asm.Transformer
IELoadingPlugin (ImmersiveEngineering-core-0.12-89.jar)
  blusunrize.immersiveengineering.common.asm.IEClassTransformer
llibrary (llibrary-core-1.0.10-1.12.2.jar)
  net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
  net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.4+build46.jar)
  
ForgelinPlugin (Shadowfacts-Forgelin-1.12.2.jar)
  
TheBetweenlandsLoadingPlugin (TheBetweenlands-3.4.7-core.jar)
  thebetweenlands.core.TheBetweenlandsClassTransformer
HCASM (HammerCore-1.12.2-2.0.4.9.jar)
  com.zeitheron.hammercore.asm.HammerCoreTransformer
	GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	Hammer Core Information: FluidDictionary Info: Registered 2 fluids.
OreDictionary Info: Registered 809 names; 1582 stacks.
Pastebin Connection: Okay.
Dependent Mods:
    -Expanded Equivalence (expequiv) @13r

	Profiler Position: N/A (disabled)
	Player Count: 0 / 8; []
	Type: Integrated Server (map_client.txt)
	Is Modded: Definitely; Client brand changed to 'fml,forge'

asked Dec 20, 2019 at 7:56

Jimmycheckers's user avatar

From what I’ve read, It has to do with your mods. It is something about random number generation. Try disabling them one by one.

References:

‘bound must be positive’ error.

answered Dec 15, 2020 at 2:59

talhoid's user avatar

Понравилась статья? Поделить с друзьями:
  • Jcb ошибка 129
  • Jcb 456 коды ошибок
  • Java lang classnotfoundexception ошибка
  • Java install ошибка 1603
  • Jcb 3cx ошибка на приборной панели