ODK Briefcase not opening

I have been using briefcase on a project since May 2020. I have multiple forms on ODK Aggregate. My briefcase has stop working and when I checked the log this is what is logged:

2020-10-19 12:22:59,612 [main] ERROR o.o.briefcase.ui.MainBriefcaseWindow - Failed to launch GUI
java.lang.RuntimeException: Document has no root element!
at org.kxml2.kdom.Document.getRootElement(Unknown Source)
at org.opendatakit.briefcase.export.XmlElement.of(XmlElement.java:68)
at org.opendatakit.briefcase.export.XmlElement.from(XmlElement.java:92)
at org.opendatakit.briefcase.model.form.FileSystemFormMetadataAdapter.isAForm(FileSystemFormMetadataAdapter.java:87)
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Iterator.forEachRemaining(Unknown Source)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.collect(Unknown Source)
at org.opendatakit.briefcase.model.form.FileSystemFormMetadataAdapter.syncWithFilesAt(FileSystemFormMetadataAdapter.java:74)
at java.util.Optional.ifPresent(Unknown Source)
at org.opendatakit.briefcase.ui.MainBriefcaseWindow.(MainBriefcaseWindow.java:115)
at org.opendatakit.briefcase.ui.MainBriefcaseWindow.launchGUI(MainBriefcaseWindow.java:94)
at org.opendatakit.briefcase.Launcher.lambda$main$0(Launcher.java:78)
at org.opendatakit.common.cli.Cli.lambda$run$5(Cli.java:136)
at java.lang.Iterable.forEach(Unknown Source)
at org.opendatakit.common.cli.Cli.run(Cli.java:136)
at org.opendatakit.briefcase.Launcher.main(Launcher.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
2020-10-19 12:23:00,644 [Thread-0] WARN io.sentry.connection.AsyncConnection - Graceful shutdown took too much time, forcing the shutdown.
2020-10-19 12:23:00,646 [Thread-0] WARN io.sentry.connection.AsyncConnection - 0 tasks failed to execute before shutdown.

Please I need solution to be able to meet deadline. Thank you in advance

I'm not that familiar with Briefcase but it looks like something has gone wrong syncing with the forms you have on your computer. Are you able to move them somewhere else or delete them (if you're sure you don't need them) and try and open Briefcase again? It could be the crash is being caused by a corrupt/invalid file.

1 Like

Thanks so much. I moved the entire folder and tried just once and the briefcase opened. Very grateful.

1 Like