Skip to content

PST files 4gb or more - exception in PSTFile #97

@ghost

Description

I've taken the latest code from the develop branch, for java-libpst. It works fine for PST files less than 4gb in size.
For PST files 4gb or more, i get an exception in PSTFile.java, when it's trying to read the PST file

com.pff.PSTException: Unable to find node: 5006 is desc: false
	at com.pff.PSTFile.findBtreeItem(PSTFile.java:818)
	at com.pff.PSTFile.getOffsetIndexNode(PSTFile.java:842)
	at com.pff.PSTFile.readLeaf(PSTFile.java:567)
	at com.pff.PSTFile.getPSTDescriptorItems(PSTFile.java:850)
	at com.pff.PSTFile.processNameToIdMap(PSTFile.java:265)
	at com.pff.PSTFile.<init>(PSTFile.java:197)
	at com.pff.PSTFile.<init>(PSTFile.java:135)
	at com.pff.PSTFile.<init>(PSTFile.java:123)
	at com.aptp.utif.impl.MigrationTool.processReadMailsBatch(MigrationTool.java:797)

The invokation code is -

PSTFile pstFile = new PSTFile( MigrationTool.EFS_SHARE + "/" +contents[i] );

The pst file was created using Outlook 365

Please can you help with this.
Thanks alot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions