12 Replies Latest reply on Aug 24, 2010 8:53 AM by 792148

    Protege Plugin Problem

    560844
      I think the sample Protege plugin Oracle provides breaks Protege 3.2.1 - I downloaded it here:
      http://download.oracle.com/otn/other/semantic_tech/protege_oracle_rdf_plugin.zip

      I made a fresh install of Protege, created an oracle directory in the plugins directory, and copied oracle.jar and ojdbc14.jar to that directory as instructed by the README. Then I started Protege and and when I click "New Project" the console dumps a stack trace starting with: java.lang.NoClassDefFoundError: edu/stanford/smi/protegex/storage/walker/FrameCreator

      Removing the two Oracle files solves the problem. Is anybody using Protege with any success? I need some encouragement here... :-)
        • 1. Re: Protege Plugin Problem
          Mannamal-Oracle
          The Protege plugin on the download page is for Protege 3.1 (apologies that that is not clearly specified). I believe a newer version of Protege (3.2.1 as you point out) is available, but we have not yet updated the sample plugin.

          There have been successful users who used Protege 3.1 with Oracle RDF.

          There are other ontology editing tools that are integrated with Oracle RDF, such as TopBraid composer from TopQuadrant.

          Melli
          • 2. Re: Protege Plugin Problem
            560844
            well that is a helpful piece of information. I will try using version 3.1.

            I'm attempting to use TopBraid at the moment, but I can't find much documentation on how to establish the connection to the database. I may create a seperate topic for that tomorrow if I run out of things to try.
            • 3. Re: Protege Plugin Problem
              479833
              I use Protege and load a rdf file to Oracle database by using Protege. If you need information, I can help.
              • 4. Re: Protege Plugin Problem
                119090
                Has anybody had success with this plugin at all? I downloaded and installed the Protege 3.1 plugin and it still doesn't work. When you remove the \oracle from \plugins then the 'New Project' works - put the \oracle dir in \plugins and it doesn't.
                On another note, does anyone know where to put the ojdbc14.jar file so the I could use the DataMaster plugin. Says it can't find com.oracle.jdbc.Driver. There is absolutely no help for the plugin. Any help would be appreciated.
                Thanks
                Tim
                • 5. Re: Protege Plugin Problem
                  119090
                  I would be interested in how you used Protege to load a RDF into Oracle. I am using 10gR2 with the RDF patch installed (as per Oracle's Semantic Technology web site). I downloaded Protege 3.1 for windows (full version) and it doesn't work (ie, if I remove the oracle directory from the plugins directory, then I can create a project; with the oracle directory under the plugins directory, cannot see the 'New Project' dialog. Even followed some new suggested from Oracle. Is it because you can't have the full install, but only have the base install and then install the rdf_backend stuff? if so, then there is nothing that indicates this. Can one use some other Protege plug-in that would read/write RDF(S) to the Oracle DB. How about the bulkfastloader? could it be used to read/display/write RDF(S)?

                  Thanks for any help
                  • 6. Re: Protege Plugin Problem
                    91144
                    I used oracle protege plugin for protege 3.2.1. I can load my owl rdf to oracle triples but it only allowed me to use MotorVehicle model. If I tried to use a different model and rdf table, it still pointed to Motorvechile model. Then Oracle would give an error message because model is not matched to table.

                    Any suggestions?

                    Thanks,

                    May
                    • 7. Re: Protege Plugin Problem
                      119090
                      The documents that accompany the Oracle RDF plugin needs a little correction. Follow the instructions on creating the oracle directory under the Protege \plugins directory and copy the oracle files into it.
                      Then - this is the part that needs to be modified - find the edu.stanford.smi.protegex.rdf_backend directory and copy all the files from there into the \oracle directory that you created.
                      Once you do this, start Protege and when you click on "New Project", you will see a dialog come ups with the Oracle information included.
                      I have tested this on 3.1, 3.1.2, 3.2 and now using the 3.4_beta and it works.
                      I had the same problem (core dump, removing oracle files to solve problem). But trial and error prevailed.
                      Have not tried TopBraid Composer yet but the Metatomix plugin worked (after it threw exceptions) which I finally figured out. Email me if you want to use it and I'll tell you what to do.
                      • 8. Re: Protege Plugin Problem - exported triples messed up
                        malcolm83
                        I've sort of got this working with Protege 3.4, but I'm still having some problems. I created an extremely simple OWL ontology that's just a class hierarchy. I used the Export to Format->Oracle RDF Store to store this data off in Oracle using the plugin. When I run this, I do see data in Oracle RDF, but it doesn't look right, and I'm also seeing a Java error in the Protege log.

                        On the Oracle side, I'm seeing triples like this:
                        <http:__www.harris.com_discovery.owl><http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://protege.stanford.edu/system#http_//www.w3.org/2002/07/owl#ontology>

                        for some reason, it's replace the 2 "/"'s in the subject with underscores. In the object, it's replaced the ":" with an underscores and then prepended another namespace. Any idea what's causing this?

                        I've got an Oracle 11g server, could that be part of my problem?

                        Here's what the log looks like:


                        cwd: I:\Protege_3.4_rc1\
                        cmd: "C:\Program Files\Java\jre1.5.0_11\bin\java.exe" -Xms262144000 -Xmx524288000 -classpath "I:\Pro
                        tege_3.4_rc1\protege.jar;I:\Protege_3.4_rc1\looks-2.1.3.jar;I:\Protege_3.4_rc1\unicode_panel.jar;I:\
                        Protege_3.4_rc1\driver.jar;I:\Protege_3.4_rc1\driver0.jar;I:\Protege_3.4_rc1\driver1.jar;I:\Protege_
                        3.4_rc1\driver2.jar$;I:\Protege_3.4_rc1\lax.jar;" com.zerog.lax.LAX "I:/Protege_3.4_rc1/Protege.lax"
                        "C:/TEMP/lax11B.tmp"
                        Protege 3.4 Build 526, JVM 1.5.0_11-b03, memory=520M, Windows XP, encoding=UTF-8, language=en, count
                        ry=US
                        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, Table 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.prompt - PROMPT Tab
                        Loaded plugin edu.stanford.smi.protegex.metaanalysis - MetaAnalysis Tab
                        Loaded plugin edu.stanford.smi.protegex.owl.inference.pellet - Protege Pellet Reasoner
                        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 Oracle_RDF - RDF Backend
                        WARNING: Duplicate plugin: edu.stanford.smi.protegex.storage.rdf.configurable.RDFExportPlugin -- Plu
                        ginUtilities.checkPlugin()
                        WARNING: Duplicate plugin: edu.stanford.smi.protegex.widget.oil.ExpressionFieldWidget -- PluginUtili
                        ties.checkPlugin()
                        WARNING: Duplicate plugin: edu.stanford.smi.protegex.storage.rdf.configurable.RDFCreateProjectPlugin
                        -- PluginUtilities.checkPlugin()
                        WARNING: Duplicate plugin: edu.stanford.smi.protegex.storage.rdf.configurable.RDFExportProjectPlugin
                        -- PluginUtilities.checkPlugin()
                        WARNING: Duplicate plugin: edu.stanford.smi.protegex.widget.oil.ExpressionListWidget -- PluginUtilit
                        ies.checkPlugin()
                        WARNING: Duplicate plugin: edu.stanford.smi.protegex.storage.rdf.configurable.RDFCBackend -- PluginU
                        tilities.checkPlugin()
                        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: file:/I:/IIS_DEV/Discovery/tini.owl
                        Completed triple loading after 234 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 (4 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
                        Protege Wizards v1.0 beta build 15
                        Loaded OWL wizards library
                        Load time for file:\I:\IIS_DEV\Discovery\tini.pprj = 2 sec (project) + 5 sec (ui)
                        In saveKnowledgeBase 1
                        WARNING: frame name changed from "http://www.harris.com/discovery.owl#PizzaBase" to "http:__www.harr
                        is.com_discovery.owl_PizzaBase"
                        WARNING: frame name changed from "http://www.harris.com/discovery.owl#Pizza" to "http:__www.harris.c
                        om_discovery.owl_Pizza"
                        WARNING: frame name changed from "http://www.harris.com/discovery.owl#PizzaTopping" to "http:__www.h
                        arris.com_discovery.owl_PizzaTopping"
                        WARNING: frame name changed from "http://www.harris.com/discovery.owl#PepperoniTopping" to "http:__w
                        ww.harris.com_discovery.owl_PepperoniTopping"
                        WARNING: frame name changed from "http://www.harris.com/discovery.owl" to "http:__www.harris.com_dis
                        covery.owl"
                        null : http:__www.harris.com_discovery.owl_PizzaTopping : http://www.w3.org/2000/01/rdf-schema#subCl
                        assOf : http://protege.stanford.edu/system#http_//www.w3.org/2002/07/owl#thing
                        ============
                        null : http:__www.harris.com_discovery.owl_PizzaBase : http://www.w3.org/1999/02/22-rdf-syntax-ns#ty
                        pe : http://protege.stanford.edu/system#http_//www.w3.org/2000/01/rdf_schema#class
                        ============
                        null : http:__www.harris.com_discovery.owl_Pizza : http://www.w3.org/2000/01/rdf-schema#label : Pizz
                        a
                        ============
                        null : http:__www.harris.com_discovery.owl_Pizza : http://www.w3.org/2000/01/rdf-schema#subClassOf :
                        http://protege.stanford.edu/system#http_//www.w3.org/2002/07/owl#thing
                        ============
                        null : http:__www.harris.com_discovery.owl_PizzaTopping : http://www.w3.org/2000/01/rdf-schema#label
                        : PizzaTopping
                        ============
                        null : http:__www.harris.com_discovery.owl_PepperoniTopping : http://www.w3.org/2000/01/rdf-schema#l
                        abel : PepperoniTopping
                        ============
                        null : http:__www.harris.com_discovery.owl_PepperoniTopping : http://www.w3.org/1999/02/22-rdf-synta
                        x-ns#type : http://protege.stanford.edu/system#http_//www.w3.org/2000/01/rdf_schema#class
                        ============
                        null : http:__www.harris.com_discovery.owl_PizzaTopping : http://www.w3.org/1999/02/22-rdf-syntax-ns
                        #type : http://protege.stanford.edu/system#http_//www.w3.org/2000/01/rdf_schema#class
                        ============
                        null : http:__www.harris.com_discovery.owl_Pizza : http://www.w3.org/1999/02/22-rdf-syntax-ns#type :
                        http://protege.stanford.edu/system#http_//www.w3.org/2000/01/rdf_schema#class
                        ============
                        null : http:__www.harris.com_discovery.owl_PizzaBase : http://www.w3.org/2000/01/rdf-schema#subClass
                        Of : http://protege.stanford.edu/system#http_//www.w3.org/2002/07/owl#thing
                        ============
                        null : http:__www.harris.com_discovery.owl_PizzaBase : http://www.w3.org/2000/01/rdf-schema#label :
                        PizzaBase
                        ============
                        null : http:__www.harris.com_discovery.owl_PepperoniTopping : http://www.w3.org/2000/01/rdf-schema#s
                        ubClassOf : http:__www.harris.com_discovery.owl_PizzaTopping
                        ============
                        null : http:__www.harris.com_discovery.owl : http://www.w3.org/2000/01/rdf-schema#label : Ontology(h
                        ttp://www.harris.com/discovery.owl)
                        -------------------
                        null : http:__www.harris.com_discovery.owl : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http:
                        //protege.stanford.edu/system#http_//www.w3.org/2002/07/owl#ontology
                        -------------------
                        java.lang.NullPointerException
                        at edu.stanford.smi.protegex.storage.walker.protege.BaseNamespaces.inventAbbrev(BaseNamespac
                        es.java:169)
                        at edu.stanford.smi.protegex.storage.walker.protege.BaseNamespaces.getNamespaceMap(BaseNames
                        paces.java:149)
                        at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:417)
                        at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(ProtegeFrameWalk
                        er.java:55)
                        at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
                        at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
                        at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
                        at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
                        at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(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.AbstractButton.doClick(Unknown Source)
                        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
                        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
                        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.pumpOneEventForHierarchy(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)
                        WARNING: java.lang.NullPointerException -- OImportExportPlugin.handleErrors()

                        Edited by: user10499292 on Mar 4, 2009 11:53 AM
                        • 9. Re: Protege Plugin Problem
                          707862
                          Where would the edu.stanford.smi.protegex.rdf_backend directory be located?
                          • 10. Re: Protege Plugin Problem
                            707862
                            Disregard previous message. Didn't realize this doesn't work with all versions of Protege.
                            • 11. Re: Protege Plugin Problem
                              763681
                              Hi could you help me how to install the plugin protege for oracle, I installed but not working, I can not load data to the database from portege,

                              I have the following error

                              help me please...

                              java.sql.SQLException: Locale not recognized
                                   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:100)
                                   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:130)
                                   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:180)
                                   at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:945)
                                   at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.java:180)
                                   at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:347)
                                   at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:434)
                                   at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
                                   at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
                                   at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:772)
                                   at java.sql.DriverManager.getConnection(DriverManager.java:582)
                                   at java.sql.DriverManager.getConnection(DriverManager.java:185)
                                   at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:349)
                                   at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
                                   at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
                                   at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
                                   at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
                                   at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
                                   at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unknown Source)
                                   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
                                   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
                                   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
                                   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
                                   at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
                                   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
                                   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
                                   at java.awt.Component.processMouseEvent(Component.java:6263)
                                   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
                                   at java.awt.Component.processEvent(Component.java:6028)
                                   at java.awt.Container.processEvent(Container.java:2041)
                                   at java.awt.Component.dispatchEventImpl(Component.java:4630)
                                   at java.awt.Container.dispatchEventImpl(Container.java:2099)
                                   at java.awt.Component.dispatchEvent(Component.java:4460)
                                   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
                                   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
                                   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
                                   at java.awt.Container.dispatchEventImpl(Container.java:2085)
                                   at java.awt.Window.dispatchEventImpl(Window.java:2478)
                                   at java.awt.Component.dispatchEvent(Component.java:4460)
                                   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
                                   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
                                   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
                                   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
                                   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
                                   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
                                   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
                              null : http://protege.stanford.edu/mv#MiniVan : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http://www.w3.org/2000/01/rdf-schema#Class
                              ============
                              java.lang.NullPointerException
                                   at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:376)
                                   at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
                                   at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
                                   at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
                                   at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
                                   at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
                                   at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unknown Source)
                                   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
                                   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
                                   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
                                   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
                                   at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
                                   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
                                   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
                                   at java.awt.Component.processMouseEvent(Component.java:6263)
                                   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
                                   at java.awt.Component.processEvent(Component.java:6028)
                                   at java.awt.Container.processEvent(Container.java:2041)
                                   at java.awt.Component.dispatchEventImpl(Component.java:4630)
                                   at java.awt.Container.dispatchEventImpl(Container.java:2099)
                                   at java.awt.Component.dispatchEvent(Component.java:4460)
                                   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
                                   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
                                   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
                                   at java.awt.Container.dispatchEventImpl(Container.java:2085)
                                   at java.awt.Window.dispatchEventImpl(Window.java:2478)
                                   at java.awt.Component.dispatchEvent(Component.java:4460)
                                   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
                                   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
                                   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
                                   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
                                   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
                                   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
                                   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
                              WARNING: java.lang.NullPointerException -- OImportExportPlugin.handleErrors()
                              In saveKnowledgeBase 1
                              java.sql.SQLException: Excepción de E/S: The Network Adapter could not establish the connection
                                   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:100)
                                   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:130)
                                   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:215)
                                   at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:378)
                                   at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:434)
                                   at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
                                   at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
                                   at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:772)
                                   at java.sql.DriverManager.getConnection(DriverManager.java:582)
                                   at java.sql.DriverManager.getConnection(DriverManager.java:185)
                                   at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:349)
                                   at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
                                   at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
                                   at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
                                   at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
                                   at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
                                   at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unknown Source)
                                   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
                                   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
                                   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
                                   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
                                   at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
                                   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
                                   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
                                   at java.awt.Component.processMouseEvent(Component.java:6263)
                                   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
                                   at java.awt.Component.processEvent(Component.java:6028)
                                   at java.awt.Container.processEvent(Container.java:2041)
                                   at java.awt.Component.dispatchEventImpl(Component.java:4630)
                                   at java.awt.Container.dispatchEventImpl(Container.java:2099)
                                   at java.awt.Component.dispatchEvent(Component.java:4460)
                                   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
                                   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
                                   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
                                   at java.awt.Container.dispatchEventImpl(Container.java:2085)
                                   at java.awt.Window.dispatchEventImpl(Window.java:2478)
                                   at java.awt.Component.dispatchEvent(Component.java:4460)
                                   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
                                   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
                                   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
                                   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
                                   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
                                   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
                                   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
                              null : http://protege.stanford.edu/mv#MiniVan : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http://www.w3.org/2000/01/rdf-schema#Class
                              ============
                              java.lang.NullPointerException
                                   at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:376)
                                   at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
                                   at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
                                   at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
                                   at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
                                   at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
                                   at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unknown Source)
                                   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
                                   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
                                   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
                                   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
                                   at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
                                   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
                                   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
                                   at java.awt.Component.processMouseEvent(Component.java:6263)
                                   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
                                   at java.awt.Component.processEvent(Component.java:6028)
                                   at java.awt.Container.processEvent(Container.java:2041)
                                   at java.awt.Component.dispatchEventImpl(Component.java:4630)
                                   at java.awt.Container.dispatchEventImpl(Container.java:2099)
                                   at java.awt.Component.dispatchEvent(Component.java:4460)
                                   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
                                   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
                                   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
                                   at java.awt.Container.dispatchEventImpl(Container.java:2085)
                                   at java.awt.Window.dispatchEventImpl(Window.java:2478)
                                   at java.awt.Component.dispatchEvent(Component.java:4460)
                                   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
                                   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
                                   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
                                   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
                                   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
                                   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
                                   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
                              WARNING: java.lang.NullPointerException -- OImportExportPlugin.handleErrors()
                              • 12. Re: Protege Plugin Problem
                                792148
                                Unfortunately, 3 years later, I came to the same problem. Are you still here? Sincerely, I wish to share some experience with you. If possilble, email me: lance_1986@163.com.