[BUG] endless loading after reopening
Describe the bug HO won't stop loading at step 'prepare to show' and takes up to 4 GB ram. It works again if i delete the database and copy a backup, but as soon as i close and reopen HO another time, the same bug appears.
To Reproduce Steps to reproduce the behavior:
- Delete db folder content
- Copy db backup into db folder
- Start HO
- Close HO
- Start HO again
- See error
Platform information:
- OS: Windows 10
- Version: did use 3.xx, then uninstalled and installed 5.0.3836.2
Additional context i've been using this installation for years and this behavior just appeared some days ago
could you please provide your backup?
zip deleted after download
thank you
19:21:32 [Error] core.HO: Launched from IDE otherwise there is a bug !
19:21:47 [Info] core.db.DBUpdater: updateDBv300() successfully completed
19:21:48 [Error] core.db.UserConfigurationTable: parameter spielerUebersichtsPanel_horizontalRightSplitPane is not stored in UserConfigurationTable
19:21:48 [Info] core.model.HOVerwaltung: language used for interface is: Deutsch
19:21:48 [Error] core.util.DateTimeUtils: ZoneID could not be identified from hashValue
19:21:48 [Error] core.util.HTDatetimeBase: ZoneID could not be identified, reverting to System defaults !
19:21:49 [Info] core.gui.HOMainFrame: This is HO! version 0.0 DEV (r0), have fun!
19:21:49 [Info] core.gui.HOMainFrame: Operating system found: Windows 10 on amd64 (10.0)
19:21:49 [Info] core.gui.HOMainFrame: Using java: 15.0.2 (AdoptOpenJDK)
19:23:32 [Error] core.db.JDBCAdapter: JDBCAdapter.executeQuery : java.sql.SQLException: java.lang.OutOfMemoryError: Java heap space
Statement: SELECT * FROM MODULE_CONFIGURATION
java.sql.SQLException: java.lang.OutOfMemoryError: Java heap space
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.JDBCStatement.executeQuery(Unknown Source)
at core.db.JDBCAdapter.executeQuery(JDBCAdapter.java:58)
at core.db.ModuleConfigTable.findAll(ModuleConfigTable.java:53)
at core.db.DBManager.loadModuleConfigs(DBManager.java:2259)
at core.module.config.ModuleConfig.load(ModuleConfig.java:168)
at core.module.config.ModuleConfig.instance(ModuleConfig.java:25)
at module.playeranalysis.PlayerAnalysisModule.initialize(PlayerAnalysisModule.java:23)
at module.playeranalysis.PlayerAnalysisModule.
looks like a bug in special events module:

delete from MODULE_CONFIGURATION where config_key='SpecialEvents_ShowLeague'
db update of the HO5 seems to cause the problem. debugger counts 38 entries in the config table before starting the update. at the end there are 32 entries. the table seems to be corrupted. this corruption is the reason for the situations shown above.
Now I see that HO5 upgrade is probably not the reason. Even before the update, not 38 entries are loaded from the table, but only 32.
now i found the number 38 in HO3 database.script file in the index of the config table. SET TABLE PUBLIC.MODULE_CONFIGURATION INDEX '1701063 0 38'
dumping the rows in the debugger only shows 32 rows. i think the HO3 database files are corrupted.