java.lang.NullPointerException

Appcelerator JIRA | Lokesh Choudhary | 2 years ago
  1. 0

    h5. Description: 1. Build & run the analytics test app from titanium_mobile_test_internal/Feature test/Analytics in github for android device. 2. Make sure your device is on staging. Follow the steps here: https://wiki.appcelerator.org/display/tp/Analytics+Test+Plan. 2. Tap on the Nav event button. h5. Actual Result: 1. We see error: {code} 06-23 15:12:45.940: E/TiExceptionHandler(9383): (main) [150,92516] ----- Titanium Javascript Runtime Error ----- 06-23 15:12:45.940: E/TiExceptionHandler(9383): (main) [0,92516] - In app.js:62,15 06-23 15:12:45.940: E/TiExceptionHandler(9383): (main) [0,92516] - Message: Uncaught Error: Java Exception occurred 06-23 15:12:45.940: E/TiExceptionHandler(9383): (main) [1,92517] - Source: Ti.Analytics.navEvent('navEventOne', 'navEventTwo', 'navEvent.testButton'); 06-23 15:12:45.950: E/V8Exception(9383): Exception occurred at app.js:62: Uncaught Error: Java Exception occurred {code} ADB logcat logs: {code} W/System.err( 9383): java.lang.NullPointerException W/System.err( 9383): at ti.modules.titanium.analytics.AnalyticsModule.navEvent(AnalyticsModule.java:59) W/System.err( 9383): at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method) W/System.err( 9383): at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:64) W/System.err( 9383): at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:884) W/System.err( 9383): at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1107) W/System.err( 9383): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347) W/System.err( 9383): at android.os.Handler.dispatchMessage(Handler.java:98) W/System.err( 9383): at android.os.Looper.loop(Looper.java:136) W/System.err( 9383): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112) {code} 2. No Nav event is sent. h5. Expected Result: 1. We should not get any Java Exception & nav event should be sent successfully.

    Appcelerator JIRA | 2 years ago | Lokesh Choudhary
    java.lang.NullPointerException
  2. 0

    h5. Description: 1. Build & run the analytics test app from titanium_mobile_test_internal/Feature test/Analytics in github for android device. 2. Make sure your device is on staging. Follow the steps here: https://wiki.appcelerator.org/display/tp/Analytics+Test+Plan. 2. Tap on the Nav event button. h5. Actual Result: 1. We see error: {code} 06-23 15:12:45.940: E/TiExceptionHandler(9383): (main) [150,92516] ----- Titanium Javascript Runtime Error ----- 06-23 15:12:45.940: E/TiExceptionHandler(9383): (main) [0,92516] - In app.js:62,15 06-23 15:12:45.940: E/TiExceptionHandler(9383): (main) [0,92516] - Message: Uncaught Error: Java Exception occurred 06-23 15:12:45.940: E/TiExceptionHandler(9383): (main) [1,92517] - Source: Ti.Analytics.navEvent('navEventOne', 'navEventTwo', 'navEvent.testButton'); 06-23 15:12:45.950: E/V8Exception(9383): Exception occurred at app.js:62: Uncaught Error: Java Exception occurred {code} ADB logcat logs: {code} W/System.err( 9383): java.lang.NullPointerException W/System.err( 9383): at ti.modules.titanium.analytics.AnalyticsModule.navEvent(AnalyticsModule.java:59) W/System.err( 9383): at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method) W/System.err( 9383): at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:64) W/System.err( 9383): at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:884) W/System.err( 9383): at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1107) W/System.err( 9383): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347) W/System.err( 9383): at android.os.Handler.dispatchMessage(Handler.java:98) W/System.err( 9383): at android.os.Looper.loop(Looper.java:136) W/System.err( 9383): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112) {code} 2. No Nav event is sent. h5. Expected Result: 1. We should not get any Java Exception & nav event should be sent successfully.

    Appcelerator JIRA | 2 years ago | Lokesh Choudhary
    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 ti.modules.titanium.analytics.AnalyticsModule.navEvent()
    2. ti.modules.titanium
      AnalyticsModule.navEvent
      1. ti.modules.titanium.analytics.AnalyticsModule.navEvent(AnalyticsModule.java:59)
      1 frame
    3. org.appcelerator.kroll
      KrollProxy.handleMessage
      1. org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)
      2. org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:64)
      3. org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:884)
      4. org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1107)
      4 frames
    4. org.appcelerator.titanium
      TiViewProxy.handleMessage
      1. org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347)
      1 frame
    5. Android Platform
      Looper.loop
      1. android.os.Handler.dispatchMessage(Handler.java:98)
      2. android.os.Looper.loop(Looper.java:136)
      2 frames
    6. org.appcelerator.kroll
      KrollRuntime$KrollRuntimeThread.run
      1. org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)
      1 frame