Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Widget crashes when switching from portrait to landscape!

Widget crashes when switching from portrait to landscape!

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Widget crashes when switching from portrait to landscape!

Postby pcm2a » Mon Oct 19, 2009 12:45 am

I have a neat little widget that I have written. I can add the widget in portrait or landscape mode and it works fantastic. However, if I try to switch the phone from portrait to landscape or back then it gets the acore crash.

The error that it spits out doesn't seem to have anything to do with my widgets code, just some generic jargon spit out by the JVM. Anyone have any ideas of what could be causing this?

Code: Select all
10-18 10:46:02.023 D/AndroidRuntime(  697): Shutting down VM
10-18 10:46:02.023 W/dalvikvm(  697): threadid=3: thread exiting with uncaught exception (group=0x4001e210)
10-18 10:46:02.023 E/AndroidRuntime(  697): Uncaught handler: thread main exiting due to uncaught exception
10-18 10:46:02.053 E/AndroidRuntime(  697): java.lang.ClassCastException: android.view.AbsSavedState$1
10-18 10:46:02.053 E/AndroidRuntime(  697): at com.android.launcher.Workspace.onRestoreInstanceState(Workspace.java:903)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.view.View.dispatchRestoreInstanceState(View.java:5689)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:1121)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:1125)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:1125)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.view.View.restoreHierarchyState(View.java:5668)
10-18 10:46:02.053 E/AndroidRuntime(  697): at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:1506)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.app.Activity.onRestoreInstanceState(Activity.java:833)
10-18 10:46:02.053 E/AndroidRuntime(  697): at com.android.launcher.Launcher.finishBindDesktopItems(Launcher.java:1508)
10-18 10:46:02.053 E/AndroidRuntime(  697): at com.android.launcher.Launcher.bindItems(Launcher.java:1472)
10-18 10:46:02.053 E/AndroidRuntime(  697): at com.android.launcher.Launcher.access$2400(Launcher.java:90)
10-18 10:46:02.053 E/AndroidRuntime(  697): at com.android.launcher.Launcher$DesktopBinder.handleMessage(Launcher.java:2225)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.os.Handler.dispatchMessage(Handler.java:99)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.os.Looper.loop(Looper.java:123)
10-18 10:46:02.053 E/AndroidRuntime(  697): at android.app.ActivityThread.main(ActivityThread.java:4203)
10-18 10:46:02.053 E/AndroidRuntime(  697): at java.lang.reflect.Method.invokeNative(Native Method)
10-18 10:46:02.053 E/AndroidRuntime(  697): at java.lang.reflect.Method.invoke(Method.java:521)
10-18 10:46:02.053 E/AndroidRuntime(  697): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
10-18 10:46:02.053 E/AndroidRuntime(  697): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
10-18 10:46:02.053 E/AndroidRuntime(  697): at dalvik.system.NativeStart.main(Native Method)
pcm2a
Developer
Developer
 
Posts: 27
Joined: Tue Aug 11, 2009 4:54 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests