Tasks appears in the timeline but no in the left column

Hello,

I’ve moved a .gan file from an hard drive to another, but now the tasks only appears in the timeline, but not in the left column.

When I try to create a new task, this error appears.

C:\Users\biomobile4\ganttproject.log

java.class.path: eclipsito.jar;.
java.home: C:\Program Files\Java\jre1.8.0_77
java.io.tmpdir: C:\Users\BI7DB3~1\AppData\Local\Temp\
java.runtime.version: 1.8.0_77-b03
java.vendor: Oracle Corporation
java.vm.name: Java HotSpot(TM) 64-Bit Server VM
java.vm.vendor: Oracle Corporation
java.vm.version: 25.77-b03
os.arch: amd64
os.name: Windows 10
os.version: 10.0
sun.java.command: org.bardsoftware.eclipsito.Boot ganttproject-eclipsito-config.xml -log
user.country: CH
user.dir: C:\Program Files (x86)\GanttProject-2.5
user.home: C:\Users\biomobile4
user.language: fr
user.timezone: Europe/Berlin

Creating main frame...
1. loading look'n'feels
2. loading options
3. creating menus...
4. creating views...
5. calculating size and packing...
6. changing language ...
7. changing look'n'feel ...
8. finalizing...
Main frame created
Splash closed
juin 07, 2022 11:59:45 AM net.sourceforge.ganttproject.GPLogger logToLogger
AVERTISSEMENT: -1
java.lang.ArrayIndexOutOfBoundsException: -1
	at java.util.Vector.elementData(Unknown Source)
	at java.util.Vector.elementAt(Unknown Source)
	at javax.swing.table.DefaultTableColumnModel.getColumn(Unknown Source)
	at javax.swing.JTable.getCellEditor(Unknown Source)
	at net.sourceforge.ganttproject.GanttTreeTable.editSelectedTask(GanttTreeTable.java:151)
	at net.sourceforge.ganttproject.GanttTree2.setEditingTask(GanttTree2.java:300)
	at net.sourceforge.ganttproject.GanttProject.newTask(GanttProject.java:619)
	at net.sourceforge.ganttproject.action.task.TaskNewAction$1.run(TaskNewAction.java:54)
	at net.sourceforge.ganttproject.undo.UndoableEditImpl.<init>(UndoableEditImpl.java:47)
	at net.sourceforge.ganttproject.undo.UndoManagerImpl.undoableEdit(UndoManagerImpl.java:64)
	at net.sourceforge.ganttproject.action.task.TaskNewAction.actionPerformed(TaskNewAction.java:49)
	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.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)


The .gan file may have been created with an older version of Gantt Project than the one i’m using right now, on another computer.

Thanks,

Julien Isnard

Are there any particular reasons to run GanttProject 2.5 (released 10 years ago) instead of the recent GanttProject 3.2?

I didn’t noticed. It have been installed on the computer a long time ago. I’ll take a try with the updated version.

Any other idea about this problem ?

I don’t think that we should build any ideas about possible issues with opening files produced by some unknown version using a version released 10 years ago, sorry.