Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10769] Android: Views - ScrollableViews crashes on launch

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-09-06T13:09:21.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Sprint 2012-18 API
ComponentsAndroid
Labelsapi, qe-testadded, regression
ReporterRima Umbrasas
AssigneePing Wang
Created2012-09-04T17:09:06.000+0000
Updated2013-09-26T10:04:35.000+0000

Description

Description: Application crashes when trying to launch "ScrollableViews". This is a regression, does not happen on 2.1.2. Log is attached:
E/KrollProxy( 3350): (KrollRuntimeThread) [11922,64190] Error creating proxy
E/KrollProxy( 3350): java.lang.NullPointerException
E/KrollProxy( 3350): 	at org.apache.harmony.luni.util.FloatingPointParser.parseDouble(FloatingPointParser.java:272)
E/KrollProxy( 3350): 	at java.lang.Double.parseDouble(Double.java:317)
E/KrollProxy( 3350): 	at org.appcelerator.titanium.TiProperties.getDouble(TiProperties.java:136)
E/KrollProxy( 3350): 	at ti.modules.titanium.gesture.GestureModule.<init>(GestureModule.java:55)
E/KrollProxy( 3350): 	at java.lang.Class.newInstanceImpl(Native Method)
E/KrollProxy( 3350): 	at java.lang.Class.newInstance(Class.java:1301)
E/KrollProxy( 3350): 	at org.appcelerator.kroll.KrollProxy.createProxy(KrollProxy.java:134)
E/KrollProxy( 3350): 	at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)
E/KrollProxy( 3350): 	at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:58)
E/KrollProxy( 3350): 	at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:662)
E/KrollProxy( 3350): 	at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:857)
E/KrollProxy( 3350): 	at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:306)
E/KrollProxy( 3350): 	at ti.modules.titanium.ui.TableViewProxy.handleMessage(TableViewProxy.java:855)
E/KrollProxy( 3350): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/KrollProxy( 3350): 	at android.os.Looper.loop(Looper.java:132)
E/KrollProxy( 3350): 	at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:108)
Steps: 1.Base UI> Views> Scroll Views> Scrollable View. Expected Results: "Scrollable view" launches successfully. Actual results: Application crashes.

Comments

  1. Ping Wang 2012-09-05

    PR https://github.com/appcelerator/titanium_mobile/pull/2872
  2. Satyam Sekhri 2012-09-10

    Launching ScrollableView does not crash Verified on: Titanium Studio: 2.1.3.201209071738 Titanium SDK: 2.2.0.v20120907162025 Android: Samsung Galaxy Tab (v3.2), Galaxy Nexus (v4.0.2)

JSON Source