Jump to content

[SOLVED] Eclipse not launching in 1.14


Mr_Simplex

Recommended Posts

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 by Mr_Simplex
the problem has been solved.
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Did you make a config handler or do you have any other mods in your workspace?

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
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. 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).
  4. 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.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. 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
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. 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)
  5. 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

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

×
×
  • Create New...

Important Information

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