Ticket #67 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

NullPointerException when trying different semwebbase

Reported by: clange Owned by: skuryla
Priority: critical Milestone: 0.4
Component: RDF→OMDoc Version: 0.3
Keywords: Cc:
Blocked By: Blocking:
Due to close: YYYY/MM/DD Include in GanttChart: no
Dependencies: Due to assign: YYYY/MM/DD

Description

I just tried:

(1) ..im/projects/rdf2omdoc/portable/build$ ./rdf2omdoc.sh -s 'http://test.org/external-typed-literals#' ../examples/literals.rdf
Exception in thread "main" java.lang.NullPointerException
        at de.jub.rdf2omdoc.OMDocModel.getTheoryNameBySemWebBase(OMDocModel.java:155)
        at de.jub.rdf2omdoc.OMDocModel.setSemanticWebBase(OMDocModel.java:273)
        at de.jub.rdf2omdoc.Startup.main(Startup.java:76)

Is that a wrong way of using the -s parameter? What would be the right way? Anyway, the program should fail more gracefully, and give a meaningful error message.

Change History

Changed 4 years ago by skuryla

  • status changed from new to closed
  • resolution set to fixed

Sorry, it was affected by one of my lately changes. I have fixed this.

Note: See TracTickets for help on using tickets.