Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2654] ScrollableView issue.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-02-12T07:33:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
LabelsAndroid, VirtualScroller, alloy, scrollableView
ReporterMaruti Hulikatti
AssigneeRitu Agrawal
Created2014-02-11T08:51:31.000+0000
Updated2016-03-08T07:41:45.000+0000

Description

I have scrollableView which have infinite views within it, So tend to use VirtualScroller available as open source, and its doing pretty good job in iOS version applications, But when it comes to Android it crashes randomly. I am giving the log here. [DEBUG] : AndroidRuntime: Shutting down VM [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x40af61f8) [ERROR] : TiApplication: (main) [29582,29582] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.2.0,2013/12/20 10:57,d9182d6 [ERROR] : TiApplication: java.lang.NullPointerException [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:474) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:451) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:489) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:473) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:451) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:489) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:473) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:451) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.forceCreateView(TiViewProxy.java:419) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.createControls(TiTableViewRowProxyItem.java:247) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:419) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:91) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:229) [ERROR] : TiApplication: at android.widget.AbsListView.obtainView(AbsListView.java:2033) [ERROR] : TiApplication: at android.widget.ListView.makeAndAddView(ListView.java:1772) [ERROR] : TiApplication: at android.widget.ListView.fillDown(ListView.java:672) [ERROR] : TiApplication: at android.widget.ListView.fillFromTop(ListView.java:732) [ERROR] : TiApplication: at android.widget.ListView.layoutChildren(ListView.java:1625) [ERROR] : TiApplication: at android.widget.AbsListView.onLayout(AbsListView.java:1863) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at android.widget.FrameLayout.onLayout(FrameLayout.java:431) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableView.onLayout(TiTableView.java:568) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1388) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at android.widget.ScrollView.onLayout(ScrollView.java:1405) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:578) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at android.widget.FrameLayout.onLayout(FrameLayout.java:431) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android.view.ViewGroup.layout(ViewGroup.java:4224) [ERROR] : TiApplication: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628) [ERROR] : TiApplication: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1486) [ERROR] : TiApplication: at android.widget.LinearLayout.onLayout(LinearLayout.java:1399) [ERROR] : TiApplication: at android.view.View.layout(View.java:11315) [ERROR] : TiApplication: at android. [INFO] : dalvikvm: threadid=3: reacting to signal 3 [INFO] : dalvikvm: Wrote stack traces to '/data/anr/traces.txt'

Comments

  1. Ritu Agrawal 2014-02-12

    It appears that you are running into an issue with VirtualScroller module on Android. You should contact the module author for this issue as this module is not provided by us.

JSON Source