Menu failure bug in v 3.2 under MacOS 10.4

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

Menu failure bug in v 3.2 under MacOS 10.4

Eric Neumann-3


I just installed Protege 3.2b (7.0) on a PowerBook G4 with MacOS 10.4  
and with JDK 1.5, J2SE 5.0, and though it starts OK and allows  
editing ontologies through the window tools, none of the window menus  
respond (they don't even drop open).  Unfortunately, this severely  
constrains what I can do with Protege.

Clicking on any menu tab throws the following exception originating  
from apple's ScreenPopuUpFactory:

> apple.awt.EventQueueExceptionHandler Caught Throwable :  
> java.lang.NullPointerException
> java.lang.NullPointerException
>     at apple.laf.ScreenPopupFactory.getPopup
> (ScreenPopupFactory.java:38)
>     at com.jgoodies.looks.common.ShadowPopupFactory.getPopup
> (ShadowPopupFactory.java:135)
>     at javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:44)
>     at javax.swing.JPopupMenu.getPopup(JPopupMenu.java:839)
>     at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:789)
>     at javax.swing.JPopupMenu.show(JPopupMenu.java:956)
>     at javax.swing.JMenu.setPopupMenuVisible(JMenu.java:320)
>     at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:
> 1468)
>     at javax.swing.MenuSelectionManager.setSelectedPath
> (MenuSelectionManager.java:89)
>     at javax.swing.plaf.basic.BasicMenuUI.appendPath
> (BasicMenuUI.java:217)
>     at javax.swing.plaf.basic.BasicMenuUI.access$200
> (BasicMenuUI.java:32)
>     at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed
> (BasicMenuUI.java:457)
>     at java.awt.AWTEventMulticaster.mousePressed
> (AWTEventMulticaster.java:221)
>     at java.awt.Component.processMouseEvent(Component.java:5559)
>     at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
>     at java.awt.Component.processEvent(Component.java:5327)
>     at java.awt.Container.processEvent(Container.java:2010)
>     at java.awt.Component.dispatchEventImpl(Component.java:4029)
>     at java.awt.Container.dispatchEventImpl(Container.java:2068)
>     at java.awt.Component.dispatchEvent(Component.java:3877)
>     at java.awt.LightweightDispatcher.retargetMouseEvent
> (Container.java:4256)
>     at java.awt.LightweightDispatcher.processMouseEvent
> (Container.java:3933)
>     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
> 3866)
>     at java.awt.Container.dispatchEventImpl(Container.java:2054)
>     at java.awt.Window.dispatchEventImpl(Window.java:1766)
>     at java.awt.Component.dispatchEvent(Component.java:3877)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>     at java.awt.EventDispatchThread.pumpOneEventForHierarchy
> (EventDispatchThread.java:267)
>     at java.awt.EventDispatchThread.pumpEventsForHierarchy
> (EventDispatchThread.java:196)
>     at java.awt.EventDispatchThread.pumpEvents
> (EventDispatchThread.java:190)
>     at java.awt.EventDispatchThread.pumpEvents
> (EventDispatchThread.java:182)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

I have 2 questions:

1) Has anyone else seen this kind of problem before in Protege?
2) If so, do you know of any fixes for it?

Would appreciate any suggestions, since this has been affecting me  
for over a week, and I may soon have to go with another ontology  
editor...

thanks,
Eric


-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

Re: Menu failure bug in v 3.2 under MacOS 10.4

Doug Holmes

Hi Eric,
        I have pretty much the same setup and I remember a similar  
experience [a long time ago].  I think the solution was to select  
"Mac OS X" in the "Window| Set Look and Feel" menu on the Mac  
toolbar.  You can also edit the protege.properties file with  
[ swing.defaultlaf=apple.laf.AquaLookAndFeel ] See if that helps.
Doug

On Jun 30, 2006, at 2:53 PM, Eric Neumann wrote:

