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

ClassCastException: gp cannot be cast to gq

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8-pre2
    • None
    • Windows 7
      java version "1.7.0_25"
      Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
      Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    • Unconfirmed

      EDIT: my Jira search is weak; this is a duplicate of MC-67961. Feel free to close.

      If a server with compression already enabled tries to modify the compression threshold, the client drops to the Connection Lost screen with "Internal Exception: java.lang.ClassCastException: gp cannot be cast to gq".

      This exception originates inside method "gr.a(int)", which appears to have a copy/paste error where it performs an "instanceof" check and cast on different objects.

      The error was produced using a custom server but it is certainly a client bug.

            Unassigned Unassigned
            spacemaniac Tad Hardesty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: