java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "com/google/common/base/Supplier"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by reyman
, 1 year ago
loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "com/google/common/base/Supplier"
via GitHub by reyman
, 1 year ago
loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "com/google/common/base/Supplier"
java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) previously initiated loading for a different type with name "com/google/common/base/Supplier"
at msi.gaml.expressions.GamlExpressionFactory$1.initialValue(GamlExpressionFactory.java:62)
at msi.gaml.expressions.GamlExpressionFactory$1.initialValue(GamlExpressionFactory.java:1)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
at java.lang.ThreadLocal.get(ThreadLocal.java:170)
at msi.gaml.expressions.GamlExpressionFactory.resetParser(GamlExpressionFactory.java:74)
at msi.gama.lang.gaml.resource.GamlResource.buildModelDescription(GamlResource.java:101)
at msi.gama.lang.gaml.resource.GamlResource.buildCompleteDescription(GamlResource.java:161)
at msi.gama.lang.gaml.validation.GamlModelBuilder.buildModelDescription(GamlModelBuilder.java:56)
at msi.gama.lang.gaml.validation.GamlModelBuilder.compile(GamlModelBuilder.java:40)
at msi.gama.headless.core.HeadlessSimulationLoader.loadModel(HeadlessSimulationLoader.java:75)
at msi.gama.headless.openmole.MoleSimulationLoader.loadModel(MoleSimulationLoader.java:29)
at org.openmole.plugin.task.gama.GamaTask$$anonfun$process$1$$anonfun$apply$5.apply(GamaTask.scala:88)
at org.openmole.plugin.task.gama.GamaTask$$anonfun$process$1$$anonfun$apply$5.apply(GamaTask.scala:88)
at org.openmole.plugin.task.gama.GamaTask$.org$openmole$plugin$task$gama$GamaTask$$withDisposable(GamaTask.scala:60)
at org.openmole.plugin.task.gama.GamaTask$$anonfun$process$1.apply(GamaTask.scala:88)
at org.openmole.plugin.task.gama.GamaTask$$anonfun$process$1.apply(GamaTask.scala:82)
at org.openmole.plugin.task.external.External.withWorkDir(External.scala:176)
at org.openmole.plugin.task.gama.GamaTask.process(GamaTask.scala:82)
at org.openmole.core.workflow.task.Task$$anonfun$perform$1.apply(Task.scala:59)
at org.openmole.core.workflow.task.Task$$anonfun$perform$1.apply(Task.scala:59)
at org.openmole.core.workflow.tools.InputOutputCheck$class.perform(InputOutputCheck.scala:91)
at org.openmole.plugin.task.gama.GamaTask.perform(GamaTask.scala:67)
at org.openmole.core.workflow.task.Task$class.perform(Task.scala:59)
at org.openmole.plugin.task.gama.GamaTask.perform(GamaTask.scala:67)
at org.openmole.core.workflow.job.MoleJob.perform(MoleJob.scala:102)
at org.openmole.core.workflow.execution.local.LocalExecutor$$anonfun$1$$anonfun$apply$1.apply(LocalExecutor.scala:85)
at org.openmole.core.workflow.execution.local.LocalExecutor$$anonfun$1$$anonfun$apply$1.apply(LocalExecutor.scala:64)
at org.openmole.core.workflow.execution.local.LocalExecutor$$anonfun$1.apply(LocalExecutor.scala:64)
at org.openmole.core.workflow.execution.local.LocalExecutor$$anonfun$1.apply(LocalExecutor.scala:61)
at org.openmole.core.output.OutputManager$.withStreamOutputs(OutputManager.scala:99)
at org.openmole.core.workflow.execution.local.LocalExecutor.withRedirectedOutput(LocalExecutor.scala:136)
at org.openmole.core.workflow.execution.local.LocalExecutor.run(LocalExecutor.scala:61)
at java.lang.Thread.run(Thread.java:745)
at org.openmole.plugin.task.gama.GamaTask$$anonfun$process$1.apply(GamaTask.scala:132)
at org.openmole.plugin.task.gama.GamaTask$$anonfun$process$1.apply(GamaTask.scala:82)
at org.openmole.plugin.task.external.External.withWorkDir(External.scala:176)
at org.openmole.plugin.task.gama.GamaTask.process(GamaTask.scala:82)
at org.openmole.core.workflow.task.Task$$anonfun$perform$1.apply(Task.scala:59)
at org.openmole.core.workflow.task.Task$$anonfun$perform$1.apply(Task.scala:59)
at org.openmole.core.workflow.tools.InputOutputCheck$class.perform(InputOutputCheck.scala:91)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.