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    

[p4-feedback] Null pointer exception when changing the active ontology

Sebastian Brandt brandt at cs.manchester.ac.uk
Mon Oct 12 03:25:03 PDT 2009


Protege throws a null pointer exception when changing the active  
ontology in a peculiar way. Here is how to reproduce the bug: 1. open  
an ontology in Protege, 2. click into the drop-down box of loaded  
ontologies at the top of the window, 3. click on the active ontology  
(i.e., actually not changing the active ontology at all). Instead of  
just doing nothing, Protege throws the following exception [1].

I am using Protege 4 Build 113 on a Mac.


--
Dr Sebastian Brandt
Bio-Health Informatics Group
School of Computer Science
The University of Manchester
Manchester, M13 9PL
UK


---
[1]

Error 1 Logged at Mon Oct 12 11:16:22 BST 2009
NullPointerException: null
      
org.protege.editor.owl.ui.renderer.OWLOntologyCellRenderer.getOntologyLabelText 
(OWLOntologyCellRenderer.java:61)
      
org.protege.editor.owl.ui.renderer.OWLOntologyCellRenderer.getListCellRendererComponent 
(OWLOntologyCellRenderer.java:54)
     com.apple.laf.AquaComboBoxButton.doRendererPaint 
(AquaComboBoxButton.java:147)
     com.apple.laf.AquaComboBoxButton.paintComponent 
(AquaComboBoxButton.java:139)
     javax.swing.JComponent.paint(JComponent.java:1029)
     javax.swing.JComponent.paintChildren(JComponent.java:864)
     javax.swing.JComponent.paint(JComponent.java:1038)
     javax.swing.JComponent.paintChildren(JComponent.java:864)
     javax.swing.JComponent.paint(JComponent.java:1038)
     javax.swing.JComponent._paintImmediately(JComponent.java:5098)
     javax.swing.JComponent.paintImmediately(JComponent.java:4882)
     javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java: 
829)
     javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java: 
714)
     javax.swing.RepaintManager.seqPaintDirtyRegions 
(RepaintManager.java:694)
     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run 
(SystemEventQueueUtilities.java:128)
     java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
     java.awt.EventDispatchThread.pumpOneEventForFilters 
(EventDispatchThread.java:296)
     java.awt.EventDispatchThread.pumpEventsForFilter 
(EventDispatchThread.java:211)
     java.awt.EventDispatchThread.pumpEventsForHierarchy 
(EventDispatchThread.java:201)
     java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 
196)
     java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 
188)
     java.awt.EventDispatchThread.run(EventDispatchThread.java:122)








More information about the p4-feedback mailing list