Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException on entering a server the 2nd time in one application launch #1793

Open
elegos opened this issue Sep 14, 2018 · 0 comments

Comments

@elegos
Copy link

elegos commented Sep 14, 2018

Informations

This bug happens only with OptiFine. When playing vanilla 1.12.2, it simply works.

I once thought it was Java 10 with the modified minecraft launcher (see #1376), but it's not the case, as it happens with Java 1.8 and the standard launcher.

How to reproduce the error

Environment

  • OS: Linux (Fedora) with kernel 4.17
  • Java Version: 1.8.0_181 (64 bit)
  • OptiFine version: 1.12.2 HD_U_E2

Steps

  1. launch Minecraft with OptiFine
  2. enter a multiplayer server
  3. leave the server
  4. try to enter the same server again

Full crash report

---- Minecraft Crash Report ----
// Sorry :(

Time: 2018-09-14 18:40
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
	at bsa.n(SourceFile:296)
	at bsa.e(SourceFile:275)
	at bib.t(SourceFile:1602)
	at bib.az(SourceFile:1000)
	at bib.a(SourceFile:419)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:157)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:23)


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

-- Head --
Thread: Client thread
Stacktrace:
	at bsa.n(SourceFile:296)
	at bsa.e(SourceFile:275)

-- Affected level --
Details:
	Level name: MpServer
	All players: 0 total; []
	Chunk stats: MultiplayerChunkCache: 1, 1
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 753887 game time, 33507 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 0 total; []
	Retry entities: 0 total; []
	Server brand: ~~ERROR~~ NullPointerException: null
	Server type: Non-integrated multiplayer server
Stacktrace:
	at bsb.a(WorldClient.java:532)
	at bib.b(SourceFile:2587)
	at bib.a(SourceFile:433)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:157)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:23)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Linux (amd64) version 4.17.19-200.fc28.x86_64
	Java Version: 10.0.2, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), "Oracle Corporation"
	Memory: 335826968 bytes (320 MB) / 526385152 bytes (502 MB) up to 1968701440 bytes (1877 MB)
	JVM Flags: 9 total; -Xmn512m -Xms512m -Xmx2048m -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=500 -XX:+UseParallelGC -XX:ParallelGCThreads=8 -XX:+AggressiveOpts
	IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
	Launched Version: 1.12.2-OptiFine_HD_U_E2
	LWJGL: 2.9.4
	OpenGL: GeForce GTX 970/PCIe/SSE2 GL version 4.6.0 NVIDIA 396.45, NVIDIA Corporation
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer 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: Yes
	Is Modded: Very likely; Jar signature invalidated
	Type: Client (map_client.txt)
	Resource Packs: Realistic Adventure [64x]
	Current Language: Italiano (Italia)
	Profiler Position: N/A (disabled)
	CPU: 16x AMD Ryzen 7 2700X Eight-Core Processor
	OptiFine Version: OptiFine_1.12.2_HD_U_E2
	OptiFine Build: 20180728-185429
	Render Distance Chunks: 8
	Mipmaps: 4
	Anisotropic Filtering: 1
	Antialiasing: 0
	Multitexture: false
	Shaders: SEUS renewed 1.0.0
	OpenGlVersion: 4.6.0 NVIDIA 396.45
	OpenGlRenderer: GeForce GTX 970/PCIe/SSE2
	OpenGlVendor: NVIDIA Corporation
	CpuCount: 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant