getodk / briefcase

ODK Briefcase is a Java application for fetching and pushing forms and their contents. It helps make billions of data points from ODK portable. Contribute and make the world a better place! ✨💼✨
https://docs.getodk.org/briefcase-intro
Other
60 stars 156 forks source link

Export is crashing after canceling pull when empty submissions are created - Java 8 #889

Open mmarciniak90 opened 3 years ago

mmarciniak90 commented 3 years ago

Software versions

Briefcase master Java 8

Problem description

Export is crashing after canceling pull when empty submissions are created

Steps to reproduce the problem

  1. Start a pull operation and cancel it.
  2. Verify that the last submission started is empty
  3. Go to the export tab -> list is empty, the issue is reported #888
  4. Go to the Settings tab and click on the Reload forms from storage location button
  5. Go to the export tab
  6. Select form with empty submission and export it
  7. Export stops with status: Export has started -> it looks like a crash

97564539-052d6b80-19e5-11eb-958b-8b12ffa78abc

Workaround

Reopened and reload storage directory cause that export is possible with Java 8.

Expected behavior

Export is finished image

Notes

Related to #884