Null Pointer in Protege GUI

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

Null Pointer in Protege GUI

JMiller

I searched the bugs listed on the Protege site for "ShadowPopup" with no hits, so I'll assume that I hit a new one.
(I apologize if I am reporting a known problem)

Version:  Protege 3.2, build 311, Protege/OWL plugin 2.2, build 307, Java build 1.5.0_04-b05

I mistakenly added a new property with a maxCardinality of 1, and I was attempting to bring the Property
GUI up to change it to a fixed cardinality of 1.  The Protege GUI hung (the dialog did not appear at all),
and every time I moved the mouse, I got the following error:


Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jgoodies.looks.common.ShadowPopup.hide(ShadowPopup.java:156)
        at javax.swing.ToolTipManager.hideTipWindow(ToolTipManager.java:317)
        at javax.swing.ToolTipManager.mouseExited(ToolTipManager.java:542)
        at java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:252
)
        at java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:251
)
        at java.awt.Component.processMouseEvent(Component.java:5494)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
)
        at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:400
9)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3874)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        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)
               
Reply | Threaded
Open this post in threaded view
|

Re: Null Pointer in Protege GUI

Nick Drummond
James,

Thanks for the bug report. Has this happened more than once?
I cannot reproduce this on my current version - two questions:
    1) What do you mean by "bring the Property GUI up to change it to a
fixed cardinality of 1"
    2) Did you have the prose generator turned on (in the help menu)
when this happened?
Reported on low priority [1]

Cheers

Nick

[1] http://www.co-ode.org/mantis/view.php?id=477

James A Miller wrote:

>
> I searched the bugs listed on the Protege site for "ShadowPopup" with
> no hits, so I'll assume that I hit a new one.
> (I apologize if I am reporting a known problem)
>
> Version:  Protege 3.2, build 311, Protege/OWL plugin 2.2, build 307,
> Java build 1.5.0_04-b05
>
> I mistakenly added a new property with a maxCardinality of 1, and I
> was attempting to bring the Property
> GUI up to change it to a fixed cardinality of 1.  The Protege GUI hung
> (the dialog did not appear at all),
> and every time I moved the mouse, I got the following error:
>
>
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>         at
> com.jgoodies.looks.common.ShadowPopup.hide(ShadowPopup.java:156)
>         at
> javax.swing.ToolTipManager.hideTipWindow(ToolTipManager.java:317)
>         at
> javax.swing.ToolTipManager.mouseExited(ToolTipManager.java:542)
>         at
> java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:252
> )
>         at
> java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:251
> )
>         at java.awt.Component.processMouseEvent(Component.java:5494)
>         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
>         at java.awt.Component.processEvent(Component.java:5253)
>         at java.awt.Container.processEvent(Container.java:1966)
>         at java.awt.Component.dispatchEventImpl(Component.java:3955)
>         at java.awt.Container.dispatchEventImpl(Container.java:2024)
>         at java.awt.Component.dispatchEvent(Component.java:3803)
>         at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
> )
>         at
> java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:400
> 9)
>         at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3874)
>
>         at
> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
>         at java.awt.Container.dispatchEventImpl(Container.java:2010)
>         at java.awt.Window.dispatchEventImpl(Window.java:1774)
>         at java.awt.Component.dispatchEvent(Component.java:3803)
>         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)
>                

--

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: Null Pointer in Protege GUI

JMiller

I have updated my Protege version since that error, and I wasn't able to reproduce the original problem, either.

However, when trying to reproduce it,  I received the following (and the subject of this message will still be correct):

Create a new class, add a datatype property, set maxCardinality, then delete maxCardinality.  The console shows:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at edu.stanford.smi.protegex.owl.ui.clsproperties.RestrictionTreeNode.getOperatorName(Unknown Source)
        at edu.stanford.smi.protegex.owl.ui.clsproperties.PropertyRestrictionsTreeRenderer.load(Unknown Source)
        at edu.stanford.smi.protege.util.DefaultRenderer.setup(Unknown Source)
        at edu.stanford.smi.protege.util.DefaultRenderer.getTreeCellRendererComponent(Unknown Source)
        at edu.stanford.smi.protegex.owl.ui.clsproperties.PropertyRestrictionsTreeRenderer.getTreeCellRendererComponent(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2653)
        at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
        at javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:535)
        at javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:169)
        at javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:501)
        at javax.swing.plaf.basic.BasicTreeUI.paintVerticalPartOfLeg(BasicTreeUI.java:1291)
        at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1123)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
        at javax.swing.JComponent.paintComponent(JComponent.java:742)
        at javax.swing.JComponent.paint(JComponent.java:1005)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JViewport.paint(JViewport.java:728)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JViewport.paint(JViewport.java:728)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintChildren(JComponent.java:842)
        at javax.swing.JComponent.paint(JComponent.java:1014)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)

        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)

        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)

Jim Miller
Sr Software Engineer II, IIS
Raytheon Company

1200 S. Jupiter Road
Garland, TX  75042
972.205.4233 office
972.342.8585 mobile
[hidden email]



Nick Drummond <[hidden email]>
Sent by: [hidden email]

04/11/2006 09:34 AM

Please respond to
[hidden email]

To
[hidden email]
cc
Subject
[protege-owl] Re: Null Pointer in Protege GUI





James,

Thanks for the bug report. Has this happened more than once?
I cannot reproduce this on my current version - two questions:
   1) What do you mean by "bring the Property GUI up to change it to a
fixed cardinality of 1"
   2) Did you have the prose generator turned on (in the help menu)
when this happened?
Reported on low priority [1]

Cheers

Nick

[1] http://www.co-ode.org/mantis/view.php?id=477

James A Miller wrote:
>
> I searched the bugs listed on the Protege site for "ShadowPopup" with
> no hits, so I'll assume that I hit a new one.
> (I apologize if I am reporting a known problem)
>
> Version:  Protege 3.2, build 311, Protege/OWL plugin 2.2, build 307,
> Java build 1.5.0_04-b05
>
> I mistakenly added a new property with a maxCardinality of 1, and I
> was attempting to bring the Property
> GUI up to change it to a fixed cardinality of 1.  The Protege GUI hung
> (the dialog did not appear at all),
> and every time I moved the mouse, I got the following error:
>
>
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>         at
> com.jgoodies.looks.common.ShadowPopup.hide(ShadowPopup.java:156)
>         at
> javax.swing.ToolTipManager.hideTipWindow(ToolTipManager.java:317)
>         at
> javax.swing.ToolTipManager.mouseExited(ToolTipManager.java:542)
>         at
> java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:252
> )
>         at
> java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:251
> )
>         at java.awt.Component.processMouseEvent(Component.java:5494)
>         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
>         at java.awt.Component.processEvent(Component.java:5253)
>         at java.awt.Container.processEvent(Container.java:1966)
>         at java.awt.Component.dispatchEventImpl(Component.java:3955)
>         at java.awt.Container.dispatchEventImpl(Container.java:2024)
>         at java.awt.Component.dispatchEvent(Component.java:3803)
>         at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
> )
>         at
> java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:400
> 9)
>         at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3874)
>
>         at
> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
>         at java.awt.Container.dispatchEventImpl(Container.java:2010)
>         at java.awt.Window.dispatchEventImpl(Window.java:1774)
>         at java.awt.Component.dispatchEvent(Component.java:3803)
>         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)
>                

--

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: Null Pointer in Protege GUI

Nick Drummond
James,

Thanks for the report [1]

Nick

[1] http://www.co-ode.org/mantis/view.php?id=486

James A Miller wrote:

>
> I have updated my Protege version since that error, and I wasn't able
> to reproduce the original problem, either.
>
> However, when trying to reproduce it,  I received the following (and
> the subject of this message will still be correct):
>
> Create a new class, add a datatype property, set maxCardinality, then
> delete maxCardinality.  The console shows:
>
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>         at
> edu.stanford.smi.protegex.owl.ui.clsproperties.RestrictionTreeNode.getOperatorName(Unknown
> Source)
>         at
> edu.stanford.smi.protegex.owl.ui.clsproperties.PropertyRestrictionsTreeRenderer.load(Unknown
> Source)
>         at edu.stanford.smi.protege.util.DefaultRenderer.setup(Unknown
> Source)
>         at
> edu.stanford.smi.protege.util.DefaultRenderer.getTreeCellRendererComponent(Unknown
> Source)
>         at
> edu.stanford.smi.protegex.owl.ui.clsproperties.PropertyRestrictionsTreeRenderer.getTreeCellRendererComponent(Unknown
> Source)
>         at
> javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2653)
>
>         at
> javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
>
>         at
> javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:535)
>
>         at
> javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:169)
>
>         at
> javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:501)
>         at
> javax.swing.plaf.basic.BasicTreeUI.paintVerticalPartOfLeg(BasicTreeUI.java:1291)
>
>         at
> javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1123)
>         at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
>         at javax.swing.JComponent.paintComponent(JComponent.java:742)
>         at javax.swing.JComponent.paint(JComponent.java:1005)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JViewport.paint(JViewport.java:728)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at
> edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at
> edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at
> edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at
> edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at
> edu.stanford.smi.protege.widget.AbstractWidget.paint(Unknown Source)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JViewport.paint(JViewport.java:728)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at javax.swing.JComponent.paintChildren(JComponent.java:842)
>         at javax.swing.JComponent.paint(JComponent.java:1014)
>         at
> javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
>
>         at
> javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
>         at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
>         at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
>         at
> javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
>
>         at
> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
>
>         at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
>         at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
>
>         at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
>
> Jim Miller
> Sr Software Engineer II, IIS
> Raytheon Company
>
> 1200 S. Jupiter Road
> Garland, TX  75042
> 972.205.4233 office
> 972.342.8585 mobile
> [hidden email]
>
>
> *Nick Drummond <[hidden email]>*
> Sent by: [hidden email]
>
> 04/11/2006 09:34 AM
> Please respond to
> [hidden email]
>
>
>
> To
> [hidden email]
> cc
>
> Subject
> [protege-owl] Re: Null Pointer in Protege GUI
>
>
>
>
>
>
>
>
>
> James,
>
> Thanks for the bug report. Has this happened more than once?
> I cannot reproduce this on my current version - two questions:
>    1) What do you mean by "bring the Property GUI up to change it to a
> fixed cardinality of 1"
>    2) Did you have the prose generator turned on (in the help menu)
> when this happened?
> Reported on low priority [1]
>
> Cheers
>
> Nick
>
> [1] http://www.co-ode.org/mantis/view.php?id=477
>
> James A Miller wrote:
> >
> > I searched the bugs listed on the Protege site for "ShadowPopup" with
> > no hits, so I'll assume that I hit a new one.
> > (I apologize if I am reporting a known problem)
> >
> > Version:  Protege 3.2, build 311, Protege/OWL plugin 2.2, build 307,
> > Java build 1.5.0_04-b05
> >
> > I mistakenly added a new property with a maxCardinality of 1, and I
> > was attempting to bring the Property
> > GUI up to change it to a fixed cardinality of 1.  The Protege GUI hung
> > (the dialog did not appear at all),
> > and every time I moved the mouse, I got the following error:
> >
> >
> > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> >         at
> > com.jgoodies.looks.common.ShadowPopup.hide(ShadowPopup.java:156)
> >         at
> > javax.swing.ToolTipManager.hideTipWindow(ToolTipManager.java:317)
> >         at
> > javax.swing.ToolTipManager.mouseExited(ToolTipManager.java:542)
> >         at
> > java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:252
> > )
> >         at
> > java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:251
> > )
> >         at java.awt.Component.processMouseEvent(Component.java:5494)
> >         at
> javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
> >         at java.awt.Component.processEvent(Component.java:5253)
> >         at java.awt.Container.processEvent(Container.java:1966)
> >         at java.awt.Component.dispatchEventImpl(Component.java:3955)
> >         at java.awt.Container.dispatchEventImpl(Container.java:2024)
> >         at java.awt.Component.dispatchEvent(Component.java:3803)
> >         at
> > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
> > )
> >         at
> > java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:400
> > 9)
> >         at
> > java.awt.LightweightDispatcher.processMouseEvent(Container.java:3874)
> >
> >         at
> > java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> >         at java.awt.Container.dispatchEventImpl(Container.java:2010)
> >         at java.awt.Window.dispatchEventImpl(Window.java:1774)
> >         at java.awt.Component.dispatchEvent(Component.java:3803)
> >         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)
> >                
>
> --
>
> 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
>
>

--

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