[ 
https://issues.apache.org/jira/browse/NETBEANS-4083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ernie Rael reassigned NETBEANS-4083:
------------------------------------

    Assignee: Ernie Rael

> 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
>             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-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

Reply via email to