Briefcase failing to connect to Aggregate

Hi,

I am trying to connect briefcase to take backup, but getting this error:

2020-07-07 01:30:25,915 [ForkJoinPool-9-worker-1] INFO  o.o.b.p.a.PullFromAggregateTracker - Pull Beneficiary Exit Form - Start pulling form and submissions
2020-07-07 01:30:25,915 [ForkJoinPool-9-worker-1] INFO  o.o.b.p.a.PullFromAggregateTracker - Pull Beneficiary Exit Form - Start downloading form
2020-07-07 01:30:28,707 [ForkJoinPool-9-worker-1] INFO  o.o.b.p.a.PullFromAggregateTracker - Pull Beneficiary Exit Form - Form downloaded
2020-07-07 01:30:28,708 [ForkJoinPool-9-worker-1] INFO  o.o.b.p.a.PullFromAggregateTracker - Pull Beneficiary Exit Form - Start getting form manifest
2020-07-07 01:30:29,808 [ForkJoinPool-9-worker-1] INFO  o.o.b.p.a.PullFromAggregateTracker - Pull Beneficiary Exit Form - Got the form manifest
2020-07-07 01:30:29,809 [ForkJoinPool-9-worker-1] INFO  o.o.b.p.a.PullFromAggregateTracker - Pull Beneficiary Exit Form - Skipping 1 form attachments that have been already downloaded
2020-07-07 01:30:29,809 [ForkJoinPool-9-worker-1] INFO  o.o.b.p.a.PullFromAggregateTracker - Pull Beneficiary Exit Form - Start getting submission IDs
2020-07-07 01:30:32,542 [ForkJoinPool-9-worker-1] INFO  o.o.b.p.a.PullFromAggregateTracker - Pull Beneficiary Exit Form - Got all the submission IDs
2020-07-07 01:30:43,371 [ForkJoinPool-9-worker-1] ERROR o.o.briefcase.reused.job.JobsRunner - Error running Job
org.opendatakit.briefcase.reused.BriefcaseException: java.sql.SQLException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@19c50553[file =D:\ODK Briefcase Storage\forms\Beneficiary Exit Form\info.hsqldb\info.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2020-07-06 20:30:42 heartbeat - read: -7434 ms.
	at org.opendatakit.briefcase.util.DatabaseUtils.withDb(DatabaseUtils.java:86)
	at org.opendatakit.briefcase.pull.aggregate.PullFromAggregate.lambda$pull$11(PullFromAggregate.java:125)
	at org.opendatakit.briefcase.reused.job.Job.lambda$thenAccept$8(Job.java:134)
	at org.opendatakit.briefcase.reused.job.JobsRunner.lambda$launchAsync$1(JobsRunner.java:65)
	at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
	at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
...
...

Can someone help about what is happening?

Thanks,
Saad

Sorry, I got it resolved. There was another instance of briefcase open, which was holding the lock on the mentioned file. I closed it, and things are working fine.

1 Like