wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

App Exception during Form transition in newVM for iOS #1277

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please clearly state whether the issue relates to a device/the simulator or
the tools.
IPhone 4 device
If related to a device be sure to specify exactly which device with as much
details as possible.

iPhone 4, with iOS ver 7.1.2

What steps will reproduce the problem?
1. After starting when my app shows a new form, the app hangs with exception
2.
3.

What is the expected output? What do you see instead?

The new Form should be shown. Instead the app hangs while form transition is 
halfway.

What version of the product are you using? On what operating system?

Latest version of cn1 and macOS - iOS.

Please provide any additional information below.

Please see the screenshot of the image when app hangs during form transition.

Original issue reported on code.google.com by nir...@nvsoft.com on 12 Jan 2015 at 12:02

Attachments:

GoogleCodeExporter commented 9 years ago
Here's the stack trace of the exception in device console:

Jan 12 17:23:02  S2PayApp[8071] <Warning>: An exception occurred during 
transition paint this might be valid in case of a resize in the middle of a 
transition
Jan 12 17:23:02  S2PayApp[8071] <Warning>: 
Jan 12 17:23:02  S2PayApp[8071] <Warning>: java.lang.NullPointerException
        at com_codename1_ui_Component.setScrollY:1767
        at com_codename1_ui_Component.laidOut:3773
        at com_codename1_ui_Container.doLayout:1058
        at com_codename1_ui_Container.layoutContainer:1043
        at com_codename1_ui_Container.paint:958
        at com_codename1_ui_List.renderComponent:1430
        at com_codename1_ui_List.paint:1350
        at com_codename1_ui_Component.internalPaintImpl:1252
        at com_codename1_ui_Component.paintInternalImpl:1226
        at com_codename1_ui_Component.paintInternal:1201
        at com_codename1_ui_Container.paint:975
        at com_codename1_ui_Component.internalPaintImpl:1252
        at com_codename1_ui_Component.paintInternalImpl:1226
        at com_codename1_ui_Component.paintInternal:1201
        at com_codename1_ui_Container.paint:975
        at com_codename1_ui_Component.internalPaintImpl:1252
        at com_codename1_ui_Component.paintInternalImpl:1226
        at com_codename1_ui_Component.paintInternal:1201
        at com_codename1_ui_Container.paint:975
        at com_codename1_ui_Form.paint:2798
        at com_codename1_ui_Component.internalPaintImpl:1252
        at com_codename1_ui_Form.internalPaintImpl:2808
        at com_codename1_ui_Component.paintInternalImpl:1226
        at com_codename1_ui_Component.paintInternal:1201
        at com_codename1_ui_Component.paintInternal:1169
        at com_codename1_ui_Component.paintComponent:1447
        at com_codename1_ui_animations_CommonTransitions.paint:1157
        at com_codename1_ui_animations_CommonTransitions.paint:1119
        at com_codename1_ui_animations_CommonTransitions.paintSlideAtPosition:963
        at com_codename1_ui_animations_CommonTransitions.paint:658
        at com_codename1_ui_Display.paintTransitionAnimation:888
        at com_codename1_ui_Display.edtLoopImpl:1007
        at com_codename1_ui_Display.mainEDTLoop:960
        at com_codename1_ui_RunnableWrapper.run:120
        at com_codename1_impl_CodenameOneThread.run:176
        at java_lang_Thread.runImpl:153

Original comment by nirmalju...@gmail.com on 12 Jan 2015 at 12:08

GoogleCodeExporter commented 9 years ago
Thanks, this should be fixed in current builds.

Original comment by shai.almog on 12 Jan 2015 at 3:28