ePADD / epadd

ePADD is a software package developed by Stanford University's Special Collections & University Archives that supports archival processes around the appraisal, ingest, processing, discovery, and delivery of email archives.
https://www.epaddproject.org
111 stars 24 forks source link

Error importing accession into an existing collection in processing module #465

Open jfarwer opened 5 months ago

jfarwer commented 5 months ago

Describe the bug Attempting to import an accession into an existing collection in Processing module results in the error: Error importing accession. Code 2, Message: Unable to import accession: Cannot invoke "org.apache.lucene.index.IndexWriter.commit()" because "this.iwriter" is null.

To Reproduce Steps to reproduce the behaviour:

  1. Create an archive by importing emails in Appraisal.
  2. Export from Appraisal to Processing.
  3. Remove the folder epadd-appraisal/user created in step 1
  4. Restart ePADD
  5. Create a new archive by importing some emails
  6. Close ePADD. Change from 'appraisal' to 'processing' in epadd.properties
  7. Start ePADD
  8. Now we see the first collection exported in step 2 and can try to add the accession we just created in step 5 under epadd-appraisal/user. Clicking 'add accession', pointing to epadd-appraisal/user and then clicking 'Import Accession' results in an error.