Insteem v1.5.0. App freezes and crashes after launch.

in utopian-io •  6 years ago 

Project Information

Expected behavior

I expected that I'd be able to use the app after logging in.

Actual behavior

After installing the app, I launched it and entered my login details. After it was verified, the feeds page began loading. But, it freezed for a second and the next second, the app crashed.

How to reproduce

  • Install the latest release of the software Insteem
  • Launch the app and enter login details
  • See error
  • Browser/App version: Insteem v1.5.0
  • Device/Operating system: Redmi Note 5 pro/ Android 8.1

Recording Of The Bug

Logcat

    at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:228)
    at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:218)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
    at com.google.gson.Gson.fromJson(Gson.java:927)
    at com.google.gson.Gson.fromJson(Gson.java:892)
    at com.google.gson.Gson.fromJson(Gson.java:841)
    at com.google.gson.Gson.fromJson(Gson.java:813)
    at com.insteem.ipfreely.steem.MainActivity$GetProfile$stringRequest$1.onResponse(MainActivity.kt:530)
    at com.insteem.ipfreely.steem.MainActivity$GetProfile$stringRequest$1.onResponse(MainActivity.kt:57)
    at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82)
    at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29)
    at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:171)
    at android.app.ActivityThread.main(ActivityThread.java:6635)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
Caused by: java.lang.NumberFormatException: Expected an int but was 1950126015921 at line 1 column 2675 path $.user.to_withdraw
    at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1204)
    at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:226)
    ... 21 more

GitHub Account

https://github.com/HarryHeights

The issue has been submitted on Github. It is yet to be acknowledged by the project owner though.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for your contribution.

Although I cannot replicate this I can see that the developer has acknowledged and resolved the issue, this could be why I can't replicate (he didn't increment the version number in the release). Regardless, it's clear that there is a bug due to the developer's response.

Great to see a log cat and that the issue was reported on GitHub. Overall, it's great to see that the developer will be resolving this issue shortly as overall it has a severe impact on the overall experience. The only caveat to its severity is that it's currently unreleased so issues like this may pop up. Great work for reporting none the less.

Once again, thanks for your contribution and it's great to see you contributing so consistently.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @tobias-g! Keep up the good work!

Hey, @harry-heightz!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!