bardsoftware / ganttproject

Official GanttProject repository.
http://ganttproject.biz
GNU General Public License v3.0
856 stars 301 forks source link

I get this error when I want to save the file ?? #1100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Failed to save the project file

java.io.IOException: Failed to save the project file
    at net.sourceforge.ganttproject.io.GanttXMLSaver.save(GanttXMLSaver.java:120)
    at net.sourceforge.ganttproject.document.ProxyDocument.write(ProxyDocument.java:163)
    at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.saveProject(ProjectUIFacadeImpl.java:89)
    at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.saveProjectAs(ProjectUIFacadeImpl.java:130)
    at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.saveProject(ProjectUIFacadeImpl.java:45)
    at net.sourceforge.ganttproject.GanttProject.saveProject(GanttProject.java:1959)
    at net.sourceforge.ganttproject.action.project.SaveProjectAction.actionPerformed(SaveProjectAction.java:42)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Identifier not found
    at javax.swing.table.DefaultTableColumnModel.getColumnIndex(Unknown Source)
    at javax.swing.JTable.getColumn(Unknown Source)
    at org.jdesktop.jdnc.JNTable.getColumn(JNTable.java:211)
    at net.sourceforge.ganttproject.GanttTreeTable.updateDisplayedColumnsOrder(GanttTreeTable.java:175)
    at net.sourceforge.ganttproject.GanttTreeTable.getDisplayColumns(GanttTreeTable.java:184)
    at net.sourceforge.ganttproject.io.GanttChartViewSaver.save(GanttChartViewSaver.java:19)
    at net.sourceforge.ganttproject.io.GanttXMLSaver.saveGanttChartView(GanttXMLSaver.java:132)
    at net.sourceforge.ganttproject.io.GanttXMLSaver.save(GanttXMLSaver.java:109)
    ... 44 more

Original issue reported on code.google.com by dugasmar...@gmail.com on 11 Mar 2015 at 5:51

GoogleCodeExporter commented 9 years ago
Ugh, that's sad. Can you try hiding all columns except e.g. "Name" ? 

Original comment by dbaras...@ganttproject.biz on 11 Mar 2015 at 5:54