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

Crash on Landscape mode #4

Open
sachincool opened this issue May 9, 2018 · 0 comments
Open

Crash on Landscape mode #4

sachincool opened this issue May 9, 2018 · 0 comments

Comments

@sachincool
Copy link

Expected behavior

Open the app and open the stock features / menu provided to see push notifications and the latest real-time updates.

Actual behavior

When I open the app and open the stock features / menu provided to see push notifications and the latest real-time updates with landscape mode, the app stops automatically. All stock features if I run in landscape mode cause the app to stop.

  • Browser : Redmi Note 5A
  • System Operating : 7.1.0 Nougat
  • App Version : 2.2.0

How to reproduce

You can get the LightStreamer Stock-List Demo FCM app on the Play Store. When you successfully install the application, you just open and run the application. You can click / open all the stock features that are provided. When you have entered the feature, you can activate landscape mode / screen rotation mode. when you play the phone when the feature is run, the application will stop automatically.

Recording Of The Bug

https://www.youtube.com/watch?v=kej6QQNn2bo
Along with Log-cat ``` 05-09 13:25:05.161 32568 32568 E AndroidRuntime: FATAL EXCEPTION: main 05-09 13:25:05.161 32568 32568 E AndroidRuntime: Process: com.lightstreamer.demo.android.fcm, PID: 32568 05-09 13:25:05.161 32568 32568 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lightstreamer.demo.android.fcm/com.lightstreamer.demo.android.fcm.StockListDemo}: java.lang.IllegalStateException: No MPN device registered 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2743) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2808) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4665) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.ActivityThread.-wrap19(ActivityThread.java) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1550) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.os.Looper.loop(Looper.java:203) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6297) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: Caused by: java.lang.IllegalStateException: No MPN device registered 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at com.lightstreamer.client.LightstreamerClient.getMpnSubscriptions(LightstreamerClient.java:856) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at com.lightstreamer.demo.android.fcm.LsClient.getMpnSubscriptions(LsClient.java:117) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at com.lightstreamer.demo.android.fcm.DetailsFragment$ItemSubscription.(DetailsFragment.java:301) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at com.lightstreamer.demo.android.fcm.DetailsFragment.updateStocksView(DetailsFragment.java:197) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at com.lightstreamer.demo.android.fcm.DetailsFragment.onStart(DetailsFragment.java:166) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.support.v4.app.Fragment.performStart(Fragment.java:2100) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1142) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1268) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.dispatchStart(FragmentManager.java:2148) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.support.v4.app.FragmentController.dispatchStart(FragmentController.java:212) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:625) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1248) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.Activity.performStart(Activity.java:6702) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2706) 05-09 13:25:05.161 32568 32568 E AndroidRuntime: ... 10 more ```
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

1 participant