mojira.dev
MC-32699

Squid damage multiplayer - End of Stream, NullPointerException

I was on a locally hosted multiplayer server, and i hit a squid then get a End of stream message and the console log shows this

ERROR ec Exception on tcp connection java.lang.NullPointerException
at gw.a(SourceFile:228)
at gm.a(SourceFile:49)
at gw.a(SourceFile:219)
at ec.i(SourceFile:179)
at ec.d(SourceFile:19)
at ee.run(SourceFile:117)

here is Docm77's snapshot video showing this bug
http://youtu.be/pz7Iu7L1ZiQ?t=6m30s

i have tested this on single player and did not crash/get kicked

Linked issues

Comments 8

Please attach the complete output of the "Development console" tab of the launcher.

  • Click the text, press CTRL-A to select all, then CTRL-C to copy, and CTRL-V to paste in a comment on this ticket.

Launcher 1.2.5 (through bootstrap 4) started on windows...
Refreshing local version list...
Current time is Sep 26, 2013 6:58:10 PM
System.getProperty('os.name') == 'Windows 7'
System.getProperty('os.version') == '6.1'
System.getProperty('os.arch') == 'x86'
System.getProperty('java.version') == '1.7.0_25'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '32'
Ignoring: versions/1.5.2-Forge/1.5.2-Forge.json; it contains id: '1.5.2-forge' expected '1.5.2-Forge'
Refreshing remote version list...
Refresh complete.
Loaded 8 profile(s); selected 'Snapshots'
Refreshing auth...
Logging in with access token
Delta time to compare resources: 19706 ms 
Download job 'Resources' skipped as there are no files to download
Job 'Resources' finished successfully
Getting syncinfo for selected version
Queueing library & version downloads
Download job 'Version & Libraries' started (8 threads, 24 files)
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.3.1\vecmath-1.3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.1\authlib-1.1.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\versions\13w39a\13w39a.jar for job 'Version & Libraries': Used own copy as it matched etag
Finished downloading C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar for job 'Version & Libraries': Used own copy as it matched etag
Job 'Version & Libraries' finished successfully
Launching game
Looking for old natives to clean up...
Unpacking natives to C:\Users\Simon\AppData\Roaming\.minecraft\versions\13w39a\13w39a-natives-84126487629806
Launching in C:\Users\Simon\AppData\Roaming\.minecraft\Snappies
Running C:\Program Files\Java\jre7\bin\javaw.exe -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -Djava.library.path=C:\Users\Simon\AppData\Roaming\.minecraft\versions\13w39a\13w39a-natives-84126487629806 -cp C:\Users\Simon\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.3.1\vecmath-1.3.1.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.1\authlib-1.1.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\Simon\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\Simon\AppData\Roaming\.minecraft\versions\13w39a\13w39a.jar net.minecraft.client.main.Main --username simonki2 --session token:1d4c6fb247034d67a91d3a0e64445474:bc56223f666245aeb8466edd0dc51214 --version 13w39a --gameDir C:\Users\Simon\AppData\Roaming\.minecraft\Snappies --assetsDir C:\Users\Simon\AppData\Roaming\.minecraft\assets --uuid bc56223f666245aeb8466edd0dc51214 --accessToken 1d4c6fb247034d67a91d3a0e64445474
Client> 
Client> Starting up SoundSystem...
Client> Initializing LWJGL OpenAL
Client>     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
Client> OpenAL initialized.
Client>

this is the log from the development console tab after punching the squid, log don't seem to be logging any data either

This was after the crash? Interesting.

Please check for a crash report ([minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder]/crash-reports/crash-<DATE>-client.txt) and attach it so that we can diagnose your issue.

There is no crash report for this day/month the crash only seems to happen on multiplayer and with the new log system not yet fully implemented and the old log is turned off

this is the full multiplayer log
ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogger

ERROR ec Exception on tcp connection java.lang.NullPointerException
at gw.a(SourceFile:228)
at gm.a(SourceFile:49)
at gw.a(SourceFile:219)
at ec.i(SourceFile:179)
at ec.d(SourceFile:19)
at ee.run(SourceFile:117)

Yeah the missing logfiles has been reported in MC-32664 . Thank you for trying, I will leave this open as several others have reported it as well.

Confirmed, 13w39a SMP boot when damaging squid.

Had this exact error on a vanilla SMP 13w39a but whilst both players were placing torches. No other players and no squids around.

OK this is very odd. We weren't near water - we were in a cave. I've just noticed I have five ink sacs in my inventory, so clearly some squid died somewhere, somehow, as it crashed. I had only checked my inventory a minute or two ago and there were no ink sacs in it. No idea where they came from, though!

Simon Kindleysides

Nathan Adams

Confirmed

damage, disconnect, multiplayer, squid

Minecraft 13w39a

Minecraft 13w39b

Retrieved