Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-1234

Offline game doesn't start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.0.10
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Windows 7 32-Bit, Java version 7, update 7
    • Confirmation Status:
      Unconfirmed

      Description

      Whenever I start an offline Minecraft session, it aborts the launch. For 3 minutes it tries to start the game, then after that it comes out like this:
      EDIT:
      Here's the actual Dev. console text:

      Development console
      Launcher 1.0.10 (through bootstrap 4) started on windows...
      Current time is Jul 18, 2013 9:12:11 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_07'
      System.getProperty('java.vendor') == 'Oracle Corporation'
      System.getProperty('sun.arch.data.model') == '32'
      Loaded 2 profile(s); selected '(Default)'
      Couldn't get server status
      com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
      	at com.google.gson.Gson.fromJson(Gson.java:815)
      	at com.google.gson.Gson.fromJson(Gson.java:768)
      	at com.google.gson.Gson.fromJson(Gson.java:717)
      	at net.minecraft.launcher.ui.sidebar.StatusPanelForm$1.run(StatusPanelForm.java:57)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
      	at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:338)
      	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79)
      	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:1)
      	at com.google.gson.Gson.fromJson(Gson.java:803)
      	... 9 more
      
      Unexpected exception refreshing version list
      com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
      	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
      	at com.google.gson.Gson.fromJson(Gson.java:803)
      	at com.google.gson.Gson.fromJson(Gson.java:768)
      	at com.google.gson.Gson.fromJson(Gson.java:717)
      	at com.google.gson.Gson.fromJson(Gson.java:689)
      	at net.minecraft.launcher.updater.VersionList.refreshVersions(VersionList.java:77)
      	at net.minecraft.launcher.updater.VersionManager.refreshVersions(VersionManager.java:48)
      	at net.minecraft.launcher.Launcher$2.run(Launcher.java:166)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
      	at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374)
      	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:165)
      	... 13 more
      
      Trying to log in...
      Logging in with access token
      Logged in successfully
      Invalidating accessToken with server...
      Trying to log in...
      Logging in with username & password
      Logged in successfully
      Getting syncinfo for selected version
      Couldn't go online
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.ArrayList.rangeCheck(Unknown Source)
      	at java.util.ArrayList.get(Unknown Source)
      	at net.minecraft.launcher.GameLauncher.playGame(GameLauncher.java:96)
      	at net.minecraft.launcher.ui.sidebar.login.NotLoggedInForm$1.run(NotLoggedInForm.java:174)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      
      Going to play offline as 'brub46'...
      Delta time to compare resources: 16964 ms 
      Download job 'Resources' skipped as there are no files to download
      Job 'Resources' finished successfully
      Launching game
      Aborting launch; version is null?
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              xXdab0mbXx Matt Gan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: