Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-95107

Minecraft crash if a Villager gives you air

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8.9
    • None
    • Unconfirmed

      If you make a villager that gives you air when you trade with him, Minecraft crash. Video: https://youtu.be/9kx8IS5t2vc

      The command:

      /summon Villager ~1 ~ ~ {Profession:0,CustomName:" ",CustomNameVisible:0,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Offers:{Recipes:[{buy:{id:"stone",Count:1},maxUses:9999999,sell:{id:"air",Count:1}}]}}
      

      Crash report:

      ---- Minecraft Crash Report ----
      // Don't do that.
      
      Time: 2016-01-02 14:22
      Description: Updating screen events
      
      java.lang.NullPointerException: Updating screen events
      	at ya.h(SourceFile:159)
      	at ya.a(SourceFile:90)
      	at yg.d(SourceFile:81)
      	at xi.a(SourceFile:326)
      	at bda.a(SourceFile:368)
      	at ayl.a(SourceFile:515)
      	at ayl.b(SourceFile:539)
      	at ayl.a(SourceFile:524)
      	at axu.l(SourceFile:428)
      	at axu.p(SourceFile:396)
      	at ave.s(SourceFile:1498)
      	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 --
      Stacktrace:
      	at ya.h(SourceFile:159)
      	at ya.a(SourceFile:90)
      	at yg.d(SourceFile:81)
      	at xi.a(SourceFile:326)
      	at bda.a(SourceFile:368)
      	at ayl.a(SourceFile:515)
      	at ayl.b(SourceFile:539)
      	at ayl.a(SourceFile:524)
      	at axu.l(SourceFile:428)
      	at axu.p(SourceFile:396)
      
      -- Affected screen --
      Details:
      	Screen name: azd
      
      -- Affected level --
      Details:
      	Level name: MpServer
      	All players: 1 total; [bew['lindgrenfabian'/162836, l='MpServer', x=201,16, y=4,00, z=-503,45]]
      	Chunk stats: MultiplayerChunkCache: 1080, 1080
      	Level seed: 0
      	Level generator: ID 01 - flat, ver 0. Features enabled: false
      	Level generator options: 
      	Level spawn location: 199,00,4,00,-494,00 - World: (199,4,-494), Chunk: (at 7,0,2 in 12,-31; contains blocks 192,0,-496 to 207,255,-481), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
      	Level time: 3595 game time, 3595 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: 74 total; [wb['Slime'/162690, l='MpServer', x=123,50, y=4,00, z=-455,53], tn['Chicken'/162698, l='MpServer', x=124,41, y=4,00, z=-529,34], tn['Chicken'/162699, l='MpServer', x=136,59, y=4,00, z=-507,59], wb['Slime'/162697, l='MpServer', x=142,94, y=4,00, z=-547,19], wb['Slime'/162702, l='MpServer', x=121,73, y=4,70, z=-424,99], wb['Slime'/162700, l='MpServer', x=142,44, y=4,00, z=-456,41], wb['Slime'/162701, l='MpServer', x=131,92, y=4,52, z=-443,19], tn['Chicken'/162710, l='MpServer', x=146,50, y=4,00, z=-514,50], tn['Chicken'/162711, l='MpServer', x=145,50, y=4,00, z=-509,50], wb['Slime'/162708, l='MpServer', x=152,88, y=4,52, z=-544,21], tn['Chicken'/162709, l='MpServer', x=144,63, y=4,00, z=-512,34], wb['Slime'/162714, l='MpServer', x=148,41, y=4,66, z=-468,74], wb['Slime'/162715, l='MpServer', x=149,36, y=4,66, z=-465,57], wb['Slime'/162712, l='MpServer', x=154,38, y=4,00, z=-483,28], wb['Slime'/162713, l='MpServer', x=142,53, y=4,00, z=-484,66], wb['Slime'/162718, l='MpServer', x=150,51, y=4,31, z=-451,02], wb['Slime'/162719, l='MpServer', x=151,19, y=4,00, z=-438,38], wb['Slime'/162716, l='MpServer', x=143,25, y=4,34, z=-470,58], wi[' '/173596, l='MpServer', x=201,50, y=4,00, z=-504,50], bew['lindgrenfabian'/162836, l='MpServer', x=201,16, y=4,00, z=-503,45], wb['Slime'/162717, l='MpServer', x=144,69, y=4,00, z=-455,84], tt['Pig'/162722, l='MpServer', x=169,81, y=4,00, z=-522,84], tt['Pig'/162723, l='MpServer', x=172,55, y=4,00, z=-515,65], wb['Slime'/162721, l='MpServer', x=164,94, y=4,14, z=-549,17], wb['Slime'/162726, l='MpServer', x=175,19, y=4,00, z=-443,66], tv['Sheep'/162724, l='MpServer', x=161,09, y=4,00, z=-515,34], wb['Slime'/162725, l='MpServer', x=164,69, y=4,51, z=-451,53], wb['Slime'/162730, l='MpServer', x=181,27, y=5,16, z=-534,16], tt['Pig'/162731, l='MpServer', x=188,03, y=4,00, z=-525,94], wb['Slime'/162729, l='MpServer', x=184,42, y=4,06, z=-554,17], wb['Slime'/162732, l='MpServer', x=179,90, y=4,00, z=-495,85], wb['Slime'/162733, l='MpServer', x=183,19, y=4,00, z=-448,66], to['Cow'/162739, l='MpServer', x=216,72, y=4,00, z=-576,34], wb['Slime'/162737, l='MpServer', x=192,34, y=4,00, z=-529,16], to['Cow'/162742, l='MpServer', x=211,94, y=4,00, z=-555,19], to['Cow'/162743, l='MpServer', x=223,75, y=4,00, z=-559,78], wb['Slime'/162740, l='MpServer', x=221,53, y=4,00, z=-567,78], to['Cow'/162741, l='MpServer', x=221,50, y=4,00, z=-558,50], wb['Slime'/162746, l='MpServer', x=223,69, y=4,52, z=-500,74], wb['Slime'/162747, l='MpServer', x=219,56, y=4,00, z=-496,19], wb['Slime'/162744, l='MpServer', x=213,45, y=4,52, z=-509,63], wb['Slime'/162745, l='MpServer', x=224,34, y=4,00, z=-518,53], wb['Slime'/162750, l='MpServer', x=215,41, y=4,00, z=-527,06], tt['Pig'/162751, l='MpServer', x=237,97, y=4,00, z=-496,09], wb['Slime'/162748, l='MpServer', x=214,98, y=4,70, z=-493,77], wb['Slime'/162749, l='MpServer', x=222,86, y=5,07, z=-567,48], wb['Slime'/162755, l='MpServer', x=237,00, y=4,00, z=-572,41], tt['Pig'/162752, l='MpServer', x=236,81, y=4,00, z=-478,66], wb['Slime'/162758, l='MpServer', x=245,06, y=4,00, z=-559,44], wb['Slime'/162759, l='MpServer', x=246,32, y=5,16, z=-530,96], wb['Slime'/162756, l='MpServer', x=247,94, y=4,00, z=-564,34], wb['Slime'/162757, l='MpServer', x=244,41, y=4,00, z=-574,88], tt['Pig'/162762, l='MpServer', x=242,16, y=4,00, z=-486,72], tt['Pig'/162763, l='MpServer', x=249,00, y=4,00, z=-475,09], wb['Slime'/162760, l='MpServer', x=249,20, y=4,52, z=-527,83], tn['Chicken'/162761, l='MpServer', x=254,22, y=4,00, z=-481,75], tn['Chicken'/162766, l='MpServer', x=242,00, y=4,00, z=-426,69], tn['Chicken'/162767, l='MpServer', x=244,56, y=4,00, z=-424,91], wb['Slime'/162764, l='MpServer', x=248,01, y=4,14, z=-456,97], wb['Slime'/162771, l='MpServer', x=274,69, y=4,00, z=-565,00], tn['Chicken'/162768, l='MpServer', x=248,38, y=4,00, z=-426,59], wb['Slime'/162774, l='MpServer', x=272,88, y=4,00, z=-494,69], tn['Chicken'/162775, l='MpServer', x=259,25, y=4,00, z=-483,94], wb['Slime'/162772, l='MpServer', x=265,40, y=5,16, z=-572,01], wb['Slime'/162773, l='MpServer', x=262,59, y=4,00, z=-510,22], tn['Chicken'/162778, l='MpServer', x=259,75, y=4,00, z=-484,63], wb['Slime'/162776, l='MpServer', x=259,38, y=4,70, z=-481,35], tn['Chicken'/162777, l='MpServer', x=261,19, y=4,00, z=-478,25], tp['Horse'/162782, l='MpServer', x=275,21, y=4,00, z=-517,65], tp['Horse'/162783, l='MpServer', x=275,72, y=4,00, z=-515,13], tt['Pig'/162781, l='MpServer', x=273,84, y=4,00, z=-525,91], wb['Slime'/162786, l='MpServer', x=270,78, y=4,00, z=-464,34], wb['Slime'/162788, l='MpServer', x=268,92, y=5,16, z=-449,69], tv['Sheep'/162684, l='MpServer', x=120,81, y=4,00, z=-551,53]]
      	Retry entities: 0 total; []
      	Server brand: vanilla
      	Server type: Integrated singleplayer server
      Stacktrace:
      	at bdb.a(SourceFile:309)
      	at ave.b(SourceFile:2311)
      	at ave.a(SourceFile:334)
      	at net.minecraft.client.main.Main.main(SourceFile:124)
      
      -- System Details --
      Details:
      	Minecraft Version: 1.8.9
      	Operating System: Windows 8.1 (amd64) version 6.3
      	Java Version: 1.8.0_25, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      	Memory: 422335336 bytes (402 MB) / 647495680 bytes (617 MB) up to 954728448 bytes (910 MB)
      	JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
      	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      	Launched Version: 1.8.9
      	LWJGL: 2.9.4
      	OpenGL: Intel(R) HD Graphics 4400 GL version 4.2.0 - Build 10.18.10.3355, Intel
      	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: No
      	Is Modded: Probably not. Jar signature remains and client brand is untouched.
      	Type: Client (map_client.txt)
      	Resource Packs: 
      	Current Language: English (US)
      	Profiler Position: N/A (disabled)
      	CPU: 4x Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
      

            Unassigned Unassigned
            lindgrenfabian Fabian
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: