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

Null pointer exception when using .owl as input #30

Open
EmmaGerritse opened this issue Oct 28, 2020 · 0 comments
Open

Null pointer exception when using .owl as input #30

EmmaGerritse opened this issue Oct 28, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@EmmaGerritse
Copy link

Hello,

I was using jRDF2VEC to train embeddings for DBpedia 2015-10, when using the .owl file (http://downloads.dbpedia.org/2015-10/dbpedia_2015-10.owl ), I get the following error:

java -jar jrdf2vec-1.1-SNAPSHOT.jar -graph dbpedia_2015-10.owl
Using 4 threads for walk generation and training.
Using vector dimension: 200
Using depth 4
Generating 100 walks per entity.
RDF2Vec Classic
log4j:WARN No appenders could be found for logger (de.uni_mannheim.informatik.dws.jrdf2vec.RDF2Vec).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
walkGeneration mode is null... Using default: RANDOM_WALKS_DUPLICATE_FREE
Exception in thread "main" java.lang.NullPointerException
        at de.uni_mannheim.informatik.dws.jrdf2vec.walk_generators.base.WalkGeneratorDefault.generateRandomWalksDuplicateFree(WalkGeneratorDefault.java:192)
        at de.uni_mannheim.informatik.dws.jrdf2vec.walk_generators.base.WalkGeneratorDefault.generateWalks(WalkGeneratorDefault.java:157)
        at de.uni_mannheim.informatik.dws.jrdf2vec.RDF2Vec.train(RDF2Vec.java:177)
        at de.uni_mannheim.informatik.dws.jrdf2vec.Main.main(Main.java:407)

Using the .nt file does work though (http://downloads.dbpedia.org/2015-10/dbpedia_2015-10.nt ).

Cheers,

@janothan janothan added the bug Something isn't working label Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants