6 Star 3 Fork 10

openGauss / compatibility-assessment

 / 详情

【测试类型:工具功能】【测试版本:5.1.0】兼容性评估工具评估文件报错

已验收
缺陷
创建于  
2023-07-27 15:50

【标题描述】:兼容性评估工具评估文件报错
【测试类型:工具功能】【测试版本:5.1.0】 问题描述
兼容性评估工具评估文件报错
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
openEuler release 20.03 (LTS)
Linux dggpopel00002 4.19.90-2003.4.0.0036.oe1.x86_64 #1 SMP Mon Mar 23 19:10:41 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
【测试环境】(单机/1主x备x级联备):
单机
【被测功能】:
兼容性评估工具
【测试类型】:
工具功能
【数据库版本】(查询命令: gaussdb -V):
(openGauss 5.1.0 build d65e08d5) compiled at 2023-07-26 00:10:37 commit 0 last mr on x86_64-unknown-linux-gnu, compiled by g++ (GCC) 10.3.0,
64-bit
【预置条件】:
兼容性评估插件正常
【操作步骤】(请填写详细的操作步骤):

  1. 配置输入类型为文件并配置文件目录后执行sh start.sh -d file -o report1.html

【预期输出】:
1.执行成功,生成兼容性评估报告

【实际输出】:
1.报错,报告生成失败
15:47:27,667 ERROR (CompatibilityAssessmenter:sqlParsingThreadExecute) - sqlParsing thread occur Exception, exit. exception = java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because "generallogs" is null
15:47:27,673 INFO (CompatibilityAssessmenter:checkConditions) - output sqlfile number is : 5

【原因分析】:

  1. 这个问题的根因
  2. 问题推断过程
  3. 还有哪些原因可能造成类似现象
  4. 该问题是否有临时规避措施
  5. 问题解决方案
  6. 预计修复问题时间

【日志信息】(请附上日志文件、截图、coredump信息):

【测试代码】:

评论 (2)

邹佳良 创建了缺陷

Hey @邹佳良, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss_bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.

邹佳良 修改了标题
邹佳良 修改了描述
邹佳良 修改了标题
邹佳良 修改了标题
邹佳良 修改了描述
邹佳良 修改了描述
Will 添加协作者周斌
蒋宏博 通过opengauss/compatibility-assessment Pull Request !7任务状态待办的 修改为已完成
邹佳良 任务状态已完成 修改为测试中

经验证,已修复
输入图片说明

邹佳良 任务状态测试中 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
13084139 opengauss bot 1686829535
Java
1
https://gitee.com/opengauss/compatibility-assessment.git
git@gitee.com:opengauss/compatibility-assessment.git
opengauss
compatibility-assessment
compatibility-assessment

搜索帮助