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] Prompt tab fails SEVERE: No mapping for facet null

Tania Tudorache tudorache at stanford.edu
Mon Feb 11 16:30:05 PST 2008


Can you send us the project files to reproduce this behavior?

Otherwise, it is very hard to debug this problem.

Thanks,
Tania

protege at ontospace.net wrote:
> Hi, 
>
> I am trying to extract portion of my frame ontology into new project using prompt. After successfully importing my custom facets Prompt stubles on facet "null". What is the meaning of the exception below?
>
> Thanks 
>
> ...
> CONFIG: PROMPT: Loaded plugin edu.stanford.smi.protegex.promptx.umls.UMLSPlugin
> - Using UMLS concept identifiers for matching
> INFO: Prompt version 3.0
> INFO: Prompt version date: August 8, 2006
> Loaded knowledge bases:  MPCS
> INFO: url: jar:file:/C:/Program%20Files/Protege_3.4/plugins/edu.stanford.smi.pro
> tegex.prompt/prompt.jar!/projects/views.pprj
> Done!Sun Feb 10 14:47:53 EST 2008
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 1: COPY CLASS test- PARAMS:
> , Slot(:DIRECT-INSTANCES):inf, Slot(:DIRECT-SUBCLASSES):inf
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 2: COPY CLASS test-_1 PARAMS
> : , Slot(:DIRECT-SUBCLASSES):2147483647, Slot(:DIRECT-INSTANCES):2147483647
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 3: COPY CLASS test PARAMS:
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 4: COPY SLOT :SIGN PARAMS:
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 5: COPY SLOT :INIT PARAMS:
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 6: COPY SLOT :ARGS PARAMS:
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 7: COPY SLOT .ADDRESSID PARA
> MS: , Slot(:DIRECT-SUBCLASSES):2147483647, Slot(:DIRECT-INSTANCES):2147483647
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 8: COPY CLASS Ref PARAMS:
> Performing operation Sun Feb 10 14:49:56 EST 2008 : 9: COPY SLOT :OBO PARAMS:
> SEVERE: No mapping for facet null -- Operation.copyUserDefinedTemplateFacets()
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>         at edu.stanford.smi.protege.model.DefaultKnowledgeBase.setDirectTemplate
> FacetValues(Unknown Source)
>         at edu.stanford.smi.protege.model.DefaultKnowledgeBase.setTemplateFacetV
> alues(Unknown Source)
>         at edu.stanford.smi.protege.model.DefaultCls.setTemplateFacetValues(Unkn
> own Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copyUserDefinedT
> emplateFacets(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copyTemplateSlot
> Attributes(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copySlotAttachme
> ntInformation(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copySlots(Un
> known Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copyTemplate
> Slots(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copyFrame(Un
> known Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.actualOperat
> ion(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.performOperation
> (Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copyTree(Unk
> nown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.actualOperat
> ion(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.performOperation
> (Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane.performAct
> ion(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane.access$000
> (Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane$1.actionPe
> rformed(Unknown Source)
>         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
> 49)
>         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
> a:2169)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
> .java:420)
>         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
> )
>         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
> istener.java:236)
>         at java.awt.Component.processMouseEvent(Component.java:5517)
>         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
>         at java.awt.Component.processEvent(Component.java:5282)
>         at java.awt.Container.processEvent(Container.java:1966)
>         at java.awt.Component.dispatchEventImpl(Component.java:3984)
>         at java.awt.Container.dispatchEventImpl(Container.java:2024)
>         at java.awt.Component.dispatchEvent(Component.java:3819)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
> )
>         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
>
>         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
>         at java.awt.Container.dispatchEventImpl(Container.java:2010)
>         at java.awt.Window.dispatchEventImpl(Window.java:1791)
>         at java.awt.Component.dispatchEvent(Component.java:3819)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:242)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:163)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
>
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
>
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Performing operation Sun Feb 10 14:50:38 EST 2008 : 10: COPY CLASS nurse- PARAMS
> : , Slot(:DIRECT-INSTANCES):inf, Slot(:DIRECT-SUBCLASSES):inf
> Performing operation Sun Feb 10 14:50:38 EST 2008 : 11: COPY CLASS nurse-_1 PARA
> MS: , Slot(:DIRECT-SUBCLASSES):2147483647, Slot(:DIRECT-INSTANCES):2147483647
> Performing operation Sun Feb 10 14:50:38 EST 2008 : 12: COPY CLASS nurse PARAMS:
>
> Performing operation Sun Feb 10 14:50:38 EST 2008 : 13: COPY SLOT .EFFECTIVEDATE
>  PARAMS: , Slot(:DIRECT-SUBCLASSES):2147483647, Slot(:DIRECT-INSTANCES):21474836
> 47
> SEVERE: No mapping for facet null -- Operation.copyUserDefinedTemplateFacets()
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>         at edu.stanford.smi.protege.model.DefaultKnowledgeBase.setDirectTemplate
> FacetValues(Unknown Source)
>         at edu.stanford.smi.protege.model.DefaultKnowledgeBase.setTemplateFacetV
> alues(Unknown Source)
>         at edu.stanford.smi.protege.model.DefaultCls.setTemplateFacetValues(Unkn
> own Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copyUserDefinedT
> emplateFacets(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copyTemplateSlot
> Attributes(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copySlotAttachme
> ntInformation(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copySlots(Un
> known Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copyTemplate
> Slots(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copyFrame(Un
> known Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.actualOperat
> ion(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.performOperation
> (Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copyTree(Unk
> nown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.actualOperat
> ion(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.performOperation
> (Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane.performAct
> ion(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane.access$000
> (Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane$1.actionPe
> rformed(Unknown Source)
>         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
> 49)
>         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
> a:2169)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
> .java:420)
>         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
> )
>         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
> istener.java:236)
>         at java.awt.Component.processMouseEvent(Component.java:5517)
>         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
>         at java.awt.Component.processEvent(Component.java:5282)
>         at java.awt.Container.processEvent(Container.java:1966)
>         at java.awt.Component.dispatchEventImpl(Component.java:3984)
>         at java.awt.Container.dispatchEventImpl(Container.java:2024)
>         at java.awt.Component.dispatchEvent(Component.java:3819)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
> )
>         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
>
>         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
>         at java.awt.Container.dispatchEventImpl(Container.java:2010)
>         at java.awt.Window.dispatchEventImpl(Window.java:1791)
>         at java.awt.Component.dispatchEvent(Component.java:3819)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:242)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:163)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
>
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
>
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Performing operation Sun Feb 10 14:51:03 EST 2008 : 14: COPY CLASS nurse-_2 PARA
> MS: , Slot(:DIRECT-INSTANCES):inf, Slot(:DIRECT-SUBCLASSES):inf
> SEVERE: No mapping for facet null -- Operation.copyUserDefinedTemplateFacets()
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>         at edu.stanford.smi.protege.model.DefaultKnowledgeBase.setDirectTemplate
> FacetValues(Unknown Source)
>         at edu.stanford.smi.protege.model.DefaultKnowledgeBase.setTemplateFacetV
> alues(Unknown Source)
>         at edu.stanford.smi.protege.model.DefaultCls.setTemplateFacetValues(Unkn
> own Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copyUserDefinedT
> emplateFacets(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copyTemplateSlot
> Attributes(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.copySlotAttachme
> ntInformation(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copySlots(Un
> known Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copyTemplate
> Slots(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.copyFrame(Un
> known Source)
>         at edu.stanford.smi.protegex.prompt.operation.CopyOperation.actualOperat
> ion(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.operation.Operation.performOperation
> (Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane.performAct
> ion(Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane.access$000
> (Unknown Source)
>         at edu.stanford.smi.protegex.prompt.ui.CreateNewOperationPane$1.actionPe
> rformed(Unknown Source)
>         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
> 49)
>         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
> a:2169)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
> .java:420)
>         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
> )
>         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
> istener.java:236)
>         at java.awt.Component.processMouseEvent(Component.java:5517)
>         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
>         at java.awt.Component.processEvent(Component.java:5282)
>         at java.awt.Container.processEvent(Container.java:1966)
>         at java.awt.Component.dispatchEventImpl(Component.java:3984)
>         at java.awt.Container.dispatchEventImpl(Container.java:2024)
>         at java.awt.Component.dispatchEvent(Component.java:3819)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
> )
>         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
>
>         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
>         at java.awt.Container.dispatchEventImpl(Container.java:2010)
>         at java.awt.Window.dispatchEventImpl(Window.java:1791)
>         at java.awt.Component.dispatchEvent(Component.java:3819)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:242)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:163)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
>
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
>
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>
>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>
>   




More information about the protege-discussion mailing list