I am very new to Jena and was playing with loading owl files from the file
system and came up with this in version 2.6.4

OntModel model = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM);
String fileName = "file.owl";
        LocationMapper lm = FileManager.get().getLocationMapper();
        lm.addAltEntry( "namespace", "file:test.owl" );
        model.getDocumentManager().getFileManager().setLocationMapper(lm);

again this works in 2.6.4 but in 2.11.0 this throws an error.  I believe
this is because in Adapterlib line 55 the loop is iterating over sIter2 but
accesses sIter1.  This causes a NPE.

I see that I don't need to call setLocationMapper, but I think this may be
an issue either way.  Can anyone confirm?

Reply via email to