Capone1983 opened a new issue, #7852:
URL: https://github.com/apache/incubator-devlake/issues/7852

   ### 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
   
   SonarCube scan fails the pipeline scan of a project.
   
   `attached stack trace -- stack trace: | 
github.com/apache/incubator-devlake/server/services.runPipeline | 
/app/server/services/pipeline_runner.go:79 | [...repeated from below...] Wraps: 
(2) Error running pipeline 14. Wraps: (3) attached stack trace -- stack trace: 
| github.com/apache/incubator-devlake/server/services.RunTasksStandalone | 
/app/server/services/task.go:217 | 
github.com/apache/incubator-devlake/server/services.(*pipelineRunner).runPipelineStandalone.func1
 | /app/server/services/pipeline_runner.go:42 | 
github.com/apache/incubator-devlake/core/runner.runPipelineTasks | 
/app/core/runner/run_pipeline.go:90 | 
github.com/apache/incubator-devlake/core/runner.RunPipeline | 
/app/core/runner/run_pipeline.go:54 | 
github.com/apache/incubator-devlake/server/services.(*pipelineRunner).runPipelineStandalone
 | /app/server/services/pipeline_runner.go:38 | 
github.com/apache/incubator-devlake/server/services.runPipeline | 
/app/server/services/pipeline_runner.go:76 | github.com/apache/in
 cubator-devlake/server/services.RunPipelineInQueue.func1 | 
/app/server/services/pipeline.go:347 | runtime.goexit | 
/usr/local/go/src/runtime/asm_amd64.s:1598 Wraps: (4) attached stack trace | -- 
stack trace: | | 
github.com/apache/incubator-devlake/server/services.RunTasksStandalone.func1 | 
| /app/server/services/task.go:189 | Wraps: (2) Error running task 870. | 
Wraps: (3) attached stack trace | -- stack trace: | | 
github.com/apache/incubator-devlake/core/runner.RunPluginSubTasks | | 
/app/core/runner/run_task.go:329 | | [...repeated from below...] | Wraps: (4) 
subtask convertIssueCodeBlocks ended unexpectedly | Wraps: (5) attached stack 
trace | -- stack trace: | | 
github.com/apache/incubator-devlake/impls/dalgorm.(*Dalgorm).convertGormError | 
| /app/impls/dalgorm/dalgorm.go:523 | | 
github.com/apache/incubator-devlake/impls/dalgorm.(*Dalgorm).CreateOrUpdate | | 
/app/impls/dalgorm/dalgorm.go:265 | | 
github.com/apache/incubator-devlake/helpers/pluginhelper/api.(*BatchSave).flushWithout
 Locking | | /app/helpers/pluginhelper/api/batch_save.go:131 | | 
github.com/apache/incubator-devlake/helpers/pluginhelper/api.(*BatchSave).Close 
| | /app/helpers/pluginhelper/api/batch_save.go:147 | | 
github.com/apache/incubator-devlake/helpers/pluginhelper/api.(*BatchSaveDivider).Close
 | | /app/helpers/pluginhelper/api/batch_save_divider.go:102 | | 
github.com/apache/incubator-devlake/helpers/pluginhelper/api.(*DataConverter).Execute
 | | /app/helpers/pluginhelper/api/data_convertor.go:131 | | 
github.com/apache/incubator-devlake/plugins/sonarqube/tasks.ConvertIssueCodeBlocks
 | | /app/plugins/sonarqube/tasks/issue_code_blocks_convertor.go:77 | | 
github.com/apache/incubator-devlake/core/runner.runSubtask | | 
/app/core/runner/run_task.go:405 | | 
github.com/apache/incubator-devlake/core/runner.RunPluginSubTasks | | 
/app/core/runner/run_task.go:327 | | 
github.com/apache/incubator-devlake/core/runner.RunPluginTask | | 
/app/core/runner/run_task.go:163 | | github.com/apache/incubator-devlake/
 core/runner.RunTask | | /app/core/runner/run_task.go:137 | | 
github.com/apache/incubator-devlake/server/services.runTaskStandalone | | 
/app/server/services/task_runner.go:113 | | 
github.com/apache/incubator-devlake/server/services.RunTasksStandalone.func1 | 
| /app/server/services/task.go:187 | | runtime.goexit | | 
/usr/local/go/src/runtime/asm_amd64.s:1598 | Wraps: (6) Error 1406 (22001): 
Data too long for column 'component' at row 12 (500) | Wraps: (7) Error 1406 
(22001): Data too long for column 'component' at row 12 | Error types: (1) 
*withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) 
*errutil.withPrefix (5) *withstack.withStack (6) *errutil.withPrefix (7) 
*mysql.MySQLError Error types: (1) *withstack.withStack (2) *errutil.withPrefix 
(3) *withstack.withStack (4) *errutil.leafError`
   
   ### What do you expect to happen
   
   Scan the project in Sonarcube
   
   ### How to reproduce
   
   Install v1.0.1-beta4@483c93e 
   add sonarcube connection and have a project with large java folder 
structure. 
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v1.0.1-beta4@483c93e 
   
   ### 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: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to