You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/08/17 17:41:19 UTC

[GitHub] [beam] tvalentyn commented on a diff in pull request #22469: Improve error message on schema issues

tvalentyn commented on code in PR #22469:
URL: https://github.com/apache/beam/pull/22469#discussion_r948247118


##########
sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/utils/ByteBuddyUtils.java:
##########
@@ -1440,7 +1440,11 @@ protected InvokeUserCreateInstruction(
         }
         if (index == null) {
           throw new RuntimeException(
-              "Creator parameter " + paramName + " Doesn't correspond to a schema field");
+              "Creator parameter "
+                  + paramName
+                  + " Doesn't correspond to a schema field."
+                  + " Make sure that you are compiling with -parameters parameter to include"
+                  + " constructor parameter information in class files..");

Review Comment:
   ```suggestion
                     + " constructor parameter information in class files.");
   ```



-- 
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: github-unsubscribe@beam.apache.org

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