You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2020/09/11 15:59:00 UTC

[jira] [Updated] (AMQ-8040) PageFile - Unexpected io error on pagefile write NPE

     [ https://issues.apache.org/jira/browse/AMQ-8040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully updated AMQ-8040:
----------------------------
    Summary: PageFile  - Unexpected io error on pagefile write NPE  (was: NPE in KahaDB index update with )

> 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)