我有一个问题mapDB version 1.0.6
。当我创建一个数据库时,我最终得到了两个具有相同名称但具有不同文件类型的文件。
一个是例如IRTree
文件类型FILE
,另一个是IRTree
文件类型.p
话虽如此,每当我尝试读取提供文件名 IRTree 的数据库时,我都会遇到异常:
NullPointerException with the command DBMaker.newFileDB(new File(filename)).readOnly().make(); or an IOException: storage header is invalid
.
谁能向我解释发生了什么事?