#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.

Change History (1)

comment:1 Changed 11 months ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

In 8014:

Fixes #2267: Update fails with / by zero

Note: See TracTickets for help on using tickets.