Add some checks.
authorMurray Cumming <murrayc@murrayc.com>
Mon, 7 May 2012 09:28:07 +0000 (11:28 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 7 May 2012 09:28:07 +0000 (11:28 +0200)
commitdb97059bea9e37a058023bc9c413516550f2875c
tree8487ea1a9988119503f38e8c4555b0916a05c2b0
parent33cc4a3bfdda8e17823ed1f05decd1614c21e8f3
Add some checks.

* src/main/java/org/glom/web/client/activity/DetailsActivity.java:
RelatedListNavigationButtonCell.onEnterKeyDown(), setData():
* src/main/java/org/glom/web/client/ui/details/RelatedListTable.java:
getDataProvider():
* src/main/java/org/glom/web/client/ui/list/ListTable.java:
addColumn():
* src/main/java/org/glom/web/server/database/DBAccess.java:
convertResultSetToDTO(), getPortal():
* src/main/java/org/glom/web/server/database/ListDBAccess.java
getListData():
* src/main/java/org/glom/web/server/database/RelatedListDBAccess.java:
Add checks for null objects and out of range access, with log messages to
give hints so we can fix these properly.
ChangeLog
src/main/java/org/glom/web/client/activity/DetailsActivity.java
src/main/java/org/glom/web/client/ui/details/RelatedListTable.java
src/main/java/org/glom/web/client/ui/list/ListTable.java
src/main/java/org/glom/web/server/database/DBAccess.java
src/main/java/org/glom/web/server/database/ListDBAccess.java
src/main/java/org/glom/web/server/database/RelatedListDBAccess.java