Error when (only) Refreshing my local repository. Known bug?

Started by Yost67, February 04, 2024, 17:07:04 PM

Previous topic - Next topic


It seems like Refreshing a local repository generates an error if nothing changed locally...

Today I tried to refresh my repository after not working in Archi for 3 weeks. My Change History shows my last Commit/Publish at January 14th. After selecting Refresh Model from the Collaboration menu, I have to type in my password, after that Archi tries to login to the gitlab server and responds with an error.

I checked if my password was correct, if VPN was running and if I could access the gitlab server using its web interface. Everything works fine. I try to Refresh again, and get the connection error again. I do a Commit and Archi responds with "Nothing to Commit". I try to Refresh, and get the connection error.

Now I create a new view with one element. I Commit this change and it Commits. I Publish the change and Archi publishes the change to the central repository. But it also refreshes my local repository with the changes my colleagues made the last 3 weeks; my Change History now shows changes at January 25 and 26, before showing my change of today.

Is this a know bug? Or is something wrong in our server or local setup? Thanks for any insights.

Jean-Baptiste Sarrodie


Quote from: Yost67 on February 04, 2024, 17:07:04 PMIs this a know bug? Or is something wrong in our server or local setup?

I've never had this issue (nor any of my colleagues), so I assume the issue is on your overall setup.


If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.


I'm still experiencing this error behaviour, and cannot figure out what is wrong. This is the error message:

org.eclipse.jgit.api.errors.WrongRepositoryStateException: Cannot pull into a repository with state: MERGING_RESOLVED
   at org.archicontribs.modelrepository.grafico.ArchiRepository.pullFromRemote(
   at org.archicontribs.modelrepository.actions.RefreshModelAction.pull(
   at org.archicontribs.modelrepository.actions.RefreshModelAction$1$
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(
   at org.archicontribs.modelrepository.actions.RefreshModelAction$
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
   at org.eclipse.swt.widgets.Display.runAsyncMessages(
   at org.eclipse.swt.widgets.Display.readAndDispatch(
   at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(
   at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
   at org.eclipse.ui.internal.Workbench.lambda$3(
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
   at com.archimatetool.editor.Application.start(
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(
   at org.eclipse.equinox.launcher.Main.basicRun(