Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi! I have problem with GuiConnecting.

I use this code in my button:

this.mc.displayGuiScreen(new GuiConnecting(this, this.mc, "185.48.170.15", 25565));

And when i connect to the server i've got a crash.

Log:

---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]

Time: 07.07.14 12:49
Description: Ticking screen

java.lang.NullPointerException: Ticking screen
at cpw.mods.fml.client.FMLClientHandler.setPlayClient(FMLClientHandler.java:827)
at net.minecraft.client.network.NetHandlerLoginClient.func_147232_a(NetHandlerLoginClient.java:113)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:186)
at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1601)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:917)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835)
at net.minecraft.client.main.Main.main(SourceFile:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Stacktrace:
at cpw.mods.fml.client.FMLClientHandler.setPlayClient(FMLClientHandler.java:827)
at net.minecraft.client.network.NetHandlerLoginClient.func_147232_a(NetHandlerLoginClient.java:113)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:186)
at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:76)

-- Affected screen --
Details:
Screen name: net.minecraft.client.multiplayer.GuiConnecting
Stacktrace:
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1601)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:917)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835)
at net.minecraft.client.main.Main.main(SourceFile:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_05, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 480932104 bytes (458 MB) / 661127168 bytes (630 MB) up to 746061824 bytes (711 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance.exe.heapdump -Xms400M -Xmx800M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 8 mods loaded, 8 mods active
mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FML{7.2.217.1147} [Forge Mod Loader] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Forge{10.12.2.1147} [Minecraft Forge] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
BiblioCraft{1.7.1} [biblioCraft] (BiblioCraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
customnpcs{1.7.2-2} [CustomNpcs] (CustomNPCs.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
quidcraft{1.0} [HPsRP Quidditch] (HPsRP.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
HPsRP{1.0} [HPsRP Mods] (HPsRP.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
tabbychat{1.11.00} [TabbyChat] (TabbyChat.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Launched Version: HPsRP
LWJGL: 2.9.0
OpenGL: GeForce 8600 GT/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: Polski (Polska)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Anisotropic Filtering: Off (1)

Thanks for any help:)

  • Author

Like that?:

FMLClientHandler.instance().connectToServer(this, new ServerData("", "ip:port"));

Ok i figured it out:P

Thanks for help.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.