Null warning when pushing to Git origin

<oXygen/> general issues.
lnyswonger
Posts: 5
Joined: Tue Nov 26, 2019 1:50 am

Null warning when pushing to Git origin

Post by lnyswonger » Tue Nov 26, 2019 1:57 am

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 979 times

sorin_carbunaru
Posts: 307
Joined: Mon May 09, 2016 9:37 am

Re: Null warning when pushing to Git origin

Post by sorin_carbunaru » Tue Nov 26, 2019 10:42 am

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

lnyswonger
Posts: 5
Joined: Tue Nov 26, 2019 1:50 am

Re: Null warning when pushing to Git origin

Post by lnyswonger » Tue Nov 26, 2019 9:33 pm

Thanks - I've sent off the log file.

lnyswonger
Posts: 5
Joined: Tue Nov 26, 2019 1:50 am

Re: Null warning when pushing to Git origin

Post by lnyswonger » Wed Nov 27, 2019 12:10 am

Looks like it was indeed permissions. Following this article helped: https://stackoverflow.com/questions/561 ... er-of-team

sorin_carbunaru
Posts: 307
Joined: Mon May 09, 2016 9:37 am

Re: Null warning when pushing to Git origin

Post by sorin_carbunaru » Wed Nov 27, 2019 10:30 am

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.

lnyswonger
Posts: 5
Joined: Tue Nov 26, 2019 1:50 am

Re: Null warning when pushing to Git origin

Post by lnyswonger » Wed Dec 04, 2019 12:59 am

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!

sorin_carbunaru
Posts: 307
Joined: Mon May 09, 2016 9:37 am

Re: Null warning when pushing to Git origin

Post by sorin_carbunaru » Wed Dec 04, 2019 1:39 pm

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

lnyswonger
Posts: 5
Joined: Tue Nov 26, 2019 1:50 am

Re: Null warning when pushing to Git origin

Post by lnyswonger » Thu Dec 12, 2019 12:25 am

excellent, thank you!

chrispitude
Posts: 188
Joined: Thu May 02, 2019 2:32 pm

Re: Null warning when pushing to Git origin

Post by chrispitude » Fri Dec 20, 2019 11:27 pm

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!

sorin_carbunaru
Posts: 307
Joined: Mon May 09, 2016 9:37 am

Re: Null warning when pushing to Git origin

Post by sorin_carbunaru » Fri Jan 03, 2020 1:44 pm

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

Post Reply