Comments (6)
Can you check if the logs contain the stack trace for the error Cannot read properties of null (reading 'remoteConfigHistory')
?
Logs are located in ~/.backport/
from backport.
I see the following at the end of the logs
{"level":"error","message":"Unhandled exception: Cannot read properties of null (reading 'remoteConfigHistory')","metadata":{"stack":"TypeError: Cannot read properties of null (reading 'remoteConfigHistory')
at getSourceCommitBranchLabelMapping (/opt/homebrew/lib/node_modules/backport/dist/lib/sourceCommit/parseSourceCommit.js:144:56)
at parseSourceCommit (/opt/homebrew/lib/node_modules/backport/dist/lib/sourceCommit/parseSourceCommit.js:21:44)
at fetchCommitBySha (/opt/homebrew/lib/node_modules/backport/dist/lib/github/v4/fetchCommits/fetchCommitBySha.js:46:54)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fetchCommitsByPullNumber (/opt/homebrew/lib/node_modules/backport/dist/lib/github/v4/fetchCommits/fetchCommitByPullNumber.js:89:20)
at async Promise.all (index 0)
at async getCommits (/opt/homebrew/lib/node_modules/backport/dist/lib/getCommits.js:41:35)
at async backportRun (/opt/homebrew/lib/node_modules/backport/dist/backportRun.js:61:19)"},"timestamp":"2024-04-03 15:36:07"}
from backport.
Thanks. The problem is happening here so it looks like there is no mergeCommit
. Has the PR in question been merged?
from backport.
Yes, it has been merged via a squash into the source branch in question.
from backport.
Just want to confirm that I pulled the latest version directly and was able to finish a dry run against the PRs that previously were failing. I think I'll need this to be released at some point officially.
from backport.
Thanks for testing it, much appreciated! I've released the fix in v9.4.6
from backport.
Related Issues (20)
- Can this be tool used with GitLab? HOT 1
- Unexpected token . HOT 5
- v8.9.7 - Cannot read properties of undefined HOT 1
- Add support for dynamic `sourcePRLabels`
- Provide the upstream PR title as a template variable to build the backported PRs title HOT 4
- Option to copy labels from target to source HOT 5
- Workflow permission is required for pushing changes
- List of releases is out of date HOT 1
- `No target branches found for this PR` error HOT 7
- Query `CommitsByAuthor` gets 502 error in Github response when using large `maxNumber` HOT 5
- Upgrade Axios to dismiss security alerts
- Whatever I do i get a "branch is invalid or doesn't exist" HOT 8
- Support Azure DevOps HOT 7
- [Feature Request]: support draft PRs
- `sourcePullRequest.title` contains escaped characters HOT 4
- Allow setting target branches by branch name pattern
- t HOT 1
- providing terminal editor during conflicts hangs the process HOT 1
- Backports opened against wrong parent PR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backport.