This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258124 - Unable to create a new project
Summary: Unable to create a new project
Status: RESOLVED INCOMPLETE
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P1 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-24 02:24 UTC by mannly01
Modified: 2016-06-27 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (795.97 KB, text/plain)
2016-02-24 02:24 UTC, mannly01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mannly01 2016-02-24 02:24:52 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.3 running on x86_64
Java; VM; Vendor = 1.8.0_73
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.73-b02

Reproducibility: Happens every time

STEPS:
  * Click "New Project" button or on "File Menu"
  * Select "Java" > "Java Application"
  * Click "Next" button
  * Fill in "Project Name"
  * Click "Browse" button
  * Select any folder
  * Click "Open" button
  * Learn all other fields at their defaults
  * Click "Finish" button

ACTUAL:
  Receive error: "Project Folder already exists and is not empty"

EXPECTED:
  Wizard should finish and project should be created
Comment 1 mannly01 2016-02-24 02:24:55 UTC
Created attachment 158623 [details]
IDE log
Comment 2 mannly01 2016-02-24 02:27:38 UTC
8th step should read "Leave all other fields at their defaults"
Comment 3 Jiri Prox 2016-02-24 09:13:37 UTC
What value is in "Project Folder" field after selecting the project location?
Comment 4 mannly01 2016-02-24 19:57:06 UTC
I have tried many different ways:
1) Leave the defaults:
  1.a) Project Name: JavaApplication1
  1.b) Project Location: /Users/george/NetBeansProjects
  1.c) Project Folder: /Users/george/NetBeansProjects/JavaApplication1
2) Change the Project Name:
  2.a) Project Name: HelloWorld
  2.b) Project Location: /Users/george/NetBeansProjects
  2.c) Project Folder: /Users/george/NetBeansProjects/HellowWorld
3) Change the Project Location:
  3.a) Project Name: JavaApplication1
  3.b) Project Location: /Users/george/Desktop
  3.c) Project Folder: /Users/george/Desktop/JavaApplication1
4) Change the Project Name and Location:
  4.a) Project Name: HelloWorld
  4.b) Project Location: /Users/george/Desktop
  4.c) Project Folder: /Users/george/Desktop/HelloWorld

With all of these options, I am leaving the "Use Dedicated Folder for Storing Libraries" check box off and the "Create Main Class" check box on.

I receive the same error every time I click the "Finish" button: "Project Folder already exists and is not empty."

This is a brand new install of NetBeans 8.1 on a 2 month old install of El Capitan that has been updated with all of the Apple OS X updates to 10.11.3.
Comment 5 Jiri Prox 2016-02-25 11:16:52 UTC
It look like your installation is broken. according to the log several files are missing. One of them is scheme for project.xml so I guess the IDE does not understand project structure now.

Can you please try reinstall Netbeans?



Related part of log:
Caused: java.io.FileNotFoundException: Cannot find 'jar:file:/Applications/NetBeans/NetBeans%208.1.app/Contents/Resources/NetBeans/apisupport/modules/org-netbeans-modules-apisupport-ant.jar!/org/netbeans/modules/apisupport/project/resources/nb-module-project-private.xsd'