You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "hezyin (via GitHub)" <gi...@apache.org> on 2023/02/03 03:02:47 UTC
[GitHub] [incubator-devlake] hezyin opened a new issue, #4306: [Bug][Bitbucket] Bitbucket task failed with invalid memory address or nil pointer dereference
hezyin opened a new issue, #4306:
URL: https://github.com/apache/incubator-devlake/issues/4306
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
From the user's Config-UI screenshot, it seems the user is on v0.14.7.
* Content of `pipeline.log`
```
time="2023-02-01 14:52:31" level=error msg=" [pipeline service] [pipeline #2] run tasks failed
caused by: Error running task 5.
Wraps: (2) run task failed with panic (github.com/apache/incubator-devlake/plugins/bitbucket/tasks.convertBitbucketPullRequest:159)
Wraps: (3) runtime error: invalid memory address or nil pointer dereference
Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) runtime.errorString
"
```
* Content of `task-5-1-1-bitbucket.log`
```
time="2023-02-01 14:47:33" level=info msg=" [pipeline service] [pipeline #2] [task #5] start executing task: 5"
time="2023-02-01 14:47:33" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] start plugin"
time="2023-02-01 14:47:33" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] scheduler for api https://api.bitbucket.org/2.0/ worker: 13, request: 10000, duration: 1h0m0s"
time="2023-02-01 14:47:33" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] total step: 17"
time="2023-02-01 14:47:33" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] executing subtask collectApiRepo"
time="2023-02-01 14:47:33" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiRepo] start api collection"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiRepo] finished records: 1"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiRepo] end api collection without error"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] finished step: 1 / 17"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] executing subtask extractApiRepo"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [extractApiRepo] get data from _raw_bitbucket_api_repositories where params={"ConnectionId":1,"Owner":"smssekuritas","Repo":"simas-invest-app"} and got 1"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [extractApiRepo] finished records: 1"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] finished step: 2 / 17"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] executing subtask collectApiPullRequests"
time="2023-02-01 14:47:34" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] start api collection"
time="2023-02-01 14:47:37" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 1"
time="2023-02-01 14:47:40" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 7"
time="2023-02-01 14:47:43" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 16"
time="2023-02-01 14:47:47" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 25"
time="2023-02-01 14:47:50" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 36"
time="2023-02-01 14:47:53" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 43"
time="2023-02-01 14:47:56" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 50"
time="2023-02-01 14:47:59" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 62"
time="2023-02-01 14:48:03" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] finished records: 71"
time="2023-02-01 14:48:04" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [collectApiPullRequests] end api collection without error"
time="2023-02-01 14:48:04" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] finished step: 3 / 17"
time="2023-02-01 14:48:04" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] executing subtask extractApiPullRequests"
time="2023-02-01 14:48:04" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [extractApiPullRequests] get data from _raw_bitbucket_api_pull_requests where params={"ConnectionId":1,"Owner":"smssekuritas","Repo":"simas-invest-app"} and got 3702"
time="2023-02-01 14:48:04" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [extractApiPullRequests] finished records: 1"
time="2023-02-01 14:48:04" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [extractApiPullRequests] finished records: 1000"
time="2023-02-01 14:48:04" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [extractApiPullRequests] finished records: 2000"
time="2023-02-01 14:48:05" level=info msg=" [pipeline service] [pipeline #2] [task #5] [bitbucket] [extractApiPullRequests] finished records: 3000"
```
### What do you expect to happen
No failure when running the Bitbucket task.
### How to reproduce
Create a Bitbucket blueprint and run.
### Anything else
_No response_
### Version
v0.14.2
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] warren830 closed issue #4306: [Bug][Bitbucket] Bitbucket task failed with invalid memory address or nil pointer dereference
Posted by "warren830 (via GitHub)" <gi...@apache.org>.
warren830 closed issue #4306: [Bug][Bitbucket] Bitbucket task failed with invalid memory address or nil pointer dereference
URL: https://github.com/apache/incubator-devlake/issues/4306
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org