java.lang.NullPointerException

Appcelerator JIRA | Federico Casali | 3 years ago
  1. 0

    h5. Problem description After starting Appcelerator Studio , a java.lang.NullPointerException is thrown. From the log, it seems to be related to updating Android info. Everything still works as expected after that and the Android emulators are correctly working. Studio log: {code} !ENTRY org.eclipse.core.jobs 4 2 2014-05-01 10:00:09.926 !MESSAGE An internal error occurred during: "Update Android info". !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.android.internal.core.Emulator.hashCode(Emulator.java:304) at java.util.HashMap.put(HashMap.java:372) at java.util.HashSet.add(HashSet.java:200) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at com.aptana.core.util.CollectionsUtil.union(CollectionsUtil.java:755) at com.aptana.core.util.CollectionsUtil.getNonOverlapping(CollectionsUtil.java:343) at com.appcelerator.titanium.android.core.AndroidSDKLocator.parseTiInfo(AndroidSDKLocator.java:287) at com.appcelerator.titanium.android.core.AndroidSDKLocator.updateTiInfo(AndroidSDKLocator.java:216) at com.appcelerator.titanium.android.core.AndroidSDKLocator.access$0(AndroidSDKLocator.java:213) at com.appcelerator.titanium.android.core.AndroidSDKLocator$1.run(AndroidSDKLocator.java:233) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) {code} h5. Environment Appcelerator Studio 3.3.0.201404301307 TiSDK 3.3.0.v20140430151716 Android SDK Tools 22.6.3 Xcode 5.1.1 Android AVDs: . Android 2.3.3 - ARM . Android 2.3.3 - Intel x86 . Android 4.4.2 - Intel x86

    Appcelerator JIRA | 3 years ago | Federico Casali
    java.lang.NullPointerException
  2. 0

    h5. Problem description After starting Appcelerator Studio , a java.lang.NullPointerException is thrown. From the log, it seems to be related to updating Android info. Everything still works as expected after that and the Android emulators are correctly working. Studio log: {code} !ENTRY org.eclipse.core.jobs 4 2 2014-05-01 10:00:09.926 !MESSAGE An internal error occurred during: "Update Android info". !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.android.internal.core.Emulator.hashCode(Emulator.java:304) at java.util.HashMap.put(HashMap.java:372) at java.util.HashSet.add(HashSet.java:200) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at com.aptana.core.util.CollectionsUtil.union(CollectionsUtil.java:755) at com.aptana.core.util.CollectionsUtil.getNonOverlapping(CollectionsUtil.java:343) at com.appcelerator.titanium.android.core.AndroidSDKLocator.parseTiInfo(AndroidSDKLocator.java:287) at com.appcelerator.titanium.android.core.AndroidSDKLocator.updateTiInfo(AndroidSDKLocator.java:216) at com.appcelerator.titanium.android.core.AndroidSDKLocator.access$0(AndroidSDKLocator.java:213) at com.appcelerator.titanium.android.core.AndroidSDKLocator$1.run(AndroidSDKLocator.java:233) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) {code} h5. Environment Appcelerator Studio 3.3.0.201404301307 TiSDK 3.3.0.v20140430151716 Android SDK Tools 22.6.3 Xcode 5.1.1 Android AVDs: . Android 2.3.3 - ARM . Android 2.3.3 - Intel x86 . Android 4.4.2 - Intel x86

    Appcelerator JIRA | 3 years ago | Federico Casali
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.appcelerator.titanium.android.internal.core.Emulator.hashCode()
    2. com.appcelerator.titanium
      Emulator.hashCode
      1. com.appcelerator.titanium.android.internal.core.Emulator.hashCode(Emulator.java:304)
      1 frame
    3. Java RT
      AbstractCollection.addAll
      1. java.util.HashMap.put(HashMap.java:372)
      2. java.util.HashSet.add(HashSet.java:200)
      3. java.util.AbstractCollection.addAll(AbstractCollection.java:305)
      3 frames
    4. com.aptana.core
      CollectionsUtil.getNonOverlapping
      1. com.aptana.core.util.CollectionsUtil.union(CollectionsUtil.java:755)
      2. com.aptana.core.util.CollectionsUtil.getNonOverlapping(CollectionsUtil.java:343)
      2 frames
    5. com.appcelerator.titanium
      AndroidSDKLocator$1.run
      1. com.appcelerator.titanium.android.core.AndroidSDKLocator.parseTiInfo(AndroidSDKLocator.java:287)
      2. com.appcelerator.titanium.android.core.AndroidSDKLocator.updateTiInfo(AndroidSDKLocator.java:216)
      3. com.appcelerator.titanium.android.core.AndroidSDKLocator.access$0(AndroidSDKLocator.java:213)
      4. com.appcelerator.titanium.android.core.AndroidSDKLocator$1.run(AndroidSDKLocator.java:233)
      4 frames
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame