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/05/03 01:47:00 UTC
[jira] [Closed] (NETBEANS-4083) Exception creating NewProject
JavaWithMaven
[ https://issues.apache.org/jira/browse/NETBEANS-4083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernie Rael closed NETBEANS-4083.
--------------------------------
Resolution: Fixed
works with repo
{noformat}
o changeset: 4228:03cf67e46d05
| tag: upstream/master
| user: Benjamin Graf <be...@gmx.net>
| date: Thu Apr 30 18:33:23 2020 +0200
{noformat}
> 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
> Assignee: Ernie Rael
> Priority: Major
> Labels: pull-request-available
> 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