Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRCException while Parsing DBpedia HDT File. #103

Open
janothan opened this issue Feb 19, 2020 · 0 comments
Open

CRCException while Parsing DBpedia HDT File. #103

janothan opened this issue Feb 19, 2020 · 0 comments
Milestone

Comments

@janothan
Copy link

janothan commented Feb 19, 2020

I downloaded the DBpedia HDT data set.
I try to load it using the following code:

HDT hdtDataSet = HDTManager.loadHDT(hdtFilePath);

When I run the program, I get the following exception after some minutes:

org.rdfhdt.hdt.exceptions.CRCException: CRC Error while reading Dictionary Section Plain Front Coding Data.
	at org.rdfhdt.hdt.dictionary.impl.section.PFCDictionarySectionBig.load(PFCDictionarySectionBig.java:490)
	at org.rdfhdt.hdt.dictionary.impl.section.DictionarySectionFactory.loadFrom(DictionarySectionFactory.java:67)
	at org.rdfhdt.hdt.dictionary.impl.FourSectionDictionary.load(FourSectionDictionary.java:119)
	at org.rdfhdt.hdt.hdt.impl.HDTImpl.loadFromHDT(HDTImpl.java:194)
	at org.rdfhdt.hdt.hdt.impl.HDTImpl.loadFromHDT(HDTImpl.java:214)
	at org.rdfhdt.hdt.hdt.HDTManagerImpl.doLoadHDT(HDTManagerImpl.java:34)
	at org.rdfhdt.hdt.hdt.HDTManager.loadHDT(HDTManager.java:66)

I am using:

        <dependency>
            <groupId>org.rdfhdt</groupId>
            <artifactId>hdt-java-core</artifactId>
            <version>2.1.1-SNAPSHOT</version>
        </dependency>

Remark: It does work with other data sets such as Semantic Web Dog Food.

@D063520 D063520 added this to the 3.1.0 milestone Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants