Bug #2049
closedAccessionCode Gen breaks on reference due to nulls in field, even when it's not updating these
0%
Description
Errors message like so:
Updating accession codes in reference
Selecting 27 confirmation values...please wait
SQL: SELECT reference_ID,shortname,title FROM reference
0% | | 100%
0% |-----------java.lang.NullPointerException
at
org.vegbank.common.utility.AccessionGen.formatConfirmCode(AccessionGen.java:260)
at
org.vegbank.common.utility.AccessionGen.updateTable(AccessionGen.java:392)
at org.vegbank.common.utility.AccessionGen.genCodes(AccessionGen.java:320)
at org.vegbank.common.utility.AccessionGen.run(AccessionGen.java:299)
at org.vegbank.common.utility.AccessionGen.main(AccessionGen.java:635)
Updated by Michael Lee almost 20 years ago
this may be why the XML Loader crapped out on the last load (Howard data)
Updated by Michael Lee over 19 years ago
AccessionGen now speeded up greatly and nulls are replaced with the default
confirmation code (defined in .props file).