Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-17162

Android: TiHTTPClient.getResponseHeader throws NullPointerException

    Details

    • Sprint:
      2014 Sprint 12 SDK

      Description

      [WARN]  W/System.err: java.lang.NullPointerException
      [WARN]  W/System.err: 	at ti.modules.titanium.network.TiHTTPClient.getResponseHeader(TiHTTPClient.java:772)
      [WARN]  W/System.err: 	at ti.modules.titanium.network.HTTPClientProxy.getResponseHeader(HTTPClientProxy.java:93)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.runtime.v8.V8Object.nativeCallProperty(Native Method)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.runtime.v8.V8Object.callProperty(V8Object.java:69)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1121)
      [WARN]  W/System.err: 	at android.os.Handler.dispatchMessage(Handler.java:95)
      [WARN]  W/System.err: 	at android.os.Looper.loop(Looper.java:137)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)

      At https://github.com/appcelerator/titanium_mobile/blob/3_3_0_RC/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java#L772 you’re using responseHeaders when theHeaders were used for the non-null check.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                yuchi Pier Paolo Ramon
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-18853
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code