[protege-owl] Repository problem!!

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[protege-owl] Repository problem!!

Juan Sequeda
Hi all

I have a repository error. I try to open my protegeowl project and i
get the following error:

This error apears in a popup:

java.lang.NullPointerException
        at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.createDefaultNamespace(ProtegeOWLParser.java:229)
        at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:631)
        at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriples(ProtegeOWLParser.java:584)
        at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:576)
        at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:861)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(JenaOWLModel.java:230)
        at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(JenaOWLModel.java:254)
        at edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.loadKnowledgeBase(JenaKnowledgeBaseFactory.java:158)
        at edu.stanford.smi.protege.model.Project.loadDomainKB(Unknown Source)
        at edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Unknown
Source)
        at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
        at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
        at edu.stanford.smi.protege.model.Project.loadProjectFromURI(Unknown Source)
        at edu.stanford.smi.protege.ui.ProjectManager.loadProjectFromURI(Unknown
Source)
        at edu.stanford.smi.protege.ui.ProjectManager.loadProject(Unknown Source)
        at edu.stanford.smi.protege.Application.init(Unknown Source)
        at edu.stanford.smi.protege.Application.realmain(Unknown Source)
        at edu.stanford.smi.protege.Application$3.run(Unknown Source)

Please consider to run the file through an RDF or OWL validation service such as
  - RDF Validator: http://www.w3.org/RDF/Validator
  - OWL Validator: http://phoebus.cs.man.ac.uk:9999/OWL/Validator

and this error appears in the console:

[Repository Manager] Warning: Could not find repository file:
C:\.....\Laboratorio\Laboratorio.repository
Fatal Error

I closed protege the last time normally, and when I tried to open it
again, I got this error. My ontology doesnt appear anywhere.

Any help?? Thanks

--
Juan Federico Sequeda Sanclemente
Systems and Computer Engineering Student
Universidad del Valle
Tel: +57 2 516 2612
Fax: +57 2 516 2613
Cel: +57 310 390 1211
Cali, Colombia
http://libertad.univalle.edu.co/~jsequeda
ICQ: 323562510
AIM: jfsequeda
MSN: [hidden email]
[hidden email]
[hidden email]
[hidden email]
www.superbacano.com

"No es bacano... sino Superbacano!"
-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

Re: Repository problem!!

Nick Drummond
Juan,

Which version of Protege are you using? There have been some fixes to
the import mechanism over the last few builds.
If you have these problems with the latest, you could send me the
ontology files and I'll see if I can reproduce the error.

Nick

Juan Federico Sequeda Sanclemente wrote:

>Hi all
>
>I have a repository error. I try to open my protegeowl project and i
>get the following error:
>
>This error apears in a popup:
>
>java.lang.NullPointerException
> at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.createDefaultNamespace(ProtegeOWLParser.java:229)
> at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:631)
> at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriples(ProtegeOWLParser.java:584)
> at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:576)
> at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:861)
> at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(JenaOWLModel.java:230)
> at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(JenaOWLModel.java:254)
> at edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.loadKnowledgeBase(JenaKnowledgeBaseFactory.java:158)
> at edu.stanford.smi.protege.model.Project.loadDomainKB(Unknown Source)
> at edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Unknown
>Source)
> at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
> at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
> at edu.stanford.smi.protege.model.Project.loadProjectFromURI(Unknown Source)
> at edu.stanford.smi.protege.ui.ProjectManager.loadProjectFromURI(Unknown
>Source)
> at edu.stanford.smi.protege.ui.ProjectManager.loadProject(Unknown Source)
> at edu.stanford.smi.protege.Application.init(Unknown Source)
> at edu.stanford.smi.protege.Application.realmain(Unknown Source)
> at edu.stanford.smi.protege.Application$3.run(Unknown Source)
>
>Please consider to run the file through an RDF or OWL validation service such as
>  - RDF Validator: http://www.w3.org/RDF/Validator
>  - OWL Validator: http://phoebus.cs.man.ac.uk:9999/OWL/Validator
>
>and this error appears in the console:
>
>[Repository Manager] Warning: Could not find repository file:
>C:\.....\Laboratorio\Laboratorio.repository
>Fatal Error
>
>I closed protege the last time normally, and when I tried to open it
>again, I got this error. My ontology doesnt appear anywhere.
>
>Any help?? Thanks
>
>--
>Juan Federico Sequeda Sanclemente
>Systems and Computer Engineering Student
>Universidad del Valle
>Tel: +57 2 516 2612
>Fax: +57 2 516 2613
>Cel: +57 310 390 1211
>Cali, Colombia
>http://libertad.univalle.edu.co/~jsequeda
>ICQ: 323562510
>AIM: jfsequeda
>MSN: [hidden email]
>[hidden email]
>[hidden email]
>[hidden email]
>www.superbacano.com
>
>"No es bacano... sino Superbacano!"
>-------------------------------------------------------------------------
>To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>
>
>  
>

