This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch try_fix_commit_validation2 in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/try_fix_commit_validation2 by this push: new 51abe34f9c Add debug statements to pin-point validation problem 51abe34f9c is described below commit 51abe34f9cb22fc8109ab71e7a0699713b28e8ee Author: Matthias Bläsing <mblaes...@doppel-helix.eu> AuthorDate: Sun May 29 15:39:52 2022 +0200 Add debug statements to pin-point validation problem --- .../src/org/netbeans/modules/maven/actions/RunCustomMavenAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/maven/src/org/netbeans/modules/maven/actions/RunCustomMavenAction.java b/java/maven/src/org/netbeans/modules/maven/actions/RunCustomMavenAction.java index 20ad3071dc..a3d9d390cd 100644 --- a/java/maven/src/org/netbeans/modules/maven/actions/RunCustomMavenAction.java +++ b/java/maven/src/org/netbeans/modules/maven/actions/RunCustomMavenAction.java @@ -122,9 +122,9 @@ public class RunCustomMavenAction extends AbstractAction implements ContextAware public static Action create(FileObject fo) { String mapp = (String) fo.getAttribute(MAVEN_ATTR); - assert mapp != null; + assert mapp != null : "Failed to fetch maven-goal for " + fo; String imagePath = (String)fo.getAttribute("imagePath"); - assert imagePath != null; + assert imagePath != null : "Failed to fetch imagePath for " + fo; RunCustomMavenAction act = new RunCustomMavenAction(mapp); String name = mapp; if (name.startsWith("CUSTOM-")) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists