Page 1 of 1

Issues with Git plugin

Posted: Thu Apr 24, 2025 7:36 am
by sudhe
Hi,

There is an issue with Git Addon 5.5.0 while pull rebase with recent update. We installed the Git addon with oxygen 27.
It is showing 100% in progress bar but shows error message as pull failed as shown in attachment.
If we do pull rebase again, it will be smooth.
Everytime we have to do two times.
git_addon_pull_rebase_issue.jpg
Please look into this issue,

Thanks & Regards,
Sudhe

Re: Issues with Git plugin

Posted: Thu Apr 24, 2025 8:35 am
by sorin_carbunaru
Hi Sudhe,

Thank you for reporting this! I added you feedback to internal issue GIT-319 and we'll definitely look into this.

We'll update this thread when we have updates or further questions.

All the best wishes,
Sorin Carbunaru
Oxygen XML Editor

Re: Issues with Git plugin

Posted: Mon Apr 28, 2025 9:02 am
by sorin_carbunaru
Hello Sudhe,

Does this issue happen as often as before? Or do you at least see it from time to time?

If the answer is yes to any fof the previous questions, please try starting Oxygen using oxygen.bat (if on Win) or oxygen.sh (if on Linux of MacOS), and when the issue happens, check the console/terminal to see if there is any error logged there.

Thank you!
Sorin Carbunaru
Oxygen XML Edtor

Re: Issues with Git plugin

Posted: Wed May 07, 2025 7:45 am
by sudhe
Hi Sorin,

This is happening very frequently. everytime we need to pull rebase twice.

Thanks & Regards,
Sudhe

Re: Issues with Git plugin

Posted: Wed May 07, 2025 8:20 am
by sorin_carbunaru
Hi,

Please send an e-mail to support@oxygenxml.com linking to this discussion thread.

Sorin

Re: Issues with Git plugin

Posted: Fri May 09, 2025 2:45 pm
by sudhe
Hi Sorin,

When I tried starting oxygen using oxygen.bat, In the console i got the below error messages while pull rebase,
17:12:35 565256 ERROR [ pool-3-thread-1 ] com.oxygenxml.git.view.event.GitController - Name is null
java.lang.NullPointerException: Name is null
at java.base/java.lang.Enum.valueOf(Enum.java:271)
at org.eclipse.jgit.diff.DiffDriver.valueOf(DiffDriver.java:1)
at org.eclipse.jgit.diff.DiffFormatter.getDiffDriver(DiffFormatter.java:1361)
at org.eclipse.jgit.diff.DiffFormatter.format(DiffFormatter.java:708)
at org.eclipse.jgit.diff.DiffFormatter.format(DiffFormatter.java:694)
at org.eclipse.jgit.api.DiffCommand.call(DiffCommand.java:131)
at com.oxygenxml.git.service.GitAccess.refreshProject(GitAccess.java:1376)
at com.oxygenxml.git.service.GitAccess.doPullInternal(GitAccess.java:1189)
at com.oxygenxml.git.service.GitAccess.pull(GitAccess.java:1121)
at com.oxygenxml.git.view.event.GitController$ExecutePullRunnable.doOperation(GitController.java:586)
at com.oxygenxml.git.view.event.GitController$ExecuteCommandRunnable.executeCommand(GitController.java:244)
at com.oxygenxml.git.view.event.GitController$ExecuteCommandRunnable.run(GitController.java:215)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
17:12:35.219 [pool-3-thread-1] ERROR com.oxygenxml.git.view.event.GitController -- Name is null
java.lang.NullPointerException: Name is null
at java.base/java.lang.Enum.valueOf(Enum.java:271)
at org.eclipse.jgit.diff.DiffDriver.valueOf(DiffDriver.java:1)
at org.eclipse.jgit.diff.DiffFormatter.getDiffDriver(DiffFormatter.java:1361)
at org.eclipse.jgit.diff.DiffFormatter.format(DiffFormatter.java:708)
at org.eclipse.jgit.diff.DiffFormatter.format(DiffFormatter.java:694)
at org.eclipse.jgit.api.DiffCommand.call(DiffCommand.java:131)
at com.oxygenxml.git.service.GitAccess.refreshProject(GitAccess.java:1376)
at com.oxygenxml.git.service.GitAccess.doPullInternal(GitAccess.java:1189)
at com.oxygenxml.git.service.GitAccess.pull(GitAccess.java:1121)
at com.oxygenxml.git.view.event.GitController$ExecutePullRunnable.doOperation(GitController.java:586)
at com.oxygenxml.git.view.event.GitController$ExecuteCommandRunnable.executeCommand(GitController.java:244)
at com.oxygenxml.git.view.event.GitController$ExecuteCommandRunnable.run(GitController.java:215)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Exception in thread "InnocuousThread-98" java.lang.IllegalStateException: Executor has been shut down
at org.apache.sshd.common.util.ValidateUtils.createFormattedException(ValidateUtils.java:213)
at org.apache.sshd.common.util.ValidateUtils.throwIllegalStateException(ValidateUtils.java:207)
at org.apache.sshd.common.util.ValidateUtils.checkState(ValidateUtils.java:184)
at org.apache.sshd.common.util.threads.NoCloseExecutor.execute(NoCloseExecutor.java:100)
at java.base/sun.nio.ch.AsynchronousChannelGroupImpl.executeOnPooledThread(AsynchronousChannelGroupImpl.java:190)
at java.base/sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:215)
at java.base/sun.nio.ch.Invoker.invoke(Invoker.java:191)
at java.base/sun.nio.ch.Invoker.invoke(Invoker.java:300)
at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ReadTask.failed(WindowsAsynchronousSocketChannelImpl.java:607)
at java.base/sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:389)
at java.base/java.lang.Thread.run(Thread.java:840)
at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)

Re: Issues with Git plugin

Posted: Fri May 09, 2025 2:58 pm
by sorin_carbunaru
Thank you, Sudhe! These error messages should put us on the right track.

Re: Issues with Git plugin

Posted: Fri Jun 06, 2025 1:24 pm
by sorin_carbunaru
Hi Sudhe,

If you go to the Help menu > Manage add-ons, you should see that v5.5.1 of the Git Client is now available. This version includes an updated version of the JGit library, which should not trigger the error you had before.

All the best wishes,
Sorin Carbunaru