>
>
> I just installed Protege 3.2b (7.0) on a PowerBook G4 with MacOS 10.4
> and with JDK 1.5, J2SE 5.0, and though it starts OK and allows
> editing ontologies through the window tools, none of the window menus
> respond (they don't even drop open).  Unfortunately, this severely
> constrains what I can do with Protege.
>
> Clicking on any menu tab throws the following exception originating
> from apple's ScreenPopuUpFactory:
>
>> apple.awt.EventQueueExceptionHandler Caught Throwable :
>> java.lang.NullPointerException
>> java.lang.NullPointerException
>>     at apple.laf.ScreenPopupFactory.getPopup
>> (ScreenPopupFactory.java:38)
>>     at com.jgoodies.looks.common.ShadowPopupFactory.getPopup
>> (ShadowPopupFactory.java:135)
>>     at javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:44)
>>     at javax.swing.JPopupMenu.getPopup(JPopupMenu.java:839)
>>     at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:789)
>>     at javax.swing.JPopupMenu.show(JPopupMenu.java:956)
>>     at javax.swing.JMenu.setPopupMenuVisible(JMenu.java:320)
>>     at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:
>> 1468)
>>     at javax.swing.MenuSelectionManager.setSelectedPath
>> (MenuSelectionManager.java:89)
>>     at javax.swing.plaf.basic.BasicMenuUI.appendPath
>> (BasicMenuUI.java:217)
>>     at javax.swing.plaf.basic.BasicMenuUI.access$200
>> (BasicMenuUI.java:32)
>>     at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed
>> (BasicMenuUI.java:457)
>>     at java.awt.AWTEventMulticaster.mousePressed
>> (AWTEventMulticaster.java:221)
>>     at java.awt.Component.processMouseEvent(Component.java:5559)
>>     at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
>>     at java.awt.Component.processEvent(Component.java:5327)
>>     at java.awt.Container.processEvent(Container.java:2010)
>>     at java.awt.Component.dispatchEventImpl(Component.java:4029)
>>     at java.awt.Container.dispatchEventImpl(Container.java:2068)
>>     at java.awt.Component.dispatchEvent(Component.java:3877)
>>     at java.awt.LightweightDispatcher.retargetMouseEvent
>> (Container.java:4256)
>>     at java.awt.LightweightDispatcher.processMouseEvent
>> (Container.java:3933)
>>     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
>> 3866)
>>     at java.awt.Container.dispatchEventImpl(Container.java:2054)
>>     at java.awt.Window.dispatchEventImpl(Window.java:1766)
>>     at java.awt.Component.dispatchEvent(Component.java:3877)
>>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>>     at java.awt.EventDispatchThread.pumpOneEventForHierarchy
>> (EventDispatchThread.java:267)
>>     at java.awt.EventDispatchThread.pumpEventsForHierarchy
>> (EventDispatchThread.java:196)
>>     at java.awt.EventDispatchThread.pumpEvents
>> (EventDispatchThread.java:190)
>>     at java.awt.EventDispatchThread.pumpEvents
>> (EventDispatchThread.java:182)
>>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>
> I have 2 questions:
>
> 1) Has anyone else seen this kind of problem before in Protege?
> 2) If so, do you know of any fixes for it?
>
> Would appreciate any suggestions, since this has been affecting me
> for over a week, and I may soon have to go with another ontology
> editor...
>
> thanks,
> Eric
>
>
> ----------------------------------------------------------------------
> ---
> To unsubscribe go to http://protege.stanford.edu/community/ 
> subscribe.html
>
>

-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html

Reply | Threaded
Open this post in threaded view
|

Re: Menu failure bug in v 3.2 under MacOS 10.4

Eric Neumann-3
In reply to this post by Eric Neumann-3

Doug,

The last suggestion seem to have done it-- The menus now appear on  
the MacOS menu bar...

Thank you very much!

Eric

Doug Holmes <dholmes <at> ez2.net> writes:

 >
 >
 > Hi Eric,
 > I have pretty much the same setup and I remember a similar
 > experience [a long time ago].  I think the solution was to select
 > "Mac OS X" in the "Window| Set Look and Feel" menu on the Mac
 > toolbar.  You can also edit the protege.properties file with
 > [ swing.defaultlaf=apple.laf.AquaLookAndFeel ] See if that helps.
 > Doug
 >
 > On Jun 30, 2006, at 2:53 PM, Eric Neumann wrote:
 >
 > >
 > >
 > > I just installed Protege 3.2b (7.0) on a PowerBook G4 with MacOS  
