RE: The application is corrupted when the user searches and turns the screen rotation into landscape.

You are viewing a single comment's thread from:

The application is corrupted when the user searches and turns the screen rotation into landscape.

in utopian-io •  7 years ago 

This issue could be reproduced. However, I believe that the steps included in the text are not clear enough and I needed to watch the video. Remember that the video is only a complementary material, not the main source for the bug description.

If the app crashes, you need to provide the logcat. You can see the guidelines site if you do not know how to do that. I will give it to you this time but next time, the report may stay without review and score, which means no chance for any reward.

FATAL EXCEPTION: main
Process: org.sw24softwares.starkeverben, PID: 17724
java.lang.RuntimeException: Unable to start activity ComponentInfo
{org.sw24softwares.starkeverben/org.sw24softwares.starkeverben.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ExpandableListView.se
tAdapter(android.widget.ExpandableListAdapter)' on a null object reference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2743)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2808)
    at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4665)
    at android.app.ActivityThread.-wrap19(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1550)
    at android.os.Handler.dispatchMessage(Handler.java:110)
    at android.os.Looper.loop(Looper.java:203)
    at android.app.ActivityThread.main(ActivityThread.java:6297)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void 
android.widget.ExpandableListView.setAdapter(android.widget.ExpandableListAdapter)' on a null object reference
    at org.sw24softwares.starkeverben.LessonFragment.search(LessonFragment.java:92)
    at org.sw24softwares.starkeverben.MainActivity.handleIntent(MainActivity.java:156)
    at org.sw24softwares.starkeverben.MainActivity.onCreate(MainActivity.java:113)
    at android.app.Activity.performCreate(Activity.java:6685)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2696)
    ... 10 more

You shoul improve your English in the post.

application is damaged and out by itself.

  • When you publish the post, include the name of the app in the title.

You are expected to improve the post, include the logcat and then submit the relevant parts in the issue tracker on GitHub. If we see that you are not able to do that, we will have to stop reviewing your posts.

Your contribution has been evaluated according to Utopian rules 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? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

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!