Jump to content

Exception in thread "main" java.lang.ExceptionInInitializerError (Caused by: java.util.NoSuchElementException: No value present)


Recommended Posts

Posted (edited)

I've been trying to play modded 1.17.1 for at least an hour now, took out all the mods in the mods folder (especially OptiFine) and my game works fine as of Minecraft 1.17.1 and with just OptiFIne 1.17.1  but when I try to play Minecraft with Forge 37.0.2 without OptiFine the game still crashes with exit code 1.

Haven't tried to just load forge with no mods yet but I already know that forge would fail to load still...

There's no crash report or log and the debug logs aren't going to help as of the files themselves because I viewed them myself and only saw two or four lines of info and the latest log only has two lines as well.

The only log or debug log that I can provide is through screenshots;

1278801948_Screenshot(11).thumb.png.55536d99c51af3230f4cfd87f84d2667.png

1805808523_Screenshot(12).thumb.png.7c1cc36aa20e64e3689c904008d47013.png

1742487788_Screenshot(13).thumb.png.f2e607e8d1fa73b33c72ada547401004.png

But if you still insist of me sending the debug files then here, see for yourself to see what I saw within them then;

latest.logFetching info...

debug.logFetching info...

This info below came from a source that I'm not willing to tell but it should help tho... 

[Launcher] Starting Minecraft 1.17.1-forge-37.0.2...
[Launcher] Launching in: C:\Users\Pwrus\AppData\Roaming\.minecraft
Starting garbage collector: 66 / 290 MB
Garbage collector completed: 45 / 290 MB
[Launcher] Processing post-launch actions. Assist launch: true
===============================================================================================
WARNING: Unknown module: cpw.mods.securejarhandler specified to --add-exports
WARNING: Unknown module: cpw.mods.securejarhandler specified to --add-opens
Exception in thread "main" java.lang.ExceptionInInitializerError
    at cpw.mods.jarhandling.impl.Jar.<init>(Jar.java:90)
    at cpw.mods.jarhandling.SecureJar.from(SecureJar.java:58)
    at cpw.mods.jarhandling.SecureJar.from(SecureJar.java:50)
    at cpw.mods.jarhandling.SecureJar.from(SecureJar.java:42)
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:54)
Caused by: java.util.NoSuchElementException: No value present
    at java.base/java.util.Optional.orElseThrow(Optional.java:377)
    at cpw.mods.jarhandling.impl.SecureJarVerifier.<clinit>(SecureJarVerifier.java:16)
    ... 5 more

So until this issue get's fixed for good, I'll be going back to Forge 1.16.5 36.0.62 or whatever version it's at currently in...

Edited by Coraline77447
Posted

Please provide a screenshot of your launcher

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.

  Reveal hidden contents

 

Posted (edited)

Strange, I can't seem to upload the screenshot of my launcher which is normally my vanilla launcher that I've tried to launch forge 1.17.1 37.0.2 in it...

I'm getting an error message when trying to upload the screenshot....

Btw I'll be trying Forge 37.0.8 with no mods (especially without OptiFIne) to see if It'll load right now.

 

UPDATE: Forge 37.0.8 with no mods has loaded successfully for me but now I'll be testing if it'll load with the mods that have been ported to 1.17 already which is 25 mods atm plus OptiFine.

NOTE: If it crashes cause OptiFIne isn't compatible with forge (yet) then OptiFine will be taken out till both are compatible with each other. 

 

UPDATE 2: Forge 37.0.8 with mods was loading but crashed cause of tool belt mod with its rendering models and what not, so I'll report that with the dev(s) of Tool Belt mod.

 

In conclusion, Forge 37.0.8 is working for me. The issue may have already been resolved between 37.0.3 and 37.0.8.

I know that I could've waited for an update that would've fixed my issue that I was experiencing but I really wanted to make a modded 1.17.1 world with the 25 mods that have been ported to 1.17 that I've enjoyed playing with in 1.16.5 modded (even tho I was playing with upwards of 50+ mods with somewhat good framerate), which was why I created this report/post in the first place.

