Hi , i just installed ganttproject and when i try to open a gan file i get this kind of errors :
C:\Users\zayd2\ganttproject.log
GanttProject 3.3.3312
Settings file:
location: C:\Users\zayd2\.ganttproject
size:5583
is readable: true
java.class.path: eclipsito.jar;C:\Program Files (x86)\GanttProject-3.3;C:\Program Files (x86)\GanttProject-3.3\eclipsito.jar;C:\Program Files (x86)\GanttProject-3.3\lib\slf4j-api-2.0.4.jar;C:\Program Files (x86)\GanttProject-3.3\lib\slf4j-jdk14-2.0.4.jar
java.home: C:\Program Files (x86)\GanttProject-3.3\runtime
java.ext.dirs: null
java.io.tmpdir: C:\Users\zayd2\AppData\Local\Temp\
java.runtime.version: 17.0.12+10-LTS
java.vendor: BellSoft
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.vendor: BellSoft
java.vm.version: 17.0.12+10-LTS
os.arch: amd64
os.name: Windows 11
os.version: 10.0
sun.java.command: com.bardsoftware.eclipsito.Launch --verbosity 1 --version-dirs plugins;~/.ganttproject.d/updates --app net.sourceforge.ganttproject.GanttProject
user.country: FR
user.dir: C:\Program Files (x86)\GanttProject-3.3
user.home: C:\Users\zayd2
user.language: fr
user.timezone: Europe/Paris
[2024-11-26 23:48:09] [AVER][net.sourceforge.ganttproject] Failed to init the database
net.sourceforge.ganttproject.storage.ProjectDatabaseException: Failed to init the database
at net.sourceforge.ganttproject.storage.SqlProjectDatabaseImpl.runScript(SqlProjectDatabaseImpl.kt:174)
at net.sourceforge.ganttproject.storage.SqlProjectDatabaseImpl.init(SqlProjectDatabaseImpl.kt:163)
at net.sourceforge.ganttproject.storage.LazyProjectDatabaseProxy.getDatabase(LazyProjectDatabaseProxy.kt:44)
at net.sourceforge.ganttproject.storage.LazyProjectDatabaseProxy.addExternalUpdatesListener(LazyProjectDatabaseProxy.kt:107)
at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl$openProject$2$1.invokeSuspend$lambda$2$lambda$1(ProjectUIFacadeImpl.kt:254)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.desktop/java.awt.Dialog.show(Unknown Source)
at java.desktop/java.awt.Component.show(Unknown Source)
at java.desktop/java.awt.Component.setVisible(Unknown Source)
at java.desktop/java.awt.Window.setVisible(Unknown Source)
at java.desktop/java.awt.Dialog.setVisible(Unknown Source)
at net.sourceforge.ganttproject.DialogBuilder$DialogImpl.show(DialogBuilder.java:78)
at biz.ganttproject.app.DialogControllerSwing.setDialogFrame$ganttproject(Dialog.kt:216)
at biz.ganttproject.app.DialogKt.dialog$lambda$9$lambda$8(Dialog.kt:109)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.h2.jdbc.JdbcSQLNonTransientException: Erreur générale: "java.lang.RuntimeException: object already exists: taskviewforcomputedcolumns"
General error: "java.lang.RuntimeException: object already exists: taskviewforcomputedcolumns"; SQL statement:
create table if not exists Task (
uid varchar not null,
num integer not null,
name varchar not null,
color varchar null,
shape varchar null,
is_milestone boolean not null,
is_project_task boolean not null,
start_date date not null,
duration integer not null,
completion integer null,
earliest_start_date date null,
priority varchar not null,
web_link varchar null,
cost_manual_value numeric(100000, 2) null,
is_cost_calculated boolean null,
notes varchar null,
primary key (uid)
) [50000-214]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:554)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477)
at org.h2.message.DbException.get(DbException.java:212)
at org.h2.message.DbException.convert(DbException.java:395)
at org.h2.command.Command.executeUpdate(Command.java:264)
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:252)
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:223)
at net.sourceforge.ganttproject.storage.SqlProjectDatabaseImpl.runScript(SqlProjectDatabaseImpl.kt:172)
... 40 more
Caused by: java.lang.RuntimeException: object already exists: taskviewforcomputedcolumns
at org.h2.message.DbException.getInternalError(DbException.java:343)
at org.h2.schema.Schema.add(Schema.java:273)
at org.h2.engine.Database.addSchemaObject(Database.java:908)
at org.h2.command.ddl.CreateView.update(CreateView.java:135)
at org.h2.command.ddl.SchemaOwnerCommand.update(SchemaOwnerCommand.java:33)
at org.h2.command.CommandContainer.update(CommandContainer.java:169)
at org.h2.command.CommandList.executeRemaining(CommandList.java:58)
at org.h2.command.CommandList.update(CommandList.java:66)
at org.h2.command.CommandList.executeRemaining(CommandList.java:58)
at org.h2.command.CommandList.update(CommandList.java:66)
at org.h2.command.CommandList.executeRemaining(CommandList.java:58)
at org.h2.command.CommandList.update(CommandList.java:66)
at org.h2.command.CommandList.executeRemaining(CommandList.java:58)
at org.h2.command.CommandList.update(CommandList.java:66)
at org.h2.command.Command.executeUpdate(Command.java:252)
... 43 more
[2024-11-26 23:48:10] [INFO][org.jooq.Constants]
jOOQ tip of the day: While you don't have to use jOOQ's code generator, there are *lots* of awesome features you're missing out on if you're not using it!