Export Dialog Give NullPointerException on OS X Snow Leopard

Bug #526537 reported by Pugio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gephi
Fix Released
High
Mathieu Bastian
0.7
Fix Released
High
Unassigned

Bug Description

Any attempt at exporting immediately throws a NullPointerException. This is triggered either by selecting any option from the "File > Export" menu, or pressing the "SVG" button in the Preview Settings window.

SVG Export:
java.lang.NullPointerException
 at org.gephi.desktop.io.export.api.VectorialFileExporterUI.action(VectorialFileExporterUI.java:178)
 at org.gephi.desktop.io.export.Export$2.actionPerformed(Export.java:71)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
 at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
 at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
 at java.awt.MenuItem.processActionEvent(MenuItem.java:627)
 at java.awt.MenuItem.processEvent(MenuItem.java:586)
 at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:317)
 at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:305)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
 at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)
 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)

Graph Export:
java.lang.NullPointerException
at org.gephi.desktop.io.export.api.GraphFileExporterUI.action(GraphFileExporterUI.java:183)
...rest exactly the same...

Revision history for this message
Mathieu Bastian (mathieu.bastian) wrote :

I was able to reproduce the bug, thanks for your feedback. I'll fix this.

Changed in gephi:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Mathieu Bastian (mathieu.bastian)
milestone: none → 0.7alpha2
Changed in gephi:
status: Confirmed → Fix Committed
Revision history for this message
Mathieu Bastian (mathieu.bastian) wrote :

I fixed this issue. I updated the module on our server, so you can profit from the fix immediately by updating your Gephi (Help > Check for updated).

Revision history for this message
Pugio (pugiox) wrote : Re: [Bug 526537] Re: Export Dialog Give NullPointerException on OS X Snow Leopard

Thanks for the amazingly quick fix. I've noticed a bunch of other not quite
as critical bugs that I'll be sure to submit as well.

On Tue, Feb 23, 2010 at 1:09 PM, Mathieu Bastian
<email address hidden>wrote:

> I fixed this issue. I updated the module on our server, so you can
> profit from the fix immediately by updating your Gephi (Help > Check for
> updated).
>
> --
> Export Dialog Give NullPointerException on OS X Snow Leopard
> https://bugs.launchpad.net/bugs/526537
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Sébastien Heymann (sebastien.heymann) wrote :
Download full text (3.6 KiB)

This bug remains:

"I was trying to export a SVG file from the preview and the attached error occur. I'm using a MacbookPro with SnowLeopard.
I've followed step by step the tutorial guide (it worked nice!), but I cannot export the image."

java.lang.NullPointerException
 at org.gephi.desktop.io.export.api.VectorialFileExporterUI$3.propertyChange(VectorialFileExporterUI.java:153)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:347)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
 at java.awt.Component.firePropertyChange(Component.java:8213)
 at javax.swing.JFileChooser.setFileFilter(JFileChooser.java:1449)
 at com.apple.laf.AquaFileChooserUI$FilterComboBoxAction.actionPerformed(AquaFileChooserUI.java:1312)
 at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
 at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
 at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1331)
 at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
 at javax.swing.DefaultListModel.clear(DefaultListModel.java:490)
 at com.apple.laf.AquaFileChooserUI$FilterComboBoxModel.propertyChange(AquaFileChooserUI.java:1256)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
 at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
 at java.awt.Component.firePropertyChange(Component.java:8213)
 at javax.swing.JFileChooser.addChoosableFileFilter(JFileChooser.java:1144)
 at org.gephi.desktop.io.export.api.VectorialFileExporterUI.action(VectorialFileExporterUI.java:177)
 at org.gephi.desktop.preview.PreviewSettingsTopComponent$3.actionPerformed(PreviewSettingsTopComponent.java:102)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
 at java.awt.Component.processMouseEvent(Component.java:6348)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
 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:2475)
 at java.awt.Component.dispatchEvent(Component.java:4544)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
 at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQu...

Read more...

Changed in gephi:
status: Fix Committed → New
Revision history for this message
Mathieu Bastian (mathieu.bastian) wrote :

Yes bug remains, in another form.

Additionnal stack from bug report.

java.lang.NullPointerException
 at com.apple.laf.AquaListUI.repaintCell(AquaListUI.java:132)
 at com.apple.laf.AquaComboBoxUI$1$1.paintSelected(AquaComboBoxUI.java:91)
 at com.apple.laf.AquaUtils.blinkMenu(AquaUtils.java:202)
 at com.apple.laf.AquaComboBoxUI$1.itemStateChanged(AquaComboBoxUI.java:89)
 at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1205)
 at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1262)
 at javax.swing.JComboBox.contentsChanged(JComboBox.java:1309)
 at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
 at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
 at javax.swing.JComboBox.setSelectedItem(JComboBox.java:557)
 at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
 at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:840)
 at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
 at java.awt.Component.processMouseEvent(Component.java:6348)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
 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:2475)
 at java.awt.Component.dispatchEvent(Component.java:4544)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
 at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)
 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)

Changed in gephi:
status: New → Confirmed
Changed in gephi:
status: Confirmed → Fix Committed
Changed in gephi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.