Search Mailing List Archives
[protege-discussion] Exception in Project>Configure
Tania Tudorache
tudorache at stanford.edu
Thu Nov 9 11:53:49 PST 2006
Thomas,
Thank you very much for the bug report. This behavior only seems to
appear on MacOS, because it does not have a Protege.lax file in the
installation directory as in Linux or Windows. I have made the fix,
which will be available in the next beta.
Tania
Thomas Russ wrote:
> Meta question: Is this the proper forum for reports like this?
>
> Using Protege 3.2 stable release, I am getting an exception
> when using the Project>Configure menu item. When dismissing
> the dialog via the "OK" button, a NullPointerException is
> thrown by the Java code.
>
> MacOS X 10.4.8.
> CONFIG: Protege 3.2 Build 355, JVM 1.5.0_06-112, memory=99M, Mac OS
> X, encoding=UTF-8, language=en, country=US
>
> This error is easy to reproduce. Either create a new project
> or open the existing newspaper project. Choose Project>Configure
> and then immediately push the "OK" button. The Exception that
> is generated is listed below.
>
> Other observations:
> Pushing "Cancel" seems to work fine. Also, any changes made in
> the dialog also are recorded, but the dialog fails to dismiss on
> the OK button.
>
> This leads to the following work-around:
> Make configuration changes, press the "OK" button and then
> the "Cancel" button. The OK accepts the changes but the dialog
> remains. The Cancel button doesn't do anything but dismisses
> the dialog.
>
> INFO: Load time for file:/Applications/Protege_3.2/examples/newspaper/
> newspaper.pprj = 6 sec (project) + 3 sec (ui)
> SEVERE: Uncaught Exception -- java.lang.NullPointerException
> at
> edu.stanford.smi.protege.ui.ConfigureProtegePropertiesPanel.saveContents
> (Unknown Source)
> at edu.stanford.smi.protege.util.ValidatableTabComponent.saveContents
> (Unknown Source)
> at edu.stanford.smi.protege.util.ModalDialog.attemptClose(Unknown
> Source)
> at edu.stanford.smi.protege.util.ModalDialog$1.actionPerformed
> (Unknown Source)
> at javax.swing.AbstractButton.fireActionPerformed
> (AbstractButton.java:1882)
> at javax.swing.AbstractButton$Handler.actionPerformed
> (AbstractButton.java:2202)
> at javax.swing.DefaultButtonModel.fireActionPerformed
> (DefaultButtonModel.java:420)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:
> 258)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
> (BasicButtonListener.java:234)
> at java.awt.Component.processMouseEvent(Component.java:5554)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
> at java.awt.Component.processEvent(Component.java:5319)
> at java.awt.Container.processEvent(Container.java:2010)
> at java.awt.Component.dispatchEventImpl(Component.java:4021)
> at java.awt.Container.dispatchEventImpl(Container.java:2068)
> at java.awt.Component.dispatchEvent(Component.java:3869)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
> 4256)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
> 3936)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
> at java.awt.Container.dispatchEventImpl(Container.java:2054)
> at java.awt.Window.dispatchEventImpl(Window.java:1774)
> at java.awt.Component.dispatchEvent(Component.java:3869)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy
> (EventDispatchThread.java:269)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy
> (EventDispatchThread.java:190)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy
> (EventDispatchThread.java:180)
> at java.awt.Dialog$1.run(Dialog.java:515)
> at java.awt.Dialog.show(Dialog.java:536)
> at java.awt.Component.show(Component.java:1300)
> at java.awt.Component.setVisible(Component.java:1253)
> at edu.stanford.smi.protege.util.ModalDialog.init(Unknown Source)
> at edu.stanford.smi.protege.util.ModalDialog.<init>(Unknown Source)
> at edu.stanford.smi.protege.util.ModalDialog.showDialog(Unknown Source)
> at edu.stanford.smi.protege.util.ModalDialog.showDialog(Unknown Source)
> at edu.stanford.smi.protege.util.ModalDialog.showDialog(Unknown Source)
> at edu.stanford.smi.protege.ui.ProjectManager.configureProjectRequest
> (Unknown Source)
> at edu.stanford.smi.protege.action.ConfigureProject.actionPerformed
> (Unknown Source)
> at javax.swing.AbstractButton.fireActionPerformed
> (AbstractButton.java:1882)
> at javax.swing.AbstractButton$Handler.actionPerformed
> (AbstractButton.java:2202)
> at javax.swing.DefaultButtonModel.fireActionPerformed
> (DefaultButtonModel.java:420)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:
> 258)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick
> (BasicMenuItemUI.java:1000)
> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased
> (BasicMenuItemUI.java:1041)
> at java.awt.Component.processMouseEvent(Component.java:5554)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
> at java.awt.Component.processEvent(Component.java:5319)
> at java.awt.Container.processEvent(Container.java:2010)
> at java.awt.Component.dispatchEventImpl(Component.java:4021)
> at java.awt.Container.dispatchEventImpl(Container.java:2068)
> at java.awt.Component.dispatchEvent(Component.java:3869)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
> 4256)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
> 3936)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
> at java.awt.Container.dispatchEventImpl(Container.java:2054)
> at java.awt.Window.dispatchEventImpl(Window.java:1774)
> at java.awt.Component.dispatchEvent(Component.java:3869)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy
> (EventDispatchThread.java:269)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy
> (EventDispatchThread.java:190)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
> 184)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
> 176)
> 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