Description
With:
<kahaDB ... enableIndexWriteAsync="true" />
A large transaction write with pages disk bound can be modified with an update leading to a NPE of the form:
[aDB Page Writer] - INFO PageFile - Unexpected io error on pagefile write of 4000 pages. [aDB Page Writer] - INFO PageFile - Unexpected io error on pagefile write of 4000 pages. java.io.IOException: Cannot create recovery file. Reason: java.lang.NullPointerException at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:28) at org.apache.activemq.store.kahadb.disk.page.PageFile.writeBatch(PageFile.java:1163) at org.apache.activemq.store.kahadb.disk.page.PageFile.pollWrites(PageFile.java:1117) at org.apache.activemq.store.kahadb.disk.page.PageFile.access$300(PageFile.java:68) at org.apache.activemq.store.kahadb.disk.page.PageFile$3.run(PageFile.java:1323)Caused by: java.lang.NullPointerException at java.util.zip.Adler32.update(Adler32.java:73) at org.apache.activemq.store.kahadb.disk.page.PageFile.writeBatch(PageFile.java:1161) ...