View Revisions: Issue #3277

Summary 0003277: null pointer during sorting of tables for initial load
Revision 2017-10-18 12:19 by chenson
Description See this forum post: https://sourceforge.net/p/symmetricds/discussion/739236/thread/a151cb35/?limit=25

We should not throw the null pointer and log out a warning with details about the table missing from the table.

java.lang.NullPointerException
at org.jumpmind.db.model.Database.resolveForeginKeyOrder(Database.java:106)
at org.jumpmind.db.model.Database.resolveForeginKeyOrder(Database.java:112)
at org.jumpmind.db.model.Database.sortByForeignKeys(Database.java:94)
at org.jumpmind.symmetric.service.impl.TriggerRouterService.getSortedTablesFor(TriggerRouterService.java:2211)
at org.jumpmind.symmetric.service.impl.TriggerRouterService.fillTriggerRoutersByHistIdAndSortHist(TriggerRouterService.java:2124)
at org.jumpmind.symmetric.service.impl.TriggerRouterService.fillTriggerRoutersByHistIdAndSortHist(TriggerRouterService.java:2113)
at org.jumpmind.symmetric.service.impl.DataService.sendSchema(DataService.java:1491)
at org.jumpmind.symmetric.SymmetricAdmin.sendSchema(SymmetricAdmin.java:599)
at org.jumpmind.symmetric.SymmetricAdmin.executeWithOptions(SymmetricAdmin.java:337)
at org.jumpmind.symmetric.AbstractCommandLauncher.execute(AbstractCommandLauncher.java:190)
at org.jumpmind.symmetric.SymmetricAdmin.main(SymmetricAdmin.java:140)
Revision 2017-10-11 12:19 by chenson
Description See this forum post: https://sourceforge.net/p/symmetricds/discussion/739236/thread/a151cb35/?limit=25

We should not throw the null pointer and log out a warning with details about the table missing from the table.