10.4
 > > and with JDK 1.5, J2SE 5.0, and though it starts OK and allows
 > > editing ontologies through the window tools, none of the window  
menus
 > > respond (they don't even drop open).  Unfortunately, this severely
 > > constrains what I can do with Protege.
 > >
 > > Clicking on any menu tab throws the following exception originating
 > > from apple's ScreenPopuUpFactory:
 > >
 > >> apple.awt.EventQueueExceptionHandler Caught Throwable :
 > >> java.lang.NullPointerException
 > >> java.lang.NullPointerException
 > >>     at apple.laf.ScreenPopupFactory.getPopup
 > >> (ScreenPopupFactory.java:38)
 > >>     at com.jgoodies.looks.common.ShadowPopupFactory.getPopup
 > >> (ShadowPopupFactory.java:135)
 > >>     at javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:44)
 > >>     at javax.swing.JPopupMenu.getPopup(JPopupMenu.java:839)
 > >>     at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:789)
 > >>     at javax.swing.JPopupMenu.show(JPopupMenu.java:956)
 > >>     at javax.swing.JMenu.setPopupMenuVisible(JMenu.java:320)
 > >>     at javax.swing.JPopupMenu.menuSelectionChanged
(JPopupMenu.java:
 > >> 1468)
 > >>     at javax.swing.MenuSelectionManager.setSelectedPath
 > >> (MenuSelectionManager.java:89)
 > >>     at javax.swing.plaf.basic.BasicMenuUI.appendPath
 > >> (BasicMenuUI.java:217)
 > >>     at javax.swing.plaf.basic.BasicMenuUI.access$200
 > >> (BasicMenuUI.java:32)
 > >>     at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed
 > >> (BasicMenuUI.java:457)
 > >>     at java.awt.AWTEventMulticaster.mousePressed
 > >> (AWTEventMulticaster.java:221)
 > >>     at java.awt.Component.processMouseEvent(Component.java:5559)
 > >>     at javax.swing.JComponent.processMouseEvent(JComponent.java:
3093)
 > >>     at java.awt.Component.processEvent(Component.java:5327)
 > >>     at java.awt.Container.processEvent(Container.java:2010)
 > >>     at java.awt.Component.dispatchEventImpl(Component.java:4029)
 > >>     at java.awt.Container.dispatchEventImpl(Container.java:2068)
 > >>     at java.awt.Component.dispatchEvent(Component.java:3877)
 > >>     at java.awt.LightweightDispatcher.retargetMouseEvent
 > >> (Container.java:4256)
 > >>     at java.awt.LightweightDispatcher.processMouseEvent
 > >> (Container.java:3933)
 > >>     at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:
 > >> 3866)
 > >>     at java.awt.Container.dispatchEventImpl(Container.java:2054)
 > >>     at java.awt.Window.dispatchEventImpl(Window.java:1766)
 > >>     at java.awt.Component.dispatchEvent(Component.java:3877)
 > >>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
 > >>     at java.awt.EventDispatchThread.pumpOneEventForHierarchy
 > >> (EventDispatchThread.java:267)
 > >>     at java.awt.EventDispatchThread.pumpEventsForHierarchy
 > >> (EventDispatchThread.java:196)
 > >>     at java.awt.EventDispatchThread.pumpEvents
 > >> (EventDispatchThread.java:190)
 > >>     at java.awt.EventDispatchThread.pumpEvents
 > >> (EventDispatchThread.java:182)
 > >>     at java.awt.EventDispatchThread.run
(EventDispatchThread.java:110)
 > >
 > > I have 2 questions:
 > >
 > > 1) Has anyone else seen this kind of problem before in Protege?
 > > 2) If so, do you know of any fixes for it?
 > >
 > > Would appreciate any suggestions, since this has been affecting me
 > > for over a week, and I may soon have to go with another ontology
 > > editor...
 > >
 > > thanks,
 > > Eric
 > >
 > >
 > >  
----------------------------------------------------------------------
 > > ---
 > > To unsubscribe go to http://protege.stanford.edu/community/
 > > subscribe.html
 > >
 > >
 >
 >  
------------------------------------------------------------------------
-
 > To unsubscribe go to http://protege.stanford.edu/community/ 
subscribe.html
 >
 >




-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html