You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/03/30 05:33:00 UTC
[jira] [Created] (NETBEANS-4083) Exception creating NewProject
JavaWithMaven
Ernie Rael created NETBEANS-4083:
------------------------------------
Summary: Exception creating NewProject JavaWithMaven
Key: NETBEANS-4083
URL: https://issues.apache.org/jira/browse/NETBEANS-4083
Project: NetBeans
Issue Type: Bug
Components: projects - Maven
Affects Versions: 12.0
Reporter: Ernie Rael
Fix For: 12.0
Dialog has incomplete validation for "Project Folder:". Also incomplete validation for "Package:". These problems affect several new project types
To reproduce "Project Folder:" problem
# touch /tmp/xxx # create some random file
# NewProject > JavaWithMaven > JavaApplication
# Enter "Project Location:" as "/tmp"
# Enter "Project Name:" as "xx
# click Finish
Observe exception (last few lines)
{code:java}
java.lang.IllegalArgumentException: Attempted to pass a non-directory to findProject: F:\tmp\xx@6b3ef9bc:3669eed1
at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:140)
[catch] at org.netbeans.modules.maven.newproject.ArchetypeWizardUtils.processProjectFolder(ArchetypeWizardUtils.java:208)
{code}
To reproduce "Package:" problem (several ways)
# NewProject > JavaWithMaven > JavaApplication
# Enter "Project Name:" as "xx-yy-8", notice that "Package:" has a trailing dot
# click Finish
Project is created with invalid package name.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists