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

[Bug] Crash on 17.0 beta #1704

Closed
Atrate opened this issue Jan 27, 2020 · 8 comments
Closed

[Bug] Crash on 17.0 beta #1704

Atrate opened this issue Jan 27, 2020 · 8 comments

Comments

@Atrate
Copy link
Contributor

Atrate commented Jan 27, 2020

time: 1580156362071
msg: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
stacktrace: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
	at android.app.SharedPreferencesImpl.getLong(SharedPreferencesImpl.java:315)
	at de.westnordost.streetcomplete.map.MapFragment.createHttpHandler(MapFragment.kt:169)
	at de.westnordost.streetcomplete.map.MapFragment.initMap(MapFragment.kt:108)
	at de.westnordost.streetcomplete.map.MapFragment$onViewCreated$1.invokeSuspend(MapFragment.kt:74)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7356)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:915)

Android 10, rooted

@Atrate
Copy link
Contributor Author

Atrate commented Jan 27, 2020

Fixed in 72e865b?

@westnordost
Copy link
Member

Not yet, but now! Thanks for the report!

@HolgerJeromin
Copy link
Contributor

Are these 17.x releases on play store?
I am an beta tester there an still on v16.1

Motorola g7 Power with android 9

@westnordost
Copy link
Member

I rolled it out to only 20%. Because 80% of StreetComplete users are beta testers, rolling out betas to 100% would be almost like a public release. When there are no more critical bugs, I will put it on 100%.

@peternewman
Copy link
Collaborator

I assume this is the same crash I was seeing. I commented on the Play beta as I wasn't logged into GitHub at the time. Have you released beta 2 and will it get pushed to the people who currently have beta 1 given that's currently broken?

@westnordost
Copy link
Member

Yes and yes

@HolgerJeromin
Copy link
Contributor

Because 80% of StreetComplete users are beta testers

Impressive rate :-)

@peternewman
Copy link
Collaborator

Yes and yes

Thanks beta 2 is loading for me now thanks.

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

No branches or pull requests

4 participants