cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello SAP's gurus

I try to synchronize my local project with my repository in GitHub.

When I try to perform Pull or Fetch, SAP Web IDE shows me the next error message: Cannot get committed changes while trying to read the field 'w1' of a null object loaded from local variable 'toFind':

What am I doing wrong?

Best regards.

0 Likes
View Entire Topic
JaySchwendemann
Active Contributor
0 Likes

Not sure if this was the right thing todo but I was just setting up the git on one of my projects and experienced the bespoke error. We have Bitbucket On-Premise and that also uses "main" as default branch name (at least in our setting).

Here's what I did to solve

  • Change the remote repository to have "master" as default branch. I was not able to do this without deleting the (empty anyway) repository that I wrongly created with default branch "main" before. There might be other ways, too, to solve this depending on your access rights or knowledge *tounge in cheek* in Bitbucket
  • Rightclick the project in Web IDE ==> Git ==> Create Remote Branch
  • Name the remote branch "master" and hit ok

This then automatically pushes the already commited changes to the remote branch