Bug #1656
closedNullPointerException in landscape orientation
0%
Description
Whenever the tablet (in my case an Archos 101It) is oriented in landscape, VDR Manager crashes with a NullPointerException.
It seems that only the main menu is affected. Switching to landscape e.g. in the recording list is ok.
Line 77 in VDRManagerActivity.java suggests that the "EPG List" button is somehow the root cause.
Find here a logcat excerpt:
E/AndroidRuntime( 8020): FATAL EXCEPTION: main
E/AndroidRuntime( 8020): java.lang.RuntimeException: Unable to start activity ComponentInfo{de.bjusystems.vdrmanager/de.bjusystems.vdrmanager.gui.VdrManagerActivity}: java.lang.NullPointerException
E/AndroidRuntime( 8020): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
E/AndroidRuntime( 8020): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 8020): at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3815)
E/AndroidRuntime( 8020): at android.app.ActivityThread.access$2400(ActivityThread.java:125)
E/AndroidRuntime( 8020): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2037)
E/AndroidRuntime( 8020): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8020): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 8020): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 8020): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8020): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 8020): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 8020): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 8020): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8020): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 8020): at de.bjusystems.vdrmanager.gui.VdrManagerActivity.onCreate(VdrManagerActivity.java:77)
E/AndroidRuntime( 8020): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 8020): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 8020): ... 12 more
W/ActivityManager( 1335): Force finishing activity de.bjusystems.vdrmanager/.gui.VdrManagerActivity