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

Timothy Redmond tredmond at stanford.edu
Tue Oct 13 09:53:06 PDT 2009


That is an interesting exception.  I couldn't make it happen but there  
are a couple of other things that I could investigate.  Does it always  
happen or is it just for a particular ontology?

-Timothy


On Oct 12, 2009, at 3:25 AM, Sebastian Brandt wrote:

> 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)
>
>
>
>
>
> _______________________________________________
> p4-feedback mailing list
> p4-feedback at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback




More information about the p4-feedback mailing list