I really didn't want to create this post in the first place cause of the bad experience that I've had in the past as of my first post on the Forge Forums but I know that Forge 1.17 is in beta right now and that's ok which is why us minecrafters like me are doing the bug testing while wanting to play 1.17 modded so that the devs can fix the bugs we find.

You can close this report/post respectfully now since I'm not experiencing this issue in 37.0.8.

Also I'm sorry for wasting your time with this post....

Edited by Coraline77447
Posted (edited)

Even tho what I'm about to say should be in it's own post but when creating a new modded world in the data packs screen I see that Forge 37.0.10's data pack isn't formatted to 7...

Since minecraft 1.17 requires data format of 7 now, so could you guys please update Forge's data pack format to 7? Please?...

Had to delete my modded 1.17.1 world cause of this...

I wanted to change forge's data pack format number to 7 just like how I did with some of the mods that I'm playing with but I don't know where Forge's pack.mcmeta file is and it's NOT my responsibility to do that anyways...

Btw I didn't touch or do anything when I was searching for Forge's pack.mcmeta file in 7Zip file manager and I'll never do that again, ok?....

Also I can't create a new modded world now cause of Forge's outdated data pack format number so I'll just go back to 1.16.5 modded till 37.0.11+ with it's data pack format number being at 7....

Edited by Coraline77447
Posted
  On 7/25/2021 at 12:13 PM, Coraline77447 said:

I'm getting an error message when trying to upload the screenshot....

Expand  

Then post it to imgur and use the link they give you.
I'm not helping you until you prove you own the game

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.

  Reveal hidden contents

 

Posted (edited)

Here's the image that I'd tried to add on here;

https://imgur.com/a/z7D3h26

Btw that screenshot was taken a few days ago but the main issue (above my data pack comment issue) does reappear which I would have to update forge on my end to workaround it till it happens again the next day.

But as I've said in my data pack comment above that I can't make a new world now cause Forge's data pack is outdated.

Also I'm not registered on imgur yet and my image post on there is set to private for safety/security reasons so I don't know if you can view my screenshot on imgur. 

Edited by Coraline77447
Posted

I'm still waiting for you guys to update forge 1.17's data pack so that I can create a 1.17.1 modded world...

Not a ETA btw but I've been waiting for 4-5 days now and I really want to play modded 1.17.1 already....

Posted

Please provide debug.log and stop using a pirate launcher on the side

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.

  Reveal hidden contents

 

Posted (edited)

I also have this problem, and that it is on a pirate launcher, or on an official, the problem is identical.
On the other hand, the Debug.log file does not update.

openjdk 11.0.12 2021-07-20 LTS
OpenJDK Runtime Environment (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM (build 11.0.12+7-LTS, mixed mode)

Linux proxmox.local 5.10.0-8-amd64 #1 SMP Debian 5.10.46-2 (2021-07-20) x86_64 GNU/Linux

The forge version used is: 37.0.17

 

Capture d’écran du 2021-07-31 12-23-12.png

Edited by vlotho
Posted

I was gonna type a pretty long message for you diesieben07 and the rest of the forge forum team but since y'all have been treating me with silence and not being positive and kind that now y'all don't deserve my lengthy important message since all of you would just ignore me anyways like how you all have been for the last week!

I'll just be in my newly created 1.16.5 modded world while waiting for forge's first 1.17.1 stable release!

  • 2 weeks later...
Posted (edited)

diesieben07, It is not that you are ignoring, I have read the whole Thread, and still your way of answering is hypocritical ... they are telling you that using the Pirate and the normal one comes out the same and the logs of the two users I see them perfectly , you just ignore what they send you, remain hypocrite.

By the way, version 30.0.33 of 1.17.1 keeps giving the same error. I do not pass the log, and I will not see this Hypocrite Thread again, I will do like Coraline77447, I wait for them to launch a stable Forge

Edited by sarcastler
Spanish to English
  • 2 months later...
  • 1 year later...

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



×
×
  • Create New...

Important Information

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