You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/11 16:05:00 UTC
[jira] [Commented] (AMQ-8040) KahaDB: PageFile - Unexpected io
error on pagefile write NPE
[ https://issues.apache.org/jira/browse/AMQ-8040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194368#comment-17194368 ]
ASF subversion and git services commented on AMQ-8040:
------------------------------------------------------
Commit 72146d2daed7d86396a5c9fbb21dbbe555ace914 in activemq's branch refs/heads/master from gtully
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=72146d2 ]
AMQ-8040 - ensure state relating to diskbound tmp file pages is preserved on next update, fix and test
> KahaDB: PageFile - Unexpected io error on pagefile write NPE
> -------------------------------------------------------------
>
> Key: AMQ-8040
> URL: https://issues.apache.org/jira/browse/AMQ-8040
> Project: ActiveMQ
> Issue Type: Bug
> Components: KahaDB
> Affects Versions: 5.16.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Priority: Major
> Fix For: 5.17.0
>
>
> With:
> {code}<kahaDB ... enableIndexWriteAsync="true" /> {code}
> A large transaction write with pages disk bound can be modified with an update leading to a NPE of the form:
> {code}
> [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)
> ...
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)