运行SonarQube作业时获取无效的数据包长度(来自Bamboo)

时间:2016-01-06 13:01:16

标签: oracle jdbc sonarqube

我们正在使用SonarQube 4.5.6并从Bamboo Build计划中调用作业。

昨晚有一个Bamboo版本无法显示此错误(日期06-Jan-2016 00:07:04):

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project plantmaterial-overall: Fail to decorate 'org.sonar.api.resources.File@5ae75570[key=src/main/java/com/bayer/plantmaterial/service/mission/MissionInitiatedServiceImpl.java,deprecatedKey=com.bayer.plantmaterial.service.mission.MissionInitiatedServiceImpl,path=src/main/java/com/bayer/plantmaterial/service/mission/MissionInitiatedServiceImpl.java,dir=com/bayer/plantmaterial/service/mission,filename=MissionInitiatedServiceImpl.java,language=Java]':
[ERROR] ### Error querying database.  Cause: java.sql.SQLRecoverableException: IO Error: Invalid Packet Lenght
[ERROR] ### The error may exist in org.sonar.core.source.db.SnapshotSourceMapper
[ERROR] ### The error may involve org.sonar.core.source.db.SnapshotSourceMapper.selectSnapshotSourceByComponentKey-Inline
[ERROR] ### The error occurred while setting parameters
[ERROR] ### SQL: SELECT data     FROM snapshot_sources source     INNER JOIN snapshots s ON s.id=source.snapshot_id and s.islast=1     INNER JOIN projects p ON p.id=s.project_id and p.enabled=1     WHERE p.kee = ?
[ERROR] ### Cause: java.sql.SQLRecoverableException: IO Error: Invalid Packet Lenght

看起来像是Oracle JDBC错误 这是一个每晚构建,我手动运行然后它成功。这是一个小问题还是可能是什么原因?

0 个答案:

没有答案