Expected behavior
Romote application is expected to function properly without crashing upon opening the application prior to usage of mobile data or when mobile data is switched off.
Actual behavior
Upon entering the application when mobile data is switched off, the application crashes immediately.
How to reproduce
- download romote application from f-driod application.
- make sure mobile data is switched off on mobile device before entering romote application.
- open application.
- application crashes.
- version of the application : v 1.0.9
- last updated : 4/16/18
Link to download app from f-driod
https://f-droid.org/app/wseemann.media.romote
Downloadable report of logcat
http://txt.do/dfdin
- Browser: f-driod / romote
- Operating system: Andriod 7.0
Recording Of The Bug
logcat report of crash
04-26 01:22:53.612 25398 25398 E AndroidRuntime: FATAL EXCEPTION: main 04-26 01:22:53.612 25398 25398 E AndroidRuntime: Process: wseemann.media.romote, PID: 25398 04-26 01:22:53.612 25398 25398 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {wseemann.media.romote/wseemann.media.romote.activity.ConfigureDeviceActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.net.NetworkInfo.getType()' on a null object reference 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3506) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3546) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2795) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.os.Looper.loop(Looper.java:203) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6251) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1073) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.net.NetworkInfo.getType()' on a null object reference 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at wseemann.media.romote.fragment.ConfigureDeviceFragment.getWirelessNetworkName(ConfigureDeviceFragment.java:129) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at wseemann.media.romote.fragment.ConfigureDeviceFragment.onResume(ConfigureDeviceFragment.java:87) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.Fragment.performResume(Fragment.java:2390) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1474) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1759) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1827) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3244) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:3212) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.FragmentController.dispatchResume(FragmentController.java:217) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.FragmentActivity.onResumeFragments(FragmentActivity.java:509) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v4.app.FragmentActivity.onPostResume(FragmentActivity.java:498) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.support.v7.app.AppCompatActivity.onPostResume(AppCompatActivity.java:171) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:6815) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3477) 04-26 01:22:53.612 25398 25398 E AndroidRuntime: ... 10 more
Posted on Utopian.io - Rewarding Open Source Contributors
How exactly does the remote bug work, so I can understand and can install the application via my android phone sir
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
It turns your Android Device into a control center for your Roku Player and Roku TV. @hafisazwan
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thanks for the contribution ,it has been approved
Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @gutzygwin! Thank you for the great work you've done!
We're already looking forward to your next contribution!
Fully Decentralized Rewards
We hope you will take the time to share your expertise and knowledge by rating contributions made by others on Utopian.io to help us reward the best contributions together.
Utopian Witness!
Vote for Utopian Witness! We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief.
Want to chat? Join us on Discord https://discord.me/utopian-io
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit