ODK Briefcase had been opening and now does not

What is the problem? Please be detailed.
ODK Briefcase v1.9.0 was running on my computers (both MacBook pro and mac desktop) and it has since stopped working. When I double click the ODK Briefcase .jar file it does not open.

When I run in the terminal, i get the following statement as part of the output (full output below): ERROR org.opendatakit.aggregate.parser.BaseFormParserForJavaRosa - failed to launch app
java.lang.IllegalStateException: Duplicate key org.opendatakit.briefcase.model.FormStatus@4afc8eb3

What ODK tool and version are you using? And on what device and operating system version?
ODK Briefcase v1.9.0 on a Mac (laptop and desktop) running macOS High Sierra 10.13.4, java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

What steps can we take to reproduce the problem?

What you have you tried to fix the problem?
I have tried to open through the terminal window.

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.
Here is the full output after I launch in the terminal window:
java -jar "/Users/jpants/Downloads/ODK Briefcase v1.9.0 Production.jar"
[AWT-EventQueue-0] INFO com.brsanthu.googleanalytics.GoogleAnalytics - Initializing Google Analytics with config=GoogleAnalyticsConfig [threadNameFormat=googleanalytics-thread-{0}, enabled=true, maxThreads=1, useHttps=true, validate=true, httpUrl=http://www.google-analytics.com/collect, httpsUrl=https://ssl.google-analytics.com/collect, userAgent=java/1.8.0_161-b12/Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/Mac OS X/10.13.4/x86_64, proxyPort=80, deriveSystemParameters=true, gatherStats=false] and defaultRequest=Request [parms={DOCUMENT_ENCODING=UTF-8, TRACKING_ID=UA-91951913-3, USER_LANGUAGE=en-US, HIT_TYPE=pageview, PROTOCOL_VERSION=1, CLIENT_ID=6e1bf79e-f2da-4dac-a5c6-2910b711369d}, customDimensions={}, customMetrics={}]
[AWT-EventQueue-0] ERROR org.opendatakit.aggregate.parser.BaseFormParserForJavaRosa - failed to launch app
java.lang.IllegalStateException: Duplicate key org.opendatakit.briefcase.model.FormStatus@4afc8eb3
at java.util.stream.Collectors.lambda$throwingMerger$0(Collectors.java:133)
at java.util.HashMap.merge(HashMap.java:1254)
at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320)
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.opendatakit.briefcase.export.ExportForms.rebuildIndex(ExportForms.java:192)
at org.opendatakit.briefcase.export.ExportForms.(ExportForms.java:48)
at org.opendatakit.briefcase.export.ExportForms.load(ExportForms.java:65)
at org.opendatakit.briefcase.ui.export.ExportPanel.from(ExportPanel.java:107)
at org.opendatakit.briefcase.ui.MainBriefcaseWindow.(MainBriefcaseWindow.java:233)
at org.opendatakit.briefcase.ui.MainBriefcaseWindow.(MainBriefcaseWindow.java:54)
at org.opendatakit.briefcase.ui.MainBriefcaseWindow$1.run(MainBriefcaseWindow.java:179)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Interesting that it just stopped working. Can you try the latest release of Briefcase (currently v1.10.x) here: https://github.com/opendatakit/briefcase/releases and see if that fixes the problem?

In the meanwhile, @ggalmazor, any ideas about what might be going wrong?

Hello Yaw,

The new version of Briefcase (v1.10.x) worked well.

Thanks!

1 Like

Glad the upgrade helped. When you get a chance, please introduce yourself here. It helps build community!