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] NPE when adding superclass

Simon White swhite at catalysoft.com
Thu Sep 3 03:39:49 PDT 2009


I'm using Protege 3.4.1 build 357 and just got a NullPointerException when
trying to add a superclass to a class. I was using the classbrowser and
clicking on the 'add superclass' button on the superclasses section of the
panel.

 

Unfortunately (from a bug-fixing point of view) when I exited the
application, started it up again and tried the same thing it worked without
problems.

 

Regards,

Simon

 

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

        at
edu.stanford.smi.protege.ui.ClsInverseRelationshipPanel.addSuperclass

(Unknown Source)

        at
edu.stanford.smi.protege.ui.ClsInverseRelationshipPanel.access$200(Un

known Source)

        at
edu.stanford.smi.protege.ui.ClsInverseRelationshipPanel$2.onAdd(Unkno

wn Source)

        at edu.stanford.smi.protege.util.AddAction.actionPerformed(Unknown
Sourc

e)

        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19

95)

        at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav

a:2318)

        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel

.java:387)

        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242

)

        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL

istener.java:236)

        at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2

72)

        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:2475)

        at java.awt.Component.dispatchEvent(Component.java:4460)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)

        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre

ad.java:269)

        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.

java:184)

        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre

ad.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)

 

 

--

Dr. Simon White, Managing Director and Informatics Consultant,
Catalysoft Ltd., 11 Signet Court, Swann's Road, Cambridge CB5 8LA, UK.
email:  <mailto:swhite at catalysoft.com> swhite at catalysoft.com; tel:+44
(0)1223 363630; fax:+44 (0)1223 420844

 <http://www.catalysoft.com/> www.catalysoft.com - increasing the rate of
your software development

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20090903/f1fe4b47/attachment.html>


More information about the protege-discussion mailing list