Mr_Simplex Posted February 14, 2020 Share Posted February 14, 2020 (edited) My mod has been launching fine, until just recently when Eclipse has been giving me this error: Spoiler 2020-02-15 10:30:18,378 main WARN Advanced terminal features are not available in this environment [10:30:18.609] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 28.0.75, --version, MOD_DEV, --assetIndex, 1.14, --assetsDir, C:\Users\Ash\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}] [10:30:18.618] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 1.8.0_221 by Oracle Corporation [10:30:18.693] [main/DEBUG] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,fmldevdata,fmldevclient,fmldevserver,fmluserdevserver,testharness,fmluserdevdata,fmlclient,fmluserdevclient,fmlserver] [10:30:18.718] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [10:30:18.748] [main/DEBUG] [cp.mo.mo.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner] [10:30:18.774] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [10:30:18.787] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: [] [10:30:18.868] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml] [10:30:18.870] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [10:30:18.874] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [10:30:18.874] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/]: Injecting tracing printstreams for STDOUT/STDERR. [10:30:18.881] [main/DEBUG] [ne.mi.fm.lo.LauncherVersion/CORE]: Found FMLLauncher version 28.0 [10:30:18.881] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML 28.0 loading [10:30:18.882] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found ModLauncher version : 3.2.0+60+b86c1d4 [10:30:18.883] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Initializing modjar URL handler [10:30:18.884] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found AccessTransformer version : 1.0.0+45+b99295a [10:30:18.885] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found EventBus version : 1.0.0+54+3f83a9e [10:30:18.886] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found Runtime Dist Cleaner [10:30:18.904] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found CoreMod version : 1.0.0+4+e6fed88 [10:30:18.906] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package implementation version 1.1.0+2+f748941 [10:30:18.908] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package specification 3 [10:30:19.587] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [10:30:19.595] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [10:30:19.598] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [10:30:19.609] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [10:30:19.611] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [10:30:19.611] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Setting up basic FML game directories [10:30:19.613] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\Ash\Desktop\mod\Bits and Pieces\run [10:30:19.614] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path GAMEDIR is C:\Users\Ash\Desktop\mod\Bits and Pieces\run [10:30:19.615] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\Ash\Desktop\mod\Bits and Pieces\run\mods [10:30:19.615] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path MODSDIR is C:\Users\Ash\Desktop\mod\Bits and Pieces\run\mods [10:30:19.615] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\Ash\Desktop\mod\Bits and Pieces\run\config [10:30:19.616] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\Ash\Desktop\mod\Bits and Pieces\run\config [10:30:19.616] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\Ash\Desktop\mod\Bits and Pieces\run\config\fml.toml [10:30:19.616] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading configuration Exception in thread "main" [10:30:19.682] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: com.electronwill.nightconfig.core.io.ParsingException: Invalid character 'f' after key [Enable] [10:30:19.683] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:152) [10:30:19.687] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) [10:30:19.692] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) [10:30:19.697] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) [10:30:19.699] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) [10:30:19.699] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) [10:30:19.699] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) [10:30:19.700] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) [10:30:19.701] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.core.file.AutoreloadFileConfig.load(AutoreloadFileConfig.java:41) [10:30:19.701] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) [10:30:19.702] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:57) [10:30:19.704] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.loading.FMLConfig.load(FMLConfig.java:69) [10:30:19.705] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:71) [10:30:19.707] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:67) [10:30:19.708] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:106) [10:30:19.708] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.util.HashMap$Values.forEach(Unknown Source) [10:30:19.709] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:106) [10:30:19.709] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59) [10:30:19.710] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:75) [10:30:19.710] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [10:30:19.711] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101) I have tried launching using a "runClient.bat" with the code "/gradlew runClient" to no avail. All help would be most appreciated, thanks. Edited February 16, 2020 by Mr_Simplex the problem has been solved. Quote Link to comment Share on other sites More sharing options...
A-Game Posted February 14, 2020 Share Posted February 14, 2020 8 minutes ago, Mr_Simplex said: Exception in thread "main" [10:30:19.682] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: com.electronwill.nightconfig.core.io.ParsingException: Invalid character 'f' after key [Enable] Perhaps check your config class? Quote Link to comment Share on other sites More sharing options...
Mr_Simplex Posted February 15, 2020 Author Share Posted February 15, 2020 Are you refering to my mod.toml class? If so here it is: Spoiler modLoader="javafml" #mandatory loaderVersion="[26,)" #mandatory (26 is current forge version) credits="Minecraft" #optional authors="Mr_Simplex" #optional [[mods]] #mandatory modId="bitsandpieces111" #mandatory version="0.1.0" #mandatory displayName="Bits and Pieces" #mandatory description=''' A mod containing many varying items, block and food, food and other utilities. ''' # A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional. [[dependencies.bitsandpieces111]] #optional modId="forge" #mandatory mandatory=true #mandatory versionRange="[28,)" #mandatory ordering="NONE" side="BOTH" # Here's another dependency [[dependencies.bitsandpieces111]] modId="minecraft" mandatory=true versionRange="[1.14.4]" ordering="NONE" side="BOTH" I have looked through it and cannot find any problems. Quote Link to comment Share on other sites More sharing options...
A-Game Posted February 15, 2020 Share Posted February 15, 2020 (edited) Do you have a custom config for your mod? (What Daemon said) Edited February 15, 2020 by A-Game Quote Link to comment Share on other sites More sharing options...
DaemonUmbra Posted February 15, 2020 Share Posted February 15, 2020 Did you make a config handler or do you have any other mods in your workspace? 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...
Mr_Simplex Posted February 15, 2020 Author Share Posted February 15, 2020 My mod doesn't have a custom config, a config handler or any other mods in the workspace. (I also haven't been back in my workspace in a while so all these comments are from what I can find/remember) Quote Link to comment Share on other sites More sharing options...
A-Game Posted February 15, 2020 Share Posted February 15, 2020 https://github.com/TheElectronWill/night-config/blob/master/core/src/main/java/com/electronwill/nightconfig/core/io/ParsingException.java You copied code from this link, and it had an "invalid character f" in that class Quote Link to comment Share on other sites More sharing options...
Mr_Simplex Posted February 15, 2020 Author Share Posted February 15, 2020 Thanks, I'll have a look Quote Link to comment Share on other sites More sharing options...
A-Game Posted February 15, 2020 Share Posted February 15, 2020 I have found that others are experiencing this issue, not just you. What forge version are you using? Quote Link to comment Share on other sites More sharing options...
Mr_Simplex Posted February 16, 2020 Author Share Posted February 16, 2020 sorry for the late reply, it seems that I tried updating my mod to 1.15 last time and it was unsuccessful. All the references to the version say 1.15 (even though I know it was never updated to 1.15). Quote Link to comment Share on other sites More sharing options...
Mr_Simplex Posted February 16, 2020 Author Share Posted February 16, 2020 So to say simply: I don't know Quote Link to comment Share on other sites More sharing options...
Ugdhar Posted February 16, 2020 Share Posted February 16, 2020 Try deleting the config folder in the run folder of your project, then rerun. Quote Link to comment Share on other sites More sharing options...
Mr_Simplex Posted February 16, 2020 Author Share Posted February 16, 2020 Thanks! That's solved the problem, I'm now able to launch minecraft from eclipse. By the way, the forge version was 28.0.75 Quote 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.