以文本方式查看主题

-  W3CHINA.ORG讨论区 - 语义网·描述逻辑·本体·RDF·OWL  (http://bbs.xml.org.cn/index.asp)
--  『 Semantic Web(语义Web)/描述逻辑/本体 』  (http://bbs.xml.org.cn/list.asp?boardid=2)
----  [求助]  (http://bbs.xml.org.cn/dispbbs.asp?boardid=2&rootid=&id=84722)


--  作者:shenxin1986
--  发布时间:5/11/2010 8:45:00 PM

--  [求助]
protege 打开文件出错
:Errors found performing operation.

1. An error occurred at parsing the OWL ontology

    file:/E:/Protege_3.4.4/Animal.owl

    at line -1 and column -1.
    Jena parse error message: Premature end of file.
    Exception class org.xml.sax.SAXParseException.  Message: Premature end of file.

See console and log for more details.
这是怎么了,
cwd: E:\Protege_3.4.4
cmd: "F:\Java\jre6\bin\java.exe" -Xms262144000 -Xmx524288000 -classpath "E:\Prot
ege_3.4.4\protege.jar;E:\Protege_3.4.4\looks.jar;E:\Protege_3.4.4\unicode_panel.
jar;E:\Protege_3.4.4\driver.jar;E:\Protege_3.4.4\driver0.jar;E:\Protege_3.4.4\dr
iver1.jar;E:\Protege_3.4.4\driver2.jar$;E:\Protege_3.4.4\lax.jar;" com.zerog.lax
.LAX "E:/Protege_3.4.4/Protege.lax" "C:/Documents and Settings/Administrator/Loc
al Settings/Temp/lax4F.tmp" E:\\Protege_3.4.4\\Animal.pprj
Protege 3.4.4 Build 579, JVM 1.6.0_19-b04, memory=506M, Windows XP, encoding=UTF
-8, language=zh, country=CN
Loaded plugin org.algernon - Algernon
Loaded plugin edu.stanford.smi.protegex.owl - OWL Plugin
Loaded plugin org.protege.owl.axiome - Axiome Plugin
Loaded plugin edu.stanford.smi.protegex.standard_extensions - Graph Widget, Tabl
e Widget
Loaded plugin edu.stanford.bmir.protegex.bp.ref - BioPortal Reference Plugin
Loaded plugin edu.stanford.smi.protegex.rdf_backend - RDF Backend
Loaded plugin edu.stanford.smi.protegex.changes - Changes tab
Loaded plugin edu.stanford.smi.protegex.changeanalysis - Change Analysis Tab
Loaded plugin edu.stanford.smi.protegex.chatPlugin - Chat
Loaded plugin edu.stanford.smi.protegex.datamaster - DataMaster Tab
Loaded plugin edu.stanford.smi.protegex.prompt - PROMPT Tab
Loaded plugin edu.stanford.smi.protegex.metaanalysis - MetaAnalysis Tab
Loaded plugin edu.stanford.smi.protegex.pal_tabs - PAL Tabs
Loaded plugin edu.stanford.smi.protegex.ezpal - EZPal Tab
Loaded plugin edu.stanford.smi.protegex.facets_tab
Loaded plugin edu.stanford.smi.protegex.instance_tree
Loaded plugin ca.uvic.cs.chisel.jambalaya - Jambalaya
Loaded plugin se.liu.ida.JessTab - JessTab Plugin
Loaded plugin edu.stanford.smi.protegex.query.lucene - LuceneQueryTab
Loaded plugin org.protege.owl.mappingmaster - MappingMaster Plugin
Loaded plugin dfki.protege.ontoviz
Loaded plugin uk.ac.man.cs.mig.coode.debugger
Loaded plugin uk.ac.man.cs.mig.coode.owlindividualstab
Loaded plugin uk.ac.man.cs.mig.coode.manchesterowlsyntaxeditor
Loaded plugin uk.ac.man.cs.mig.coode.owldoc
Loaded plugin uk.ac.man.cs.mig.coode.owlviz
Loaded plugin edu.stanford.smi.protege.collab - Collaborative Protege
Loaded plugin edu.stanford.smi.protegex.owl.inference.pellet - Protege Pellet Re
asoner
Loaded plugin edu.stanford.smi.protege.script - Script Plugin
Loaded plugin edu.stanford.smi.protege.stringsearch - String Search Tab
Loaded plugin uk.ac.iam.soton.akt.tgviztab - TGVizTab
Loaded plugin uk.ac.man.cs.mig.coode.protege.wizard - Basic Wizards
Loaded plugin uk.ac.man.cs.mig.coode.protege.wizard.owl - OWL Wizards
Loaded plugin edu.stanford.smi.protegex.umls_tab - UMLS Tab
Loaded plugin edu.stanford.smi.protegex.wordnet - WordNet Tab
Loaded plugin edu.stanford.smi.protegex.xml_tab - XML Tab
[Fatal Error] :-1:-1: Premature end of file.
Loading triples for: file:/E:/Protege_3.4.4/Animal.owl
SEVERE: An error occurred at parsing the OWL ontology

    file:/E:/Protege_3.4.4/Animal.owl

    at line -1 and column -1.
    Jena parse error message: Premature end of file. -- org.xml.sax.SAXParseExce
ption: Premature end of file.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatcher.dispa
tch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.parse(RDFXMLParser.java:106
)
        at com.hp.hpl.jena.rdf.arp.ARP.load(ARP.java:143)
        at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser$1.invokeAR
P(Unknown Source)
        at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriple
s(Unknown Source)
        at edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Unknow
n Source)
        at edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.loadKnowl
edgeBase(Unknown Source)
        at edu.stanford.smi.protege.model.Project.loadDomainKB(Unknown Source)
        at edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Unkn
own 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 Sou
rce)
        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)

    Completed triple loading after 0 ms
Postprocess: Process entities with incorrect Java type (0 entities) ... 0 ms
Postprocess: Process metaclasses (3 metaclasses) ... 0 ms
Postprocess: Process subclasses of rdf:List (1 classes) ... 0 ms
Postprocess: Instances with multiple types (0 instances) ... 0 ms
Postprocess: Add inferred superclasses ... 0 ms
Postprocess: Process orphan classes (0 classes) ... 0 ms
Postprocess: Generalized Concept Inclusion (0 axioms) ... 0 ms
Postprocess: Abstract classes... 0 ms
Postprocess: Domain and range of properties... 0 ms
Postprocess: Possibly typed entities (0 resources) ... 0 ms
Updating underlying frames model in 0 ms
Load time for file:\E:\Protege_3.4.4\Animal.pprj = 3 sec (project) + 9 sec (ui)
... saving successful to: E:\Protege_3.4.4\Animal.owl
Loading triples for: file:/E:/Protege_3.4.4/Animal.owl
    Completed triple loading after 0 ms
Postprocess: Process entities with incorrect Java type (0 entities) ... 0 ms
Postprocess: Process metaclasses (3 metaclasses) ... 16 ms
Postprocess: Process subclasses of rdf:List (1 classes) ... 0 ms
Postprocess: Instances with multiple types (0 instances) ... 0 ms
Postprocess: Add inferred superclasses ... 0 ms
Postprocess: Process orphan classes (0 classes) ... 0 ms
Postprocess: Generalized Concept Inclusion (0 axioms) ... 0 ms
Postprocess: Abstract classes... 0 ms
Postprocess: Domain and range of properties... 0 ms
Postprocess: Possibly typed entities (0 resources) ... 0 ms
Updating underlying frames model in 0 ms
Load time for file:\E:\Protege_3.4.4\Animal.pprj = 0 sec (project) + 1 sec (ui)
这是protege命令代码


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
3,718.750ms