--

Nick Drummond

http://www.cs.man.ac.uk/~drummond/ <http://www.cs.man.ac.uk/%7Edrummond/>
-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

Re: Repository problem!!

Juan Sequeda
actually, somehow the whole was erased. There was nothing on it.

At least I had a backup copy. But no idea what happened. I was lucky this time

On 2/10/06, Nick Drummond <[hidden email]> wrote:

> Juan,
>
> Which version of Protege are you using? There have been some fixes to
> the import mechanism over the last few builds.
> If you have these problems with the latest, you could send me the
> ontology files and I'll see if I can reproduce the error.
>
> Nick
>
> Juan Federico Sequeda Sanclemente wrote:
>
> >Hi all
> >
> >I have a repository error. I try to open my protegeowl project and i
> >get the following error:
> >
> >This error apears in a popup:
> >
> >java.lang.NullPointerException
> >       at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.createDefaultNamespace(ProtegeOWLParser.java:229)
> >       at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:631)
> >       at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriples(ProtegeOWLParser.java:584)
> >       at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:576)
> >       at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(ProtegeOWLParser.java:861)
> >       at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(JenaOWLModel.java:230)
> >       at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(JenaOWLModel.java:254)
> >       at edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.loadKnowledgeBase(JenaKnowledgeBaseFactory.java:158)
> >       at edu.stanford.smi.protege.model.Project.loadDomainKB(Unknown Source)
> >       at edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Unknown
> >Source)
> >       at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
> >       at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
> >       at edu.stanford.smi.protege.model.Project.loadProjectFromURI(Unknown Source)
> >       at edu.stanford.smi.protege.ui.ProjectManager.loadProjectFromURI(Unknown
> >Source)
> >       at edu.stanford.smi.protege.ui.ProjectManager.loadProject(Unknown Source)
> >       at edu.stanford.smi.protege.Application.init(Unknown Source)
> >       at edu.stanford.smi.protege.Application.realmain(Unknown Source)
> >       at edu.stanford.smi.protege.Application$3.run(Unknown Source)
> >
> >Please consider to run the file through an RDF or OWL validation service such as
> >  - RDF Validator: http://www.w3.org/RDF/Validator
> >  - OWL Validator: http://phoebus.cs.man.ac.uk:9999/OWL/Validator
> >
> >and this error appears in the console:
> >
> >[Repository Manager] Warning: Could not find repository file:
> >C:\.....\Laboratorio\Laboratorio.repository
> >Fatal Error
> >
> >I closed protege the last time normally, and when I tried to open it
> >again, I got this error. My ontology doesnt appear anywhere.
> >
> >Any help?? Thanks
> >
> >--
> >Juan Federico Sequeda Sanclemente
> >Systems and Computer Engineering Student
> >Universidad del Valle
> >Tel: +57 2 516 2612
> >Fax: +57 2 516 2613
> >Cel: +57 310 390 1211
> >Cali, Colombia
> >http://libertad.univalle.edu.co/~jsequeda
> >ICQ: 323562510
> >AIM: jfsequeda
> >MSN: [hidden email]
> >[hidden email]
> >[hidden email]
> >[hidden email]
> >www.superbacano.com
> >
> >"No es bacano... sino Superbacano!"
> >-------------------------------------------------------------------------
> >To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
> >
> >
> >
> >
>
> --
>
> Nick Drummond
>
> http://www.cs.man.ac.uk/~drummond/ <http://www.cs.man.ac.uk/%7Edrummond/>
> -------------------------------------------------------------------------
> To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>
>


