What does Minecraft exit code -1 mean?

Ra
- in Mods
11

Hi, today my game 1.8.9 is simply smeared without mods in Java without me having done anything. The message went something like this: The Game was crashed whilst (forgotten) Exit Code -1

I haven't found a solution anywhere so I ask again here:
What does Exit code -1.

ju

Exit code -1 means error. No more, that can be anything.

Exit code 0 would usually be "not an error".

Ra

Okay, does that mean you can't figure out what exactly happened?

ju

There's definitely a .log file that can be checked.

I would look for things like that first.

Ra

Yo

---- Minecraft Crash Report ----

// Who set us up the TNT?

Time: 05/15/21 3:35 PM

Description: Ticking screen

java.lang.NullPointerException: Ticking screen

at io.netty.bootstrap.Bootstrap.checkAddress (Bootstrap.java:273)

at io.netty.bootstrap.Bootstrap.doConnect (Bootstrap.java:150)

at io.netty.bootstrap.Bootstrap.connect (Bootstrap.java:132)

at io.netty.bootstrap.Bootstrap.connect (Bootstrap.java:113)

at bdg.b (SourceFile: 153)

at bdg.a (SourceFile: 34)

at bdg $ 1.a (SourceFile: 132)

at ek.l (SourceFile: 370)

at bdg.a (SourceFile: 242)

at azh.e (SourceFile: 114)

at ave.s (SourceFile: 1513)

at ave.av (SourceFile: 889)

at ave.a (SourceFile: 325)

at net.minecraft.client.main.Main.main (SourceFile: 124)

A detailed walkthrough of the error, its code path and all known details is as follows:

-------------------------------------------------- -------------------------------------

- Head -

Stack trace:

at io.netty.bootstrap.Bootstrap.checkAddress (Bootstrap.java:273)

at io.netty.bootstrap.Bootstrap.doConnect (Bootstrap.java:150)

at io.netty.bootstrap.Bootstrap.connect (Bootstrap.java:132)

at io.netty.bootstrap.Bootstrap.connect (Bootstrap.java:113)

at bdg.b (SourceFile: 153)

at bdg.a (SourceFile: 34)

at bdg $ 1.a (SourceFile: 132)

at ek.l (SourceFile: 370)

at bdg.a (SourceFile: 242)

at azh.e (SourceFile: 114)

- Affected screen -

Details:

Screen name: azh

Stack trace:

at ave.s (SourceFile: 1513)

at ave.av (SourceFile: 889)

at ave.a (SourceFile: 325)

at net.minecraft.client.main.Main.main (SourceFile: 124)

- System details -

Details:

Minecraft Version: 1.8.9

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_51, Oracle Corporation

Java VM Version: Java HotSpot (TM) 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 674059288 bytes (642 MB) / 973078528 bytes (928 MB) up to 2147483648 bytes (2048 MB)

JVM flags: 8 total; -XX: HeapDumpPath = MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX: + UnlockExperimentalVMOptions -XX: + UseG1GC -XX: G1NewSizePercent = 20 -XX: G1ReserveXXPercent = 50Region: G1ReserveXXPercent = 20Mause -XX: G1ReserveXXPercent = 20M

IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95

Launched Version: 1.8.9

LWJGL: 2.9.4

OpenGL: Intel (R) HD Graphics GL version 4.0.0 - Build 10.18.10.5161, Intel

GL Caps: Using GL 1.3 multitexturing.

Using GL 1.3 texture combiners.

Using frame buffer 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: No.

Is Modded: Probably not. Jar signature remains and client brand is untouched.

Type: Client (map_client.txt)

Resource Packs:

Current Language: German (Germany)

Profiler Position: N / A (disabled)

CPU: 2x Intel (R) Pentium (R) CPU 2020M @ 2.40GHz

That would be the crash report

Ra

Unfortunately, I can't do much with it personally

ju

Is important to you

java.lang.NullPointerException: Ticking screen

NullPointerException is simply a reference error. There "someone" is accessing an object that does not exist. Basically the programmer made a mistake here. He didn't care if this was something zero, i.e. Not there.

Now the question would be what "ticking screen" is. Doesn't mean anything to me about MineCraft. But I don't know the code base either.

Do you have mods installed? Modified anything?
Otherwise null pointers can also appear in very good code. I would expect MineCraft to be pretty well programmed though.

Ra

No, that's what amazes me. No mods, no hacks ever, no full screen, it just suddenly crashed during the game. Maybe it could be because of the CPU load? (Hasn't happened to me like this yet, only with CPU-heavy mods). Was just out in the GG lobby when it happened

Ra

However, 2 days ago my password was reset due to unknown activity on the Mojang Konnto. Could that have anything to do with it? (I don't think so, but I do)

ju

No, all no.

Well, I'll try to explain that.

Suppose you are building an object, anything, for example a button to press.
Now you can ask the button about its status, for example:
button.is pressed ()

The button then responds with "yes" or "no".

So, what if you didn't create a button at all, just a variable that claims a button is hidden behind it?

You make the call:

button.is pressed (), but the button is null, like "button = null;".
Exactly then you will get a NullPointerException. The variable points to zero, to nothing and it bangs because the program now doesn't know what should happen.

Of course, you can avoid such errors, or treat them:

if (botton == null) {

// do whatever it takes, but don't access the button

}

or just treat with:

try {

botton.something ();

} catch (exception e) {

// exception handling

}

So much for that.

NullPointerException (NPE) are the most common errors in Java and other languages. The programmer just wasn't paying attention and ignoring cases.

Ra

Okay thanks for the help

ju

Others have the problem too, also without mods.

https://www.minecraftforum.net/...reen-error

Can already be due to the installation and also to the graphics drivers. Renew it if necessary.

Otherwise it will be very difficult to find.

Minecraft exit code 1? Au AuntLeopard
Minecraft, Exit Code: 0? el elisabethwinston
Forge 1.7.10 won't start? br braceautomatic