Bug 112032 - App crashes on Android 7.0 on slide switching and more
Summary: App crashes on Android 7.0 on slide switching and more
Status: RESOLVED FIXED
Alias: None
Product: Impress Remote
Classification: Unclassified
Component: Android Remote App (show other bugs)
Version:
(earliest affected)
2.2.3
Hardware: All Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-25 18:07 UTC by Kuklin István
Modified: 2022-10-30 12:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kuklin István 2017-08-25 18:07:18 UTC
Description:
Crashes if I try to move one slide forward, if I try to do it from the slide selector. Furthermore, it crashes if I connect with the app before starting the presentation.

Steps to Reproduce:
1. Open the app
2. Start the presentation
3. Connect
4. Touch the slide

Actual Results:  
android.os.NetworkOnMainThreadException
	at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1303)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:157)
	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
	at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
	at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
	at java.io.BufferedWriter.flush(BufferedWriter.java:254)
	at org.libreoffice.impressremote.communication.CommandsTransmitter.writeCommand(CommandsTransmitter.java:44)
	at org.libreoffice.impressremote.communication.CommandsTransmitter.setCurrentSlide(CommandsTransmitter.java:61)
	at org.libreoffice.impressremote.fragment.slides.SlidesGridFragment.changeCurrentSlide(SlidesGridFragment.java:94)
	at org.libreoffice.impressremote.fragment.slides.SlidesGridFragment.onItemClick(SlidesGridFragment.java:89)
	at android.widget.AdapterView.performItemClick(AdapterView.java:310)
	at android.widget.AbsListView.performItemClick(AbsListView.java:1155)
	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3148)
	at android.widget.AbsListView$3.run(AbsListView.java:4091)
	at android.os.Handler.handleCallback(Handler.java:751)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6195)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:874)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:764)


Expected Results:
The presentation moves one slide forward.


Reproducible: Always

User Profile Reset: No, because the app was freshly installed.

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Comment 1 ⁨خالد حسني⁩ 2017-09-12 13:17:06 UTC
I’m getting a similar crash with a similar traceback (the 1st 11 lines are identical to the ones here), but it happens immediately after confirming the wifi PIN (or any subsequent attempt to connect via wifi).
Comment 2 ⁨خالد حسني⁩ 2017-09-12 13:32:52 UTC
This seems to have been fixed in commit https://gerrit.libreoffice.org/gitweb?p=impress_remote.git;a=commitdiff;h=7f080471b684c9a0d5b10ba870a803bf7f38df0e

CC Andrzej Hunt for conformation.
Comment 3 QA Administrators 2018-09-13 02:41:03 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2020-09-13 03:45:31 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2022-09-14 03:37:47 UTC Comment hidden (obsolete)
Comment 6 Christian Lohmaier 2022-10-30 12:28:03 UTC
flagging as resolved - that specific one should be fixed (see comment#2 )