ARTEMIS-2656 NPE with read-whole-page == true
This commit is contained in:
parent
dc173d52f4
commit
2025cbbfd0
|
@ -562,7 +562,9 @@ public class PageCursorProviderImpl implements PageCursorProvider {
|
||||||
synchronized (softCache) {
|
synchronized (softCache) {
|
||||||
long pageId = (long) depagedPage.getPageId();
|
long pageId = (long) depagedPage.getPageId();
|
||||||
softCache.remove(pageId);
|
softCache.remove(pageId);
|
||||||
numberOfMessages.remove(pageId);
|
if (numberOfMessages != null) {
|
||||||
|
numberOfMessages.remove(pageId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
onDeletePage(depagedPage);
|
onDeletePage(depagedPage);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue