[MC-2287] java.io.IOException: Bad packet id 254 Created: 04/Nov/12  Updated: 06/May/15  Resolved: 08/Nov/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: None

Type: Bug
Reporter: user-571ee (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Windows XP


Issue Links:
Duplicate
duplicates MC-984 Internal exception: java.io.IOExcepti... Resolved
CHK:
Confirmation Status: Unconfirmed

 Description   

Can't login to a specific server because of an "java.io.IOException: Bad packet id 254" followed by an "NullPointerException". I attached the crashlog from the Minecraft Window and additional the output from the console window.

27 achievements
208 recipes
Setting user: mrheat, -8270745847486701007
LWJGL Version: 2.8.3

Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.or
g)
OpenAL initialized.

Connecting to 217.198.142.40, 25565
java.io.IOException: Bad packet id 254
        at dx.a(SourceFile:181)
        at bx.i(SourceFile:248)
        at bx.c(SourceFile:23)
        at by.run(SourceFile:101)
java.lang.NullPointerException
        at xe.<init>(SourceFile:126)
        at awz.<init>(SourceFile:39)
        at awr.a(SourceFile:148)
        at do.a(SourceFile:71)
        at bx.b(SourceFile:341)
        at awr.d(SourceFile:98)
        at awz.b(SourceFile:61)
        at net.minecraft.client.Minecraft.l(SourceFile:1282)
        at net.minecraft.client.Minecraft.J(SourceFile:582)
        at net.minecraft.client.Minecraft.run(SourceFile:534)
        at java.lang.Thread.run(Unknown Source)
Stopping!

SoundSystem shutting down...
    Author: Paul Lamb, www.paulscode.com



      Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem; Unexpected error
This error has been saved to C:\Dokumente und Einstellungen\Thiemo\Anwendungsdaten\.minecraft\crash-reports\crash-2012-11-05_00.15.00-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.



--- BEGIN ERROR REPORT 563d5ba --------
Generated 05.11.12 00:15

- Minecraft Version: 1.4.2
- Operating System: Windows XP (x86) version 5.1
- Java Version: 1.6.0_24, Sun Microsystems Inc.
- Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Sun Microsystems Inc.
- Memory: 36013184 bytes (34 MB) / 74756096 bytes (71 MB) up to 518979584 bytes (494 MB)
- JVM Flags: 1 total; -Xmx512M
- AABB Pool Size: 2849 (159544 bytes; 0 MB) allocated, 37 (2072 bytes; 0 MB) used
- LWJGL: 2.8.3
- OpenGL: Radeon X1650 Series x86/MMX/3DNow!/SSE2 GL version 2.0.7058 WinXP Release, ATI Technologies Inc.
- Is Modded: Probably not
- Type: Client
- Texture Pack: Default
- Profiler Position: N/A (disabled)
- Vec3 Pool Size: 28 (1568 bytes; 0 MB) allocated, 19 (1064 bytes; 0 MB) used
- World MpServer Entities: 8 total; [axc['mrheat'/4095381, l='MpServer', x=-6696,67, y=49,62, z=-3147,49], lq['Painting'/4095441, l='MpServer', x=-6673,06, y=73,50, z=-3139,00], lq['Painting'/4095440, l='MpServer', x=-6680,00, y=74,50, z=-3137,06], lq['Painting'/4095439, l='MpServer', x=-6686,94, y=74,00, z=-3137,50], oi['Chicken'/4095430, l='MpServer', x=-6691,59, y=72,00, z=-3120,41], lm['entity.ItemFrame.name'/4095384, l='MpServer', x=-6697,06, y=49,50, z=-3144,50], lm['entity.ItemFrame.name'/4095383, l='MpServer', x=-6694,94, y=49,50, z=-3144,50], ol['Mooshroom'/4095382, l='MpServer', x=-6700,03, y=35,00, z=-3146,94]]
- World MpServer Players: 1 total; [axc['mrheat'/4095381, l='MpServer', x=-6696,67, y=49,62, z=-3147,49]]
- World MpServer Chunk Stats: MultiplayerChunkCache: 15
- Forced Entities: 11 total; [axc['mrheat'/4095381, l='MpServer', x=-6696,67, y=49,62, z=-3147,49], lq['Painting'/4095441, l='MpServer', x=-6673,06, y=73,50, z=-3139,00], lq['Painting'/4095440, l='MpServer', x=-6680,00, y=74,50, z=-3137,06], lq['Painting'/4095439, l='MpServer', x=-6686,94, y=74,00, z=-3137,50], lq['Painting'/4095439, l='MpServer', x=-6686,94, y=74,00, z=-3137,50], lm['entity.ItemFrame.name'/4095384, l='MpServer', x=-6697,06, y=49,50, z=-3144,50], lm['entity.ItemFrame.name'/4095383, l='MpServer', x=-6694,94, y=49,50, z=-3144,50], ol['Mooshroom'/4095382, l='MpServer', x=-6700,03, y=35,00, z=-3146,94], lq['Painting'/4095441, l='MpServer', x=-6673,06, y=73,50, z=-3139,00], lq['Painting'/4095440, l='MpServer', x=-6680,00, y=74,50, z=-3137,06], oi['Chicken'/4095430, l='MpServer', x=-6691,59, y=72,00, z=-3120,41]]
- Retry Entities: 0 total; []

java.lang.NullPointerException
	at xe.<init>(SourceFile:126)
	at awz.<init>(SourceFile:39)
	at awr.a(SourceFile:148)
	at do.a(SourceFile:71)
	at bx.b(SourceFile:341)
	at awr.d(SourceFile:98)
	at awz.b(SourceFile:61)
	at net.minecraft.client.Minecraft.l(SourceFile:1282)
	at net.minecraft.client.Minecraft.J(SourceFile:582)
	at net.minecraft.client.Minecraft.run(SourceFile:534)
	at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 2af703a6 ----------


 Comments   
Comment by user-571ee (Inactive) [ 05/Nov/12 ]

To let you know: This was a "blocker" for me and others on our server. We all walked roughly in the same region at different times and got the same error.

Our positions got reseted to the spawn. We are able to login now.

Comment by Chalmes (Jon) [ 05/Nov/12 ]

Possibly duplicated by/related to MC-984

Generated at Sun Jan 12 11:57:21 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.