[AC-1932] Android: NPE in TiDeployData.deployTypeDisabled()
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-11-18T19:13:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | android |
Reporter | Dan Tamas |
Assignee | Mauro Parra-Miranda |
Created | 2013-11-15T20:52:47.000+0000 |
Updated | 2016-03-08T07:40:51.000+0000 |
Description
Trying to build with the Ti SDK 3.2.0.v20131115104635 and get this error on all the specified devices.
08-23 13:40:01.439: E/TiApplication(1053): (main) [102,2571] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to create application com.grouptime.messenger.GrouptimeApplication: java.lang.NullPointerException; Titanium 3.2.0,2013/11/15 10:47,c1b9490
08-23 13:40:01.439: E/TiApplication(1053): java.lang.RuntimeException: Unable to create application com.grouptime.messenger.GrouptimeApplication: java.lang.NullPointerException
08-23 13:40:01.439: E/TiApplication(1053): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3275)
08-23 13:40:01.439: E/TiApplication(1053): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
08-23 13:40:01.439: E/TiApplication(1053): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
08-23 13:40:01.439: E/TiApplication(1053): at android.os.Handler.dispatchMessage(Handler.java:99)
08-23 13:40:01.439: E/TiApplication(1053): at android.os.Looper.loop(Looper.java:130)
08-23 13:40:01.439: E/TiApplication(1053): at android.app.ActivityThread.main(ActivityThread.java:3683)
08-23 13:40:01.439: E/TiApplication(1053): at java.lang.reflect.Method.invokeNative(Native Method)
08-23 13:40:01.439: E/TiApplication(1053): at java.lang.reflect.Method.invoke(Method.java:507)
08-23 13:40:01.439: E/TiApplication(1053): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-23 13:40:01.439: E/TiApplication(1053): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-23 13:40:01.439: E/TiApplication(1053): at dalvik.system.NativeStart.main(Native Method)
08-23 13:40:01.439: E/TiApplication(1053): Caused by: java.lang.NullPointerException
08-23 13:40:01.439: E/TiApplication(1053): at org.appcelerator.kroll.common.TiDeployData.deployTypeDisabled(TiDeployData.java:141)
08-23 13:40:01.439: E/TiApplication(1053): at org.appcelerator.kroll.common.TiDeployData.getFastDevPort(TiDeployData.java:120)
08-23 13:40:01.439: E/TiApplication(1053): at org.appcelerator.kroll.common.TiFastDev.readDeployData(TiFastDev.java:131)
08-23 13:40:01.439: E/TiApplication(1053): at org.appcelerator.kroll.common.TiFastDev.<init>(TiFastDev.java:119)
08-23 13:40:01.439: E/TiApplication(1053): at org.appcelerator.kroll.common.TiFastDev.initFastDev(TiFastDev.java:85)
08-23 13:40:01.439: E/TiApplication(1053): at org.appcelerator.titanium.TiApplication.postAppInfo(TiApplication.java:436)
08-23 13:40:01.439: E/TiApplication(1053): at com.grouptime.messenger.GrouptimeApplication.onCreate(GrouptimeApplication.java:33)
08-23 13:40:01.439: E/TiApplication(1053): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
08-23 13:40:01.439: E/TiApplication(1053): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3272)
08-23 13:40:01.439: E/TiApplication(1053): ... 10 more
08-23 13:40:01.509: E/AndroidRuntime(1053): FATAL EXCEPTION: main
08-23 13:40:01.509: E/AndroidRuntime(1053): java.lang.RuntimeException: Unable to create application com.grouptime.messenger.GrouptimeApplication: java.lang.NullPointerException
08-23 13:40:01.509: E/AndroidRuntime(1053): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3275)
08-23 13:40:01.509: E/AndroidRuntime(1053): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
08-23 13:40:01.509: E/AndroidRuntime(1053): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
08-23 13:40:01.509: E/AndroidRuntime(1053): at android.os.Handler.dispatchMessage(Handler.java:99)
08-23 13:40:01.509: E/AndroidRuntime(1053): at android.os.Looper.loop(Looper.java:130)
08-23 13:40:01.509: E/AndroidRuntime(1053): at android.app.ActivityThread.main(ActivityThread.java:3683)
08-23 13:40:01.509: E/AndroidRuntime(1053): at java.lang.reflect.Method.invokeNative(Native Method)
08-23 13:40:01.509: E/AndroidRuntime(1053): at java.lang.reflect.Method.invoke(Method.java:507)
08-23 13:40:01.509: E/AndroidRuntime(1053): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-23 13:40:01.509: E/AndroidRuntime(1053): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-23 13:40:01.509: E/AndroidRuntime(1053): at dalvik.system.NativeStart.main(Native Method)
08-23 13:40:01.509: E/AndroidRuntime(1053): Caused by: java.lang.NullPointerException
08-23 13:40:01.509: E/AndroidRuntime(1053): at org.appcelerator.kroll.common.TiDeployData.deployTypeDisabled(TiDeployData.java:141)
08-23 13:40:01.509: E/AndroidRuntime(1053): at org.appcelerator.kroll.common.TiDeployData.getFastDevPort(TiDeployData.java:120)
08-23 13:40:01.509: E/AndroidRuntime(1053): at org.appcelerator.kroll.common.TiFastDev.readDeployData(TiFastDev.java:131)
08-23 13:40:01.509: E/AndroidRuntime(1053): at org.appcelerator.kroll.common.TiFastDev.<init>(TiFastDev.java:119)
08-23 13:40:01.509: E/AndroidRuntime(1053): at org.appcelerator.kroll.common.TiFastDev.initFastDev(TiFastDev.java:85)
08-23 13:40:01.509: E/AndroidRuntime(1053): at org.appcelerator.titanium.TiApplication.postAppInfo(TiApplication.java:436)
08-23 13:40:01.509: E/AndroidRuntime(1053): at com.grouptime.messenger.GrouptimeApplication.onCreate(GrouptimeApplication.java:33)
08-23 13:40:01.509: E/AndroidRuntime(1053): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
08-23 13:40:01.509: E/AndroidRuntime(1053): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3272)
08-23 13:40:01.509: E/AndroidRuntime(1053): ... 10 more
08-23 13:40:01.529: W/ActivityManager(60): Force finishing activity com.grouptime.messenger/.GrouptimeActivity
DUP issue.