humlab-sead / sead_bugs_import

SEAD bugs import
2 stars 0 forks source link

Execution fails when processing DatesCalendarImporter #8

Closed roger-mahler closed 5 years ago

roger-mahler commented 5 years ago

Logged error:

2019-05-16 10:27:05.664 ERROR 14596 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : ERROR: column relativeda0_.analysis_entity_id does not exist
  Position: 7842
2019-05-16 10:27:05.665  INFO 14596 --- [           main] o.h.e.internal.DefaultLoadEventListener  : HHH000327: Error performing load command : org.hibernate.exception.SQLGrammarException: could not extract ResultSet
2019-05-16 10:27:05.668 ERROR 14596 --- [           main] se.sead.bugsimport.BugsSeadMapper        : data access error during convert for object DatesCalendarBugsSeadMapper - DatesCalendar{sample='SAMP000001', uncertainty='From ca.', calendarCODE='CALE000001', date=25, bcadbp='AD', datingMethod='ArchCal', notes='null'}
2019-05-16 10:27:05.672  INFO 14596 --- [           main] utoConfigurationReportLoggingInitializer : 

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-05-16 10:27:05.688 ERROR 14596 --- [           main] o.s.boot.SpringApplication               : Application startup failed
roger-mahler commented 5 years ago

The error is caused by schema change 20170906_DDL_RELATIVE_DATES_ALTER_RELATION.

roger-mahler commented 5 years ago

Change fixed.