Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

crash: Crashing on sending Forms through hotspot #323

Open
ajay-prabhakar opened this issue Nov 30, 2019 · 9 comments · May be fixed by #324
Open

crash: Crashing on sending Forms through hotspot #323

ajay-prabhakar opened this issue Nov 30, 2019 · 9 comments · May be fixed by #324

Comments

@ajay-prabhakar
Copy link
Contributor

ajay-prabhakar commented Nov 30, 2019

Software and hardware versions

Android Samsung J8

Problem description

Currently, App is crashing we are trying to send forms for the second time due to we are making a request once again for hotspot

Steps to reproduce the problem

Make the default method as a hotspot
Select forms and click send button
Come back again to MainActivty
Select forms once again and click send button
observe the crash

Expected behavior

The App should not have to crash

Other information

Here I am giving log

java.lang.RuntimeException: Unable to resume activity {org.odk.share/org.odk.share.views.ui.hotspot.HpSenderActivity}: java.lang.IllegalStateException: Caller already has an active LocalOnlyHotspot request
   at android.os.Parcel.createException(Parcel.java:1974)
        at android.os.Parcel.readException(Parcel.java:1934)
        at android.os.Parcel.readException(Parcel.java:1884)
        at android.net.wifi.IWifiManager$Stub$Proxy.startLocalOnlyHotspot(IWifiManager.java:2178)
        at android.net.wifi.WifiManager.startLocalOnlyHotspot(WifiManager.java:2551)
        at org.odk.share.views.ui.hotspot.HpSenderActivity.turnOnHotspot(HpSenderActivity.java:377)
        at org.odk.share.views.ui.hotspot.HpSenderActivity.initiateHotspot(HpSenderActivity.java:212)
        at org.odk.share.views.ui.hotspot.HpSenderActivity.startHotspot(HpSenderActivity.java:199)
        at org.odk.share.views.ui.hotspot.HpSenderActivity.toggleHotspot(HpSenderActivity.java:494)
        at org.odk.share.views.ui.hotspot.HpSenderActivity.checkLocationPermission(HpSenderActivity.java:453)
        at org.odk.share.views.ui.hotspot.HpSenderActivity.onResume(HpSenderActivity.java:297)
        at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1416)
@ajay-prabhakar
Copy link
Contributor Author

@opendatakit-bot claim

@getodk-bot
Copy link
Member

getodk-bot commented Dec 13, 2019

Hello @Chromicle, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 15 days.

You can reclaim this issue or claim any other issue by commenting @opendatakit-bot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

@shubhamkumar1739
Copy link
Contributor

shubhamkumar1739 commented Feb 27, 2020

@opendatakit-bot claim --force

@getodk-bot
Copy link
Member

Hello @shubhamkumar1739!

You have attempted to claim an issue without the labels "help wanted", "good first issue". It seems like you are new to Open Data Kit, so we suggest working on a good first issue issue first. After doing one quick win, then try a help wanted issue. We also recommend reading README.md and CONTRIBUTING.md before getting started.

To claim this issue anyway, comment on this issue again with the command @opendatakit-bot claim --force.

@shubhamkumar1739
Copy link
Contributor

@opendatakit-bot claim --force

@getodk-bot
Copy link
Member

Welcome to Open Data Kit, @shubhamkumar1739! We just sent you an invite to collaborate on this repository at https://github.com/opendatakit/skunkworks-crow/invitations. Please accept this invite in order to claim this issue and begin a fun and rewarding experience contributing to Open Data Kit!

Here are some tips to get you off to a good start:

  • Please read the README.md and CONTRIBUTING.md in this repo. Those two documents have much of what you need to get started.
  • Join the ODK developer Slack to get help, chat about this issue, and meet the other developers.
  • Sign up and introduce yourself on the ODK community forum to meet the broader ODK community.

See you on the other side (that is, the pull request side)!

@getodk-bot
Copy link
Member

Hello @shubhamkumar1739, it looks like we've already sent you a collaboration invite at https://github.com/opendatakit/skunkworks-crow/invitations, but you haven't accepted it yet!

Please accept the invite and try to claim this issue again afterwards. We look forward to your contributions!

@shubhamkumar1739
Copy link
Contributor

@opendatakit-bot claim

@getodk-bot
Copy link
Member

getodk-bot commented Mar 9, 2020

Hello @shubhamkumar1739, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 15 days.

You can reclaim this issue or claim any other issue by commenting @opendatakit-bot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants