Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] NullPointerException in Protege 3.4 when executing any SPARQL query for the AKT ontology

Bene beroca at gmail.com
Thu Oct 30 16:44:27 PDT 2008


Hello,

I'm using Protege 3.4 Build 513 and loaded the AKT Portal ontology from the
following URL:
http://www.aktors.org/ontology/portal

I bring up the SPARQL window via the menu bar (Reasoning->Open SPARQL Query
Panel) and I execute a test query such as:

SELECT ?subject ?object
WHERE { ?subject rdfs:subClassOf ?object }

However that causes the following error message window to pop up:

Error
Query failed: null
[OK]

And at the bottom of the email I added the corresponding exception thrown by
Protégé.

The same exception is thrown for any other trivial SPARQL query.
Any ideas about why this happens with the AKT Portal ontology?
I've used this SPARQL Query feature with other ontologies and didn't have
any problem.

Thanks a lot!
Bene Rodriguez

----------
cwd: C:\Program Files\Protege_3.4_beta_build_513\
cmd: "C:\Program Files\Java\jre1.6.0_07\bin\java.exe" -Xms209715200
-Xmx20971520
0 -classpath "C:\Program
Files\Protege_3.4_beta_build_513\protege.jar;C:\Program
 Files\Protege_3.4_beta_build_513\looks-2.1.3.jar;C:\Program
Files\Protege_3.4_b
eta_build_513\unicode_panel.jar;C:\Program
Files\Protege_3.4_beta_build_513\driv
er.jar;C:\Program Files\Protege_3.4_beta_build_513\driver0.jar;C:\Program
Files\
Protege_3.4_beta_build_513\driver1.jar;C:\Program
Files\Protege_3.4_beta_build_5
13\driver2.jar$;C:\Program Files\Protege_3.4_beta_build_513\lax.jar;"
com.zerog.
lax.LAX "C:/Program Files/Protege_3.4_beta_build_513/Protege.lax"
"L:/Documents
and Settings/br205r/Local Settings/Temp/lax24A.tmp"
Protege 3.4 Build 513, JVM 1.6.0_07-b06, memory=208M, Windows XP,
encoding=UTF-8
, language=en, country=GB
Loaded plugin edu.stanford.smi.protegex.owl - OWL Plugin
Loaded plugin ca.uvic.cs.chisel.jambalaya - Jambalaya
Loaded plugin dfki.protege.ontoviz
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.standard_extensions - Graph Widget,
Tabl
e Widget
Loaded plugin edu.stanford.smi.protegex.chatPlugin - Chat
Loaded plugin edu.stanford.smi.protege.collab - Collaborative Protege
Loaded plugin edu.stanford.smi.protege.script - Script Plugin
Loaded plugin edu.stanford.smi.protege.stringsearch - String Search Tab
Loaded plugin edu.stanford.smi.protegex.datamaster - DataMaster 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 edu.stanford.smi.protegex.owl.inference.pellet - Protege
Pellet Re
asoner
Loaded plugin edu.stanford.smi.protegex.prompt - PROMPT Tab
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
Loaded plugin org.algernon - Algernon
Loaded plugin se.liu.ida.JessTab - JessTab Plugin
Loaded plugin uk.ac.iam.soton.akt.tgviztab - TGVizTab
Loaded plugin uk.ac.man.cs.mig.coode.debugger
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.owlindividualstab
Loaded plugin uk.ac.man.cs.mig.coode.owlviz
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
Loading triples from: http://www.aktors.org/ontology/portal
    Completed triple loading after 250 ms
Importing http://www.aktors.org/ontology/support from location:
http://www.aktor
s.org/ontology/support
Loading triples from: http://www.aktors.org/ontology/support
    Completed triple loading after 47 ms
Postprocess: Process entities with incorrect Java type (1 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 (35 instances) ... 0 ms
Postprocess: Add inferred superclasses ... 0 ms
Postprocess: Process orphan classes (169 classes) ... 0 ms
Postprocess: Generalized Concept Inclusion (0 axioms) ... 0 ms
Postprocess: Abstract classes... 0 ms
Postprocess: Domain and range of properties... 16 ms
Postprocess: Possibly typed entities (1 resources) ... 0 ms
Updating underlying frames model in 0 ms
Protege Wizards v1.0 beta build 15
Loaded OWL wizards library
SEVERE: Exception caught -- java.lang.NullPointerException
        at
edu.stanford.smi.protegex.owl.model.query.SPARQLQueryResults.createPr
efixDeclarations(Unknown Source)
        at
edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel.executeSPAR
QLQuery(Unknown Source)
        at
edu.stanford.smi.protegex.owl.ui.query.SPARQLResultsPanel.executeQuer
y(Unknown Source)
        at
edu.stanford.smi.protegex.owl.ui.query.SPARQLQueryPanel.executeQuery(
Unknown Source)
        at
edu.stanford.smi.protegex.owl.ui.query.SPARQLQueryPanel.access$000(Un
known Source)
        at
edu.stanford.smi.protegex.owl.ui.query.SPARQLQueryPanel$1.actionPerfo
rmed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)





More information about the protege-discussion mailing list