Skip to content

Commit

Permalink
Fix console command 'tables clean' (openhab#13916)
Browse files Browse the repository at this point in the history
NullPointerException was thrown because index table was not provided

Fixes openhab#13911

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
  • Loading branch information
jlaur committed Dec 11, 2022
1 parent 73b6e88 commit a3fccc6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ private boolean cleanupItem(ItemTableCheckEntry entry, boolean force) throws Jdb
if (!conf.getTableUseRealCaseSensitiveItemNames()) {
ItemsVO itemsVo = new ItemsVO();
itemsVo.setItemName(entry.getItemName());
itemsVo.setItemsManageTable(conf.getItemsManageTable());
deleteItemsEntry(itemsVo);
}
itemNameToTableNameMap.remove(entry.getItemName());
Expand Down

0 comments on commit a3fccc6

Please sign in to comment.