You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Wallace Howery (Jira)" <ji...@apache.org> on 2023/06/13 15:49:00 UTC

[jira] [Commented] (OAK-10295) KeyDataType does not define or inherit an implementation of the resolved method 'abstract void write()

    [ https://issues.apache.org/jira/browse/OAK-10295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732146#comment-17732146 ] 

Wallace Howery commented on OAK-10295:
--------------------------------------

I think I solved my own issue. Looks like the project is using an old version of hsql (version 1.x) which has the interface definition abstract void write(org.h2.mvstore.WriteBuffer, java.lang.Object[], int, boolean). Version of 2 of hsql removes the last boolean parameter from that signature. I'll update this once I get H2 upgraded to 2.x.

> KeyDataType does not define or inherit an implementation of the resolved method 'abstract void write()
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-10295
>                 URL: https://issues.apache.org/jira/browse/OAK-10295
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jackrabbit-api
>    Affects Versions: 1.50.0
>            Reporter: Wallace Howery
>            Priority: Critical
>
> I'm getting the warning below in a JCR Oak project, using postgres for storage, and using oak-lucene and oak-store-composite dependencies (to get JCR functionality), using version 1.50.0 of those dependencies. 
> Also, I'm using JDK 17 and spring-boot 2.5.12.
>  
> It looks like org.apache.jackrabbit.oak.plugins.document.persistentCache.KeyDataType needs to be updated to implement method 'abstract void write(org.h2.mvstore.WriteBuffer, java.lang.Object[], int, boolean)' of interface org.h2.mvstore.type.DataType.
>  
> Could this be looked into be the jackrabbit team?
>  
> {"@timestamp":"2023-05-26T11:26:41.994-04:00","@version":"1","message":"Error in the background thread of the persistent cache: java.lang.IllegalStateException: java.lang.AbstractMethodError: Receiver class org.apache.jackrabbit.oak.plugins.document.persistentCache.KeyDataType does not define or inherit an implementation of the resolved method 'abstract void write(org.h2.mvstore.WriteBuffer, java.lang.Object[], int, boolean)' of interface org.h2.mvstore.type.DataType. [1.4.200/3]","logger_name":"org.apache.jackrabbit.oak.plugins.document.persistentCache.MapFactory","thread_name":"MVStore background writer nio:/data/ace/app/summons/oak/repository/cache/cache-0.data","level":"WARN","level_value":30000}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)