Cyrulean Posted September 15, 2019 Share Posted September 15, 2019 (edited) When I try to run forge, an error shows: ERROR Game crashed An unexpected issue occurred and the game has crashed. We’re sorry for the inconvenience. OS: Ubuntu 18.04 Version: 1.14.4 ANSWER: if doing java -version does not give you java 8: sudo update-alternatives --config java There are 3 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode 3 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode then set the alternative to whatever one is 8 (in this case, 2) Edited September 15, 2019 by Cyrulean Quote Link to comment Share on other sites More sharing options...
Cyrulean Posted September 15, 2019 Author Share Posted September 15, 2019 (edited) Update: Doing java -version reveals I am on java 11, (Thats what I get for programming without sandboxing) How can I set the version to 8 specifically for Minecraft? (I know it is installed) Another Update: After setting the bundled env to /usr/share/applications/openjdk-8-java.desktop no luck Edited September 15, 2019 by Cyrulean Quote Link to comment Share on other sites More sharing options...
Cyrulean Posted September 15, 2019 Author Share Posted September 15, 2019 Yall I figured it out, updated original to show answer Quote Link to comment Share on other sites More sharing options...
Cyrulean Posted September 15, 2019 Author Share Posted September 15, 2019 Well I have a new issue: Having no mods works fine, but when I add mods, the game will crash right after loading the world: Quote ---- Minecraft Crash Report ---- // Quite honestly, I wouldn't worry myself about that. Time: 9/15/19 12:58 PM Description: Unexpected error java.lang.NoSuchMethodError: net.minecraft.entity.Entity.getPersistantData()Lnet/minecraft/nbt/CompoundNBT; at xaero.common.minimap.MinimapRadar.updateRadar(MinimapRadar.java:63) ~[?:1.0] {} at xaero.common.minimap.MinimapProcessor.onClientTick(MinimapProcessor.java:134) ~[?:1.0] {} at xaero.common.events.FMLEventHandler.handleClientTickEvent(FMLEventHandler.java:36) ~[?:1.0] {} at net.minecraftforge.eventbus.ASMEventHandler_51_FMLEventHandler_handleClientTickEvent_ClientTickEvent.invoke(.dynamic) ~[?:?] {} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-1.0.0-service.jar:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?] {} at net.minecraftforge.fml.hooks.BasicEventHooks.onPreClientTick(BasicEventHooks.java:104) ~[?:?] {} at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1271) ~[?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:866) ~[?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384) ~[?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(SourceFile:155) ~[1.14.4-forge-28.1.0.jar:?] {} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] {} at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) ~[forge-1.14.4-28.1.0.jar:28.1] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-3.2.0.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-3.2.0.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) [modlauncher-3.2.0.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) [modlauncher-3.2.0.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-3.2.0.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at xaero.common.minimap.MinimapRadar.updateRadar(MinimapRadar.java:63) at xaero.common.minimap.MinimapProcessor.onClientTick(MinimapProcessor.java:134) at xaero.common.events.FMLEventHandler.handleClientTickEvent(FMLEventHandler.java:36) at net.minecraftforge.eventbus.ASMEventHandler_51_FMLEventHandler_handleClientTickEvent_ClientTickEvent.invoke(.dynamic) at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) at net.minecraftforge.fml.hooks.BasicEventHooks.onPreClientTick(BasicEventHooks.java:104) -- Affected level -- Details: All players: 1 total; [ClientPlayerEntity['DarkCyrulean'/223, l='MpServer', x=-35.50, y=70.00, z=-265.50]] Chunk stats: Client Chunk Cache: 729, 451 Level dimension: DimensionType{minecraft:overworld} Level name: MpServer Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: {} Level spawn location: World: (-32,64,-256), Chunk: (at 0,4,0 in -2,-16; contains blocks -32,0,-256 to -17,255,-241), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 23 game time, 23 day time Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Server brand: forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:410) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:1747) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:405) at net.minecraft.client.main.Main.main(SourceFile:155) 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:498) at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) -- System Details -- Details: Minecraft Version: 1.14.4 Minecraft Version ID: 1.14.4 Operating System: Linux (amd64) version 5.0.0-27-generic Java Version: 1.8.0_222, Private Build Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Private Build Memory: 2971908840 bytes (2834 MB) / 4294967296 bytes (4096 MB) up to 4294967296 bytes (4096 MB) CPUs: 4 JVM Flags: 8 total; -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M ModLauncher: 3.2.0+60+b86c1d4 ModLauncher launch target: fmlclient ModLauncher naming: srg ModLauncher services: /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE /forge-1.14.4-28.1.0.jar object_holder_definalize PLUGINSERVICE /forge-1.14.4-28.1.0.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-1.0.0-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.14.4-28.1.0.jar capability_inject_definalize PLUGINSERVICE /forge-1.14.4-28.1.0.jar runtimedistcleaner PLUGINSERVICE /forge-1.14.4-28.1.0.jar fml TRANSFORMATIONSERVICE FML: 28.1 Forge: net.minecraftforge:28.1.0 FML Language Providers: [email protected] minecraft@1 Mod List: AppleSkin-mc1.14.4-forge-1.0.12.jar AppleSkin {[email protected] DONE} jei-1.14.4-6.0.0.11.jar Just Enough Items {[email protected] DONE} Neat+1.5-19.jar Neat {[email protected] DONE} u_team_core-1.14.4-2.7.0.129.jar U Team Core {[email protected] DONE} useful_backpacks-1.14.4-1.7.0.34.jar Useful Backpacks {[email protected] DONE} Xaeros_Minimap_1.18_Forge_1.14.4.jar Xaero's Minimap {[email protected] DONE} XaerosWorldMap_1.4.10.1_Forge_1.14.4.jar Xaero's World Map {[email protected] DONE} forge-1.14.4-28.1.0-universal.jar Forge {[email protected] DONE} forge-1.14.4-28.1.0-client.jar Minecraft {[email protected] DONE} Launched Version: 1.14.4-forge-28.1.0 LWJGL: 3.2.2 build 10 OpenGL: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) GL version 3.0 Mesa 19.0.8, Intel Open Source Technology Center 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 'forge' Type: Client (map_client.txt) Resource Packs: Current Language: English (US) CPU: 4x Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz I have tried reinstalling all of the mods Quote Link to comment Share on other sites More sharing options...
DaemonUmbra Posted September 15, 2019 Share Posted September 15, 2019 Xaero's Minimap was made for a beta version of Forge and needs to be updated for the Recommended version. Quote This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy. As the most common issue I feel I should put this outside the main bulk: The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge. If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan. For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety. Spoiler Logs (Most issues require logs to diagnose): Spoiler Please post logs using one of the following sites (Thank you Lumber Wizard for the list): https://gist.github.com/: 100MB Requires member (Free) https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$) https://hastebin.com/: 400KB Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads. What to provide: ...for Crashes and Runtime issues: Minecraft 1.14.4 and newer: Post debug.log Older versions: Please update... ...for Installer Issues: Post your installer log, found in the same place you ran the installer This log will be called either installer.log or named the same as the installer but with .log on the end Note for Windows users: Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension Where to get it: Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs. Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch: Spoiler Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge) Make a launcher profile targeting this version of Forge. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it). Now launch the pack through that profile and follow the "Mojang Launcher" instructions above. Video: Spoiler or alternately, Fallback ("No logs are generated"): If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft Server Not Starting: Spoiler If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output. Reporting Illegal/Inappropriate Adfocus Ads: Spoiler Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad. Lex will need the Ad ID contained in that URL to report it to Adfocus' support team. Posting your mod as a GitHub Repo: Spoiler When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub. When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository. Open a command prompt (CMD, Powershell, Terminal, etc). Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in). Run the following commands: git init git remote add origin [Your Repository's URL] In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git git fetch git checkout --track origin/master git stage * git commit -m "[Your commit message]" git push Navigate to GitHub and you should now see most of the files. note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from) Now you can share your GitHub link with those who you are asking for help. [Workaround line, please ignore] Link to comment Share on other sites More sharing options...
Recommended Posts
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.