Closed lesquoyb closed 1 year ago
No problem on macOS M1 with the release (the one w/ JDK)... I can start it in an existing workspace, create a new one, switch to it, back and forth...
After some tests, I think gama was just using an old jdk for some reason. I downloaded it again with the embedded jdk and everything works well
I have the same behavior, on eclipse 2309, git base 1.9.3, right after refresh/create a workspace, here is the pop up message
An internal error occurred during: "Refreshing the GAMA Workspace". loader constraint violation: loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @710b30ef wants to load interface com.google.common.collect.Multimap. A different interface with the same name was previously loaded by org.eclipse.osgi.internal.loader.EquinoxClassLoader @22101c80. (com.google.common.collect.Multimap is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @22101c80, parent loader 'platform')
and in eclipse console:
java.lang.LinkageError: loader constraint violation: loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @710b30ef wants to load interface com.google.common.collect.Multimap. A different interface with the same name was previously loaded by org.eclipse.osgi.internal.loader.EquinoxClassLoader @22101c80. (com.google.common.collect.Multimap is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @22101c80, parent loader 'platform') at msi.gama.application.workspace.WorkspaceModelsManager.loadModelsLibrary(WorkspaceModelsManager.java:424) at ummisco.gama.ui.commands.RefreshHandler$3.runInWorkspace(RefreshHandler.java:149) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Also, it is on M1, JDK 17.0.8
Reappeared for me too in the development version on w11 eclipse 2023-09 jdk 17.0.4.1
isn't that the same error message as the one pointed out in #3830 ?
The version defining of guava in msi.gama.ext is causing this issue. If i remove the min max version, gama can launch and refresh the library.
Merging this into #3830 as it is the same issue.
Describe the bug After installing the GAMA 1.9.2 release AND changing to a new workspace, I'm unable to run it anymore. Gama starts then nothing happens as soon as I pick a workspace. I still see the process in the task manager but it takes close to zero resources and basically seems to be dead. I'm also unable to run gama on previously working workspaces.
After some tweaking I finally managed to get a log here:
To Reproduce Steps to reproduce the behavior:
Additional context Tested on linux and no problem so it may be windows specific.
The manipulation that got me to be able to get a log is running the eclipse version on the same workspace first. Somehow it looks like it repaired things in the ws and that's after this that gama release was able to write a log. Here is the content of the eclipse console if that can help:
Also now I'm able to run gama from eclipse without any issues, but not the release