--
Juan Federico Sequeda Sanclemente
Systems and Computer Engineering Student
Universidad del Valle
Tel: +57 2 516 2612
Fax: +57 2 516 2613
Cel: +57 310 390 1211
Cali, Colombia
Web: http://libertad.univalle.edu.co/~jsequeda
ICQ: 323562510
AIM: jfsequeda
MSN: [hidden email]
GTalk: [hidden email]
[hidden email]
[hidden email]
www.superbacano.com

"No es bacano... sino Superbacano!"
-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

saving a RDF project

Paul S Prueitt


I simple question..

I created a new RDF construction (project?) and in trying to save it it is
asking me for a unique URI.

this is not a file name?

what can I enter here so that the work is saved?



-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

Re: saving a RDF project

Paul S Prueitt


I created a "unique" URI by typing in "qrt"... and this was used to create a
4 KB .owl file and a 208 KM Protege Project.


the attached "qrt.owl" file opens nicely in Altova RDF/OWL editor.

What is "in" the 208 KM Protege file?

Why is the project-save interface talking about a unique URI having no
spaces.  ?





-----Original Message-----
From: [hidden email]
[mailto:[hidden email]]On Behalf Of Paul S
Prueitt
Sent: Friday, February 10, 2006 1:40 PM
To: [hidden email]
Subject: [protege-owl] saving a RDF project




I simple question..

I created a new RDF construction (project?) and in trying to save it it is
asking me for a unique URI.

this is not a file name?

what can I enter here so that the work is saved?



-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html


qrt.owl (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: saving a RDF project

Nick Drummond
Paul,

The project file stores mostly UI configuration info that is specific to
protege and therefore does not need to be distributed.
If you have not made any form or tab configurations, you do not need to
retain this file.

URIs cannot contain spaces - they must be escaped (%20) - the w3c have
more information [1]

Nick

PS Please post a new message in a new thread in future instead of
replying to someone elses email on a seperate topic - thanks

[1] http://www.w3.org/Addressing/URL/URI_Overview.html

Paul S Prueitt wrote:

>I created a "unique" URI by typing in "qrt"... and this was used to create a
>4 KB .owl file and a 208 KM Protege Project.
>
>
>the attached "qrt.owl" file opens nicely in Altova RDF/OWL editor.
>
>What is "in" the 208 KM Protege file?
>
>Why is the project-save interface talking about a unique URI having no
>spaces.  ?
>
>
>
>
>
>-----Original Message-----
>From: [hidden email]
>[mailto:[hidden email]]On Behalf Of Paul S
>Prueitt
>Sent: Friday, February 10, 2006 1:40 PM
>To: [hidden email]
>Subject: [protege-owl] saving a RDF project
>
>
>
>
>I simple question..
>
>I created a new RDF construction (project?) and in trying to save it it is
>asking me for a unique URI.
>
>this is not a file name?
>
>what can I enter here so that the work is saved?
>
>
>
>-------------------------------------------------------------------------
>To unsubscribe go to http://protege.stanford.edu/community/subscribe.html
>
>  
>

--

Nick Drummond

http://www.cs.man.ac.uk/~drummond/ <http://www.cs.man.ac.uk/%7Edrummond/>
-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html