Opened 3 years ago
Closed 3 years ago
#2267 closed defect (fixed)
Update fails with / by zero
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | critical | Milestone: | BASE 3.19.1 |
Component: | install | Version: | |
Keywords: | Cc: |
Description
I got the following error while updating to BASE 3.19
[82%] --Updating schema version: 150 -> 151.... 08:47:55,918 ERROR Update:2415 - updateToSchemaVersion151: FAILED java.lang.ArithmeticException: / by zero at net.sf.basedb.core.Update.updateToSchemaVersion151(Update.java:2402) at net.sf.basedb.core.Update.updateDatabase(Update.java:768) at net.sf.basedb.install.InitDB.main(InitDB.java:88)
After checking the code it seems like this will happen if the number of entries in the change history log is between 1 and 49.
Note:
See TracTickets
for help on using tickets.
In 8014: