You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you verify this is a real problem by searching [Stack Overflow]
Yes
Tell us about the problem
I created an application using TNS 2.0.1 and wrapped it with MobileIron to use for an internal mobile application. The application runs well unwrapped, but as soon as I try to launch the wrapped app, it just dies. The important parts of the logs:
08-09 14:35:21.256 29366 30414 D ActivityManager: Launching forgepond.com.tdameritrade.PCEvaluate, updated priority
08-09 14:35:21.356 6621 6621 W ResourcesManager: getTopLevelResources: /data/app/forgepond.com.tdameritrade.PCEvaluate-1/base.apk / 1.0 running in forgepond.com.tdameritrade.PCEvaluate rsrc of package null
08-09 14:35:21.496 6621 6621 D LockSmithWrapper: Current handler=class com.android.internal.os.RuntimeInit$UncaughtHandler
08-09 14:35:21.556 6621 6621 D LockSmithWrapper: calcJails() invoked
08-09 14:35:21.686 6621 6621 D LockSmithWrapper: jailing: forgepond.com.mobileiron.android.securebrowser dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.736 6621 6621 D LockSmithWrapper: jailing: forgepond.com.enterproid.divide.pim dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.746 6621 6621 D LockSmithWrapper: jailing: forgepond.com.tf.thinkdroid.mobileIron dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.756 6621 6621 D LockSmithWrapper: jailing: forgepond.org.openintents.filemanager dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.756 6621 6621 D LockSmithWrapper: jailing: forgepond.com.mobileiron.orion.android dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.756 6621 6621 D LockSmithWrapper: jailing: forgepond.com.tdameritrade.PCEvaluate dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.766 6621 6621 D LockSmithWrapper: calcJails() invoked
08-09 14:35:21.846 6621 6621 D LockSmithWrapper: jailing: forgepond.com.mobileiron.android.securebrowser dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.876 6621 6621 D LockSmithWrapper: jailing: forgepond.com.enterproid.divide.pim dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.896 6621 6621 D LockSmithWrapper: jailing: forgepond.com.tf.thinkdroid.mobileIron dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.906 6621 6621 D LockSmithWrapper: jailing: forgepond.org.openintents.filemanager dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.906 6621 6621 D LockSmithWrapper: jailing: forgepond.com.mobileiron.orion.android dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.906 6621 6621 D LockSmithWrapper: jailing: forgepond.com.tdameritrade.PCEvaluate dataDir : /data/user/0/ dataDirCanonicalPath : /data/data/
08-09 14:35:21.916 6621 6621 W System.err: remove failed: ENOENT (No such file or directory) : /data/user/0/forgepond.com.tdameritrade.PCEvaluate/app_aclogs._ac
08-09 14:35:21.946 6621 6621 D AndroidRuntime: Shutting down VM
08-09 14:35:21.956 6621 6621 E ExceptionHandler: Unable to instantiate activity ComponentInfo{forgepond.com.tdameritrade.PCEvaluate/com.tns.NativeScriptActivity}: java.lang.NullPointerException: Attempt to read from field 'int com.tns.Runtime.currentObjectId' on a null object reference
08-09 14:35:21.956 6621 6621 E ExceptionHandler: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{forgepond.com.tdameritrade.PCEvaluate/com.tns.NativeScriptActivity}: java.lang.NullPointerException: Attempt to read from field 'int com.tns.Runtime.currentObjectId' on a null object reference
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3093)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.app.ActivityThread.access$1100(ActivityThread.java:221)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.os.Handler.dispatchMessage(Handler.java:102)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.os.Looper.loop(Looper.java:158)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.app.ActivityThread.main(ActivityThread.java:7224)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at java.lang.reflect.Method.invoke(Native Method)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: Caused by: java.lang.NullPointerException: Attempt to read from field 'int com.tns.Runtime.currentObjectId' on a null object reference
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at com.tns.Runtime.initInstance(Runtime.java:334)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at com.tns.NativeScriptActivity.<init>(NativeScriptActivity.java:7)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at java.lang.Class.newInstance(Native Method)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.app.Instrumentation.newActivity(Instrumentation.java:1095)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3083)
08-09 14:35:21.956 6621 6621 E ExceptionHandler: ... 9 more
08-09 14:35:21.956 6621 6621 I Process : Sending signal. PID: 6621 SIG: 9
08-09 14:35:21.976 29366 714 I ActivityManager: Process forgepond.com.tdameritrade.PCEvaluate (pid 6621)(adj 0) has died(243,150)
08-09 14:35:21.976 29366 714 D ActivityManager: isAutoRunBlockedApp:: forgepond.com.tdameritrade.PCEvaluate, Auto Run ON
08-09 14:35:21.996 29366 714 I ActivityManager: Start proc 6636:forgepond.com.tdameritrade.PCEvaluate/u0a75 for activity forgepond.com.tdameritrade.PCEvaluate/com.tns.NativeScriptActivityFPAlias
08-09 14:35:22.006 6636 6636 E Zygote : accessInfo : 0
08-09 14:35:22.006 6636 6636 W SELinux : SELinux: seapp_context_lookup: seinfo=default, level=s0:c512,c768, pkgname=forgepond.com.tdameritrade.PCEvaluate
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
I can only say to wrap an application and try to run it. My application is super simple with most of the functionality being provided by a remote server. I use the webview to display forms which can be filled out. The remainder of the app is a list view to select the form to fill out, and a login screen.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
I don't know what is causing it, but I've included the important parts of the log, above.
Mobile Iron Wrapper Version: 7.5.3.0.14-0
The text was updated successfully, but these errors were encountered:
Did you verify this is a real problem by searching [Stack Overflow]
Yes
Tell us about the problem
I created an application using TNS 2.0.1 and wrapped it with MobileIron to use for an internal mobile application. The application runs well unwrapped, but as soon as I try to launch the wrapped app, it just dies. The important parts of the logs:
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
"nativescript-unit-test-runner": "^0.2.8",
"nativescript-webview-interface": "^1.2.0",
"tns-core-modules": "^2.0.1"
Please tell us how to recreate the issue in as much detail as possible.
I can only say to wrap an application and try to run it. My application is super simple with most of the functionality being provided by a remote server. I use the webview to display forms which can be filled out. The remainder of the app is a list view to select the form to fill out, and a login screen.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
I don't know what is causing it, but I've included the important parts of the log, above.
Mobile Iron Wrapper Version: 7.5.3.0.14-0
The text was updated successfully, but these errors were encountered: