Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start activity ComponentInfo #7

Open
Rudloff opened this issue May 7, 2018 · 8 comments
Open

Unable to start activity ComponentInfo #7

Rudloff opened this issue May 7, 2018 · 8 comments
Labels

Comments

@Rudloff
Copy link
Member

Rudloff commented May 7, 2018

Hello,

2.0 crashes when I launch it on my Android 4.2.1 tablet:

E/AndroidRuntime( 2401): FATAL EXCEPTION: main
E/AndroidRuntime( 2401): java.lang.RuntimeException: Unable to start activity ComponentInfo{community.fairphone.fplauncher3/com.fairphone.fplauncher3.Launcher}: java.lang.NullPointerException
E/AndroidRuntime( 2401): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
E/AndroidRuntime( 2401): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
E/AndroidRuntime( 2401): 	at android.app.ActivityThread.access$600(ActivityThread.java:141)
E/AndroidRuntime( 2401): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
E/AndroidRuntime( 2401): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2401): 	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2401): 	at android.app.ActivityThread.main(ActivityThread.java:5039)
E/AndroidRuntime( 2401): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2401): 	at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2401): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2401): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2401): 	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2401): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2401): 	at com.fairphone.fplauncher3.edgeswipe.a.<init>(Unknown Source)
E/AndroidRuntime( 2401): 	at com.fairphone.fplauncher3.Launcher.onCreate(Unknown Source)
E/AndroidRuntime( 2401): 	at android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 2401): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 2401): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
E/AndroidRuntime( 2401): 	... 11 more
W/ActivityManager(  495):   Force finishing activity community.fairphone.fplauncher3/com.fairphone.fplauncher3.Launcher
@Roboe
Copy link
Member

Roboe commented May 7, 2018

Fairphone Launcher was shipped for Lollipop with the Fairphone 2. It should probably be compatible only from Android 5 onwards.

We could bump its minSdkVersion to a Lollipop one or (painfully) debug Android 4 compatiblity.

@Rudloff
Copy link
Member Author

Rudloff commented May 7, 2018

I also thought it didn't work because of 4.2 but it works correctly on another one of my devices that runs Android 4.2.4.

@Roboe
Copy link
Member

Roboe commented May 7, 2018

Android, 🤷‍♂️, hahaha, 😂

@Roboe Roboe added the bug label May 19, 2018
@ildar
Copy link

ildar commented May 25, 2018

@Roboe , may I ask not bumping minSdkVersion because:

  1. @Rudloff reports that FPL runs good on some JB Androids
  2. The choice of launchers running on JB and KK is shrinking while people still using their 5 years old tablets. FPL may be very handy in the situation.
    Please?

@Roboe
Copy link
Member

Roboe commented May 25, 2018

Hey, @ildar, that was an earlier workaround before I jumped back into maintaining these apps. Thank you for caring and giving real-world context on this issue, 😀.

@Rudloff, could you test if this issue is still valid on your tablet with the current master build? We updated support libraries and build tools. I'll debug the code in the meanwhile.

@Rudloff
Copy link
Member Author

Rudloff commented May 25, 2018

Unfortunately, it still crashes.

@ildar ildar mentioned this issue Jun 4, 2018
@StefanBrand
Copy link

FP2-Launcher 2.1 doesn't crash on my Fairphone 1 running Kitkat 4.4.2.

@ildar
Copy link

ildar commented Jun 18, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants