[cmview-devel] Null-Pointer background overlay

Jose Duarte jose.duarte at psi.ch
Tue Oct 5 05:35:08 EDT 2010


Are you at MPI with a mysql connection? That would be my first guess: no 
connection to the mysql server.

I guess the stack trace is longer that what you posted, is it? The 
actual connection failure would come a lot further down, then that 
usually leads to a null pointer elsewhere.

Anyway if you post more details so I can reproduce the test maybe I can 
help more (what pdb, what exactly were you doing etc) I've just tried 
choosing some background overlays in the contact map view and it worked 
fine.

Jose



On 10/04/2010 04:57 PM, Corinna Vehlow wrote:
> Hi,
>
> we get a Null-Pointer-Exception (see error message below) when choosing the background overlay again. Does anyone have an idea, what might be the reason for that?
>
> Cheers,
> Corinna
>
>
> The error message:
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> 	at cmview.View.handleShowResidueScoringMap(View.java:2681)
> 	at cmview.View.handleBgOverlayChange(View.java:3604)
> 	at cmview.StatusBar.actionPerformed(StatusBar.java:502)
> 	at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
> 	at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
> 	at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
> 	at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:822)
> 	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
> 	at java.awt.Component.processMouseEvent(Component.java:6348)
> 	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
> 	at com.apple.laf.AquaComboBoxPopup$1.processMouseEvent(AquaComboBoxPopup.java:129)
> 	at java.awt.Component.processEvent(Component.java:6113)
> 	at java.awt.Container.processEvent(Container.java:2085)
> 	at java.awt.Component.dispatchEventImpl(Component.java:4714)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2143)
> 	at java.awt.Component.dispatchEvent(Component.java:4544)
> 	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
> 	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
> 	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2129)
> 	at java.awt.Window.dispatchEventImpl(Window.java:2478)
> 	at java.awt.Component.dispatchEvent(Component.java:4544)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
>    




More information about the cmview-devel mailing list