Lirleith Posted March 15, 2023 Posted March 15, 2023 I've been trying to install forge on my new computer (running Windows 11) and have been having issues. When trying to run the 1.19.2 forge installer (and after more testing, any other version of forge installer) I get the following error: Something went wrong while installing.<br/> Check log for more details:<br/>java.lang.NullPointerException: Cannot invoke "java.io.InputStream.read(byte[])" because "stream" is null I have the latest version of java (and have tried re-installing it) and I've tried re-installing Minecraft incase that somehow did something. I don't have a clue what's causing this because I've never had an issue with installing Forge on other computers. Quote
Hipposgrumm Posted March 15, 2023 Posted March 15, 2023 Can you send the log? It's usually in the same folder as the installer. Quote I'm not good at modding, but at least I can read a crash report (well enough). That's something, right?
Lirleith Posted March 15, 2023 Author Posted March 15, 2023 17 minutes ago, Hipposgrumm said: Can you send the log? It's usually in the same folder as the installer. So sorry, but would I be able to just search the name of the log on file explorer, and if so what is the file's name? With the enable logging active, I've done as much skimming folders as possible (and a good bit of googling) to try and find the log and I've had no luck. Quote
Hipposgrumm Posted March 15, 2023 Posted March 15, 2023 16 minutes ago, Lirleith said: So sorry, but would I be able to just search the name of the log on file explorer Try putting the installer in a separate folder and run it again. You should then have no problem finding the log. Quote I'm not good at modding, but at least I can read a crash report (well enough). That's something, right?
Lirleith Posted March 15, 2023 Author Posted March 15, 2023 1 minute ago, Hipposgrumm said: Try putting the installer in a separate folder and run it again. You should then have no problem finding the log. The only file that is created when running the installer is labeled, "installer" and says: JVM info: Oracle Corporation - 19.0.1 - 19.0.1+10-21 java.net.preferIPv4Stack=true Found java version 19.0.1 Quote
Hipposgrumm Posted March 15, 2023 Posted March 15, 2023 Try Jarfix I guess? Quote I'm not good at modding, but at least I can read a crash report (well enough). That's something, right?
Lirleith Posted March 15, 2023 Author Posted March 15, 2023 4 minutes ago, Hipposgrumm said: Try Jarfix I guess? A friend of mine recommended that some hours ago and it didn't help. Tried again just incase, still no luck. Quote
Hipposgrumm Posted March 15, 2023 Posted March 15, 2023 Try running the jar from command prompt or downgrading your java to Java 17. Quote I'm not good at modding, but at least I can read a crash report (well enough). That's something, right?
Lirleith Posted March 16, 2023 Author Posted March 16, 2023 1 hour ago, Hipposgrumm said: Try running the jar from command prompt or downgrading your java to Java 17. Neither of those worked 😭 Quote
Lirleith Posted March 16, 2023 Author Posted March 16, 2023 So. If anyone's wondering what my issue was. I needed to remove the exclamation points from one of the folders everything was contained in. Everything I was struggling with that had to do with java magically fixed itself when I got rid of exclamation points in the root folders. Quote
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.