GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

User input errors in DashboardMain should not create stack traces

未关闭
#1,526 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue help wanted p3
主要语言
Java
星标
163
派生
80
PR 合并指标
30 天内没有已合并 PR

描述

All possible user input errors should be handled and messaged without exposing exceptions

[WARNING]
java.lang.IllegalArgumentException: The versionless coordinates should have one colon character: com.google.cloud:libraries-bom:1.0.0
at com.google.common.base.Preconditions.checkArgument (Preconditions.java:142)
at com.google.cloud.tools.opensource.dashboard.DashboardMain.generateAllVersions (DashboardMain.java:119)
at com.google.cloud.tools.opensource.dashboard.DashboardMain.main (DashboardMain.java:107)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:748)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.659 s
[INFO] Finished at: 2020-07-13T10:05:37-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default-cli) on project dashboard: An exception occured while executing the Java class. The versionless coordinates should have one colon character: com.google.cloud:libraries-bom:1.0.0 -> [Help 1]
[ERROR]

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。