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

NullPointerException when running incremental #30

Open
carmenvandeloo opened this issue Oct 22, 2018 · 1 comment
Open

NullPointerException when running incremental #30

carmenvandeloo opened this issue Oct 22, 2018 · 1 comment

Comments

@carmenvandeloo
Copy link
Contributor

carmenvandeloo commented Oct 22, 2018

Hi,

When running with default.incremental set to true in the r2rml.properties file, a NullPointerException is thrown:

Transforming the data... Run with -h for help on options.
Exception in thread "main" java.lang.NullPointerException
        at gr.seab.r2rml.beans.UtilImpl.md5(UtilImpl.java:398)
        at gr.seab.r2rml.beans.Generator.createTriples(Generator.java:792)
        at gr.seab.r2rml.beans.Main.main(Main.java:93)
@nkons
Copy link
Owner

nkons commented Dec 3, 2018

HI,

Thanks for spotting this. A check for null would prevent this from happening, e.g.

s += predicateObjectMap.getObjectTemplate() != null? predicateObjectMap.getObjectTemplate().getLanguage() : "null";

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