Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 6.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Issue Description

      Project is crashing using Crop module on Android in 6.1.0 GA

      Steps to replicate

      Download the attached project https://drive.google.com/file/d/0BwTWo-c2a0b9cHFpTjAtTGVXS00/view?usp=sharing
      Run

      CrashLog

       
      [ERROR] :  TiApplication: (main) [69316,101602] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ias.dispatchM/com.soundcloud.android.crop.CropImageActivity}: java.lang.NullPointerException: Attempt to write to field 'android.content.Context com.soundcloud.android.crop.CropImageView.context' on a null object reference; Titanium 6.1.0,2017/05/26 15:24,undefined
      [ERROR] :  TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ias.dispatchM/com.soundcloud.android.crop.CropImageActivity}: java.lang.NullPointerException: Attempt to write to field 'android.content.Context com.soundcloud.android.crop.CropImageView.context' on a null object reference
      [ERROR] :  TiApplication: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2666)
      [ERROR] :  TiApplication: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727)
      [ERROR] :  TiApplication: 	at android.app.ActivityThread.-wrap12(ActivityThread.java)
      [ERROR] :  TiApplication: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
      [ERROR] :  TiApplication: 	at android.os.Handler.dispatchMessage(Handler.java:102)
      [ERROR] :  TiApplication: 	at android.os.Looper.loop(Looper.java:154)
      [ERROR] :  TiApplication: 	at android.app.ActivityThread.main(ActivityThread.java:6121)
      [ERROR] :  TiApplication: 	at java.lang.reflect.Method.invoke(Native Method)
      [ERROR] :  TiApplication: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
      [ERROR] :  TiApplication: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
      [ERROR] :  TiApplication: Caused by: java.lang.NullPointerException: Attempt to write to field 'android.content.Context com.soundcloud.android.crop.CropImageView.context' on a null object reference
      [ERROR] :  TiApplication: 	at com.soundcloud.android.crop.CropImageActivity.setupViews(CropImageActivity.java:97)
      [ERROR] :  TiApplication: 	at com.soundcloud.android.crop.CropImageActivity.onCreate(CropImageActivity.java:75)
      [ERROR] :  TiApplication: 	at android.app.Activity.performCreate(Activity.java:6682)
      [ERROR] :  TiApplication: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
      [ERROR] :  TiApplication: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2619)
      [ERROR] :  TiApplication: 	... 9 more
      [INFO] :   Paused listener fired, Idle time set to:240
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ybanev Yordan Banev
                Reporter:
                rramirez Ricardo Ramirez
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code