Page 1 of 1

Null warning when pushing to Git origin

Posted: Tue Nov 26, 2019 1:57 am
by lnyswonger
I'm using Oxygen XML Editor 21.1 (trial version) and am attempting to use GitLab as the content repo. I'm able to successfully clone it from the Oxygen Git Staging add-on and I can edit files, stage, and commit. But when I click the "push to origin/master" button, I get a Null Warning. Any ideas what would be going on or how to further troubleshoot? I have attached a screenshot of the error message.
nullwarning.jpg
nullwarning.jpg (10.07 KiB) Viewed 3194 times

Re: Null warning when pushing to Git origin

Posted: Tue Nov 26, 2019 10:42 am
by sorin_carbunaru
Hi,

With oXygen closed, please create a "log4j.properties" file in its installation folder with the following content:

Code: Select all

log4j.rootCategory= info, R2

log4j.category.com.oxygenxml.git=debug

log4j.appender.R2=org.apache.log4j.RollingFileAppender
log4j.appender.R2.File=${user.home}/Desktop/oxygenLog/oxygen.log
log4j.appender.R2.MaxFileSize=12000KB
log4j.appender.R2.MaxBackupIndex=20
log4j.appender.R2.layout=org.apache.log4j.PatternLayout
log4j.appender.R2.layout.ConversionPattern=%r %p [ %t ] %c - %m%n
Then launch oXygen, try to push, and after you get the warning, close the app. On your Desktop you should have an "oxygenLog" folder. Please add it to an archive and send it to support@oxygenxml.com. Probably I can find something in the log files.

All the best wishes,
Sorin Carbunaru
oXygen XML

Re: Null warning when pushing to Git origin

Posted: Tue Nov 26, 2019 9:33 pm
by lnyswonger
Thanks - I've sent off the log file.

Re: Null warning when pushing to Git origin

Posted: Wed Nov 27, 2019 12:10 am
by lnyswonger
Looks like it was indeed permissions. Following this article helped: https://stackoverflow.com/questions/561 ... er-of-team

Re: Null warning when pushing to Git origin

Posted: Wed Nov 27, 2019 10:30 am
by sorin_carbunaru
Hello,

I'm glad you found the cause of the problem.

BTW, is this the first time you are committing and pushing using oXygen's Git add-on? Or did the add-on work fine up until now and this happen out of the blue?

Sorin C.

Re: Null warning when pushing to Git origin

Posted: Wed Dec 04, 2019 12:59 am
by lnyswonger
I'd used it in the past on a different repo in GitLab and had also successfully used it with GitHub prior to this. BTW, that Null warning also happens when you are trying to push to a protected branch. Ideally it would be great to surface those error messages in the product UI. Thanks!

Re: Null warning when pushing to Git origin

Posted: Wed Dec 04, 2019 1:39 pm
by sorin_carbunaru
Hi,

I also collected the message of the push result given by the underlying Git library. This should be visible in the next Git add-on version.

Best wishes,
Sorin Carbunaru
oXygen XML

Re: Null warning when pushing to Git origin

Posted: Thu Dec 12, 2019 12:25 am
by lnyswonger
excellent, thank you!

Re: Null warning when pushing to Git origin

Posted: Fri Dec 20, 2019 11:27 pm
by chrispitude
Hi Sorin,

Do you have an ETA for the next revision of the Git plugin? I have to say, it's been such a valuable addition to our authoring flow that it's hard not to anticipate the improvements!

Re: Null warning when pushing to Git origin

Posted: Fri Jan 03, 2020 1:44 pm
by sorin_carbunaru
Hi Chris,

As we are getting close to releasing the next version of the oXygen XML suite, we will slow down the engines in regards to development on that side, and I will try to find some time for the Git add-on. I think the next add-on release will mainly focus on bug fixes and perhaps small improvements here and there. As for the ETA, I don't know for sure what to say... Perhaps the second half of February or so...

All the best wishes for the new year,
Sorin Carbunaru
oXygen XML