Dear Andy,Thank you for your reply.
You find attached the code of the two files that I use.In the class: 
OWLSMatchmakerClientI have the method: protected OWLSProfileModel 
parseOWLSProfile(String owlsURL) that contains :  OWLSProfileModel profileModel;
and in the class:The problem is in the method: public OWLSProfileModel 
read(String URI, String base)and especially in the line: 
ontModel.addLoadedImport(URI); 

So, please, can you help me ?Thank you in advance.
--

> Date: Sun, 17 Jun 2012 11:13:29 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: Problem jena
> 
> On 16/06/12 20:51, Fairouz FakhFakh wrote:
> > I use jena-2.4.jar
> 
> That's quite old.  May 2006 to be exact.
> 
> The problem you first reported is that
> 
> EDU.cmu.Atlas.owls1_1.parser.OWLSProfileParser.read(OWLSProfileParser.java:118)
> 
> is generating the NPE.  The questions is why that is being called and 
> what is that line of code.
> 
> > public class OWLSProfileParser {
> > private OntModel ontModel;
> >
> >
> > ......String URI= 
> > "http://www.daml.org/services/owl-s/1.0/BravoAirProfile.owl";ontModel.addLoadedImport(URI);
> > ....}
> 
> It may help to provide a complete, minimal example.
> 
> It's also not obviously related to the stacktrace in your first report.
> 
> Have you talked to the authors of EDU.cmu.Atlas OWLS API?
> 
>       Andy
                                          

Reply via email to