[TIMOB-10769] Android: Views - ScrollableViews crashes on launch
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-06T13:09:21.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, Sprint 2012-18 API |
Components | Android |
Labels | api, qe-testadded, regression |
Reporter | Rima Umbrasas |
Assignee | Ping Wang |
Created | 2012-09-04T17:09:06.000+0000 |
Updated | 2013-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.
PR https://github.com/appcelerator/titanium_mobile/pull/2872
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)