Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Where should I check my code first?

$
0
0

Hello,

I make my application, and I change SDK from 3.2.2 to 3.2.3. Then, my application crash.

What change SDK, and where I should check my code. Of course, I'll try to debug and fix it.

If you have a knowledge, please give me a hint. I do HTTP and make scrollable view with image view.

Thank you very much.

3.2.2 OK, run well

[INFO] : length: 2 [INFO] : I/System.out: Thread-2581(HTTPLog):isShipBuild true [INFO] : I/System.out: Thread-2581(HTTPLog):SmartBonding Enabling is true, SHIP_BUILD is true, log to file is false, DBG is false [INFO] : dalvikvm: Total arena pages for JIT: 46 [INFO] : dalvikvm: Total arena pages for JIT: 47 [INFO] : dalvikvm: Total arena pages for JIT: 48 [INFO] : dalvikvm: Total arena pages for JIT: 49 [INFO] : dalvikvm: Total arena pages for JIT: 50 [INFO] : dalvikvm: Total arena pages for JIT: 51 [INFO] : dalvikvm: Total arena pages for JIT: 52 [INFO] : dalvikvm: Total arena pages for JIT: 5 [INFO] : dalvikvm: Total arena pages for JIT: 54 [INFO] : dalvikvm: Total arena pages for JIT: 55 [INFO] : dalvikvm: Total arena pages for JIT: 56 [INFO] : dalvikvm: Total arena pages for JIT: 57 [INFO] : numberOfPages: 2

3.2.3 NG, crash now.

[INFO] : length: 2 [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41c87da0) [ERROR] : TiApplication: (main) [1793,7312] Sending event: exception on thread: main msg:java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0; Titanium 3.2.3,2014/04/22 10:17,b958a70 [ERROR] : TiApplication: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 [ERROR] : TiApplication: at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) [ERROR] : TiApplication: at java.util.ArrayList.get(ArrayList.java:308) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.TiUIScrollableView$2.onPageScrolled(TiUIScrollableView.java:192) [ERROR] : TiApplication: at android.support.v4.view.ViewPager.onPageScrolled(ViewPager.java:1712) [ERROR] : TiApplication: at android.support.v4.view.ViewPager.pageScrolled(ViewPager.java:1633) [ERROR] : TiApplication: at android.support.v4.view.ViewPager.scrollToItem(ViewPager.java:581) [ERROR] : TiApplication: at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1600) [ERROR] : TiApplication: at android.view.View.layout(View.java:15745) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4868) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : TiApplication: at android.view.View.layout(View.java:15745) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4868) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : iApplication: at android.view.View.layout(View.java:15745) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4868) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : TiApplication: at android.view.View.layout(View.java:15745) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4868) [ERROR] : TiApplication: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453) [ERROR] : TiApplication: at android.widget.FrameLayout.onLayout(FrameLayout.java:388) [ERROR] : TiApplication: at android.view.View.layout(View.java:15745) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4868) [ERROR] : TiApplication: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677) [ERROR] : TiApplication: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531) [ERROR] : TiApplication: at android.widget.LinearLayout.onLayout(LinearLayout.java:1440) [ERROR] : TiApplication: at android.view.View.layout(View.java:15745) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4868) [ERROR] : TiApplication: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453) [ERROR] : TiApplication: at android.widget.FrameLayout.onLayout(FrameLayout.java:388) [ERROR] : TiApplication: at android.view.View.layout(View.java:15745) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4868) [ERROR] : TiApplication: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2333) [ERROR] : TiApplication: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2046) [ERROR] : TiApplication: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1249) [ERROR] : TiApplication: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6585) [ERROR] : TiApplication: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803) [ERROR] : TiApplication: at android.view.Choreographer.doCallbacks(Choreographer.java:603) [ERROR] : TiApplication: at android.view.Choreographer.doFrame(Choreographer.java:573) [ERROR] : TiApplication: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789) [ERROR] : TiApplication: at android.os.Handler.handleCallback(Handler.java:733) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:95) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:136) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5476) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:515) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method)


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>