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 233144 - Project cannot be created
Summary: Project cannot be created
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
: 233127 233143 233537 234036 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-22 07:09 UTC by Jiri Prox
Modified: 2015-07-23 09:00 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (93.36 KB, text/plain)
2013-07-23 05:58 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-07-22 07:09:06 UTC
It is not possible to create new empty javafx project. Every time the 'Finish' button in the new project dialog is pressed, a warning 'Project folder already exists and is not empty' is shown and the project is not created and opened. 



Product Version: NetBeans IDE Dev (Build 201307212300)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b53
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b34
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Jiri Prox 2013-07-22 07:52:49 UTC
It happens for javase project as well.

It happen only on jdk1.7.0_40, on jdk1.7.0_25 it works well
Comment 2 Stepan Zebra 2013-07-22 10:34:23 UTC
Similar problem with JavaEE projects. There seems to be problem only with 7u40 build 34. Build 33 works fine.
Comment 3 Antonin Nebuzelsky 2013-07-22 15:17:24 UTC
(In reply to comment #2)
> Similar problem with JavaEE projects. There seems to be problem only with 7u40
> build 34. Build 33 works fine.

This is the changelog of b34:
http://download.java.net/jdk7u40/changes/jdk7u40-b34.html
Comment 4 Marian Mirilovic 2013-07-22 15:34:13 UTC
*** Bug 233127 has been marked as a duplicate of this bug. ***
Comment 5 David Strupl 2013-07-22 21:17:09 UTC
Anything suspicious in the messages.log? Can anyone with the affected build installed attach it? Thanks.
Comment 6 Jiri Prox 2013-07-23 05:58:39 UTC
Created attachment 137593 [details]
messages.log
Comment 7 Tomas Zezula 2013-07-23 11:47:09 UTC
The problem is in GeneratedFilesHelper.generateBuildScriptFromStylesheet failing to do XSLT transformation. I am downloading 1.7_40 to find out more.
Comment 8 Milos Kleint 2013-07-23 11:51:53 UTC
related/duplicate of issue 233143
Comment 9 Tomas Zezula 2013-07-23 12:53:57 UTC
The problem is in com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.setProperty (SAXParserImpl.java:545)
which does not check the fSAXParser for null, see http://hg.openjdk.java.net/jdk7u/jdk7u40/jaxp/diff/4149e4abea17/src/com/sun/org/apache/xerces/internal/jaxp/SAXParserImpl.java
Comment 10 Milos Kleint 2013-07-23 12:56:19 UTC
*** Bug 233143 has been marked as a duplicate of this bug. ***
Comment 11 Marian Mirilovic 2013-07-23 13:42:40 UTC
(In reply to comment #9)
> The problem is in
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.setProperty
> (SAXParserImpl.java:545)
> which does not check the fSAXParser for null, see
> http://hg.openjdk.java.net/jdk7u/jdk7u40/jaxp/diff/4149e4abea17/src/com/sun/org/apache/xerces/internal/jaxp/SAXParserImpl.java

Tonda, could we escalate ?
Comment 12 Antonin Nebuzelsky 2013-07-23 15:58:58 UTC
Filed as a P1 for 7u40, #8021148. Closing this issue on NB side.
Comment 13 jdeberhardt 2013-07-24 03:49:47 UTC
Sorry, I am new programming. I'm not following the below chain of comments entirely. What can I do so I can create projects with NetBeans and start learning programming?
Comment 14 Antonin Nebuzelsky 2013-07-24 13:50:32 UTC
(In reply to comment #13)
> Sorry, I am new programming. I'm not following the below chain of comments
> entirely. What can I do so I can create projects with NetBeans and start
> learning programming?

You will run into this bug only if you start NetBeans with JDK 7u40 b34 (a promoted build of a not yet final 7u40 release).

Use your NetBeans installation with the latest released JDK 7u25 and you will not encounter this problem.
Comment 15 Marian Mirilovic 2013-07-27 14:20:44 UTC
*** Bug 233537 has been marked as a duplicate of this bug. ***
Comment 16 sreimers 2013-08-07 06:38:01 UTC
Could you please add JDK8 b101 as affected version in the official bugtracker - it just says fixed for u40 b36 - so we should make sure it gets into jdk8 as well. Thanks
Comment 17 Antonin Nebuzelsky 2013-08-07 09:40:07 UTC
(In reply to comment #16)
> Could you please add JDK8 b101 as affected version in the official bugtracker -
> it just says fixed for u40 b36 - so we should make sure it gets into jdk8 as
> well. Thanks

This has been taken care of by Java team. The JDK bug lists related issues and one of them is a backport of the fix into 8.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8021148
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8021428
Comment 18 Petr Somol 2013-08-07 16:17:05 UTC
*** Bug 234036 has been marked as a duplicate of this bug. ***
Comment 19 Jiri Prox 2013-10-01 07:52:03 UTC
*** Bug 236560 has been marked as a duplicate of this bug. ***
Comment 20 joshualee 2015-07-22 15:30:38 UTC
I'm getting the same issue. I already cleared my user dir and the issue temporarily went away, but is back after about an hour. What was the fix for this?
Comment 21 Antonin Nebuzelsky 2015-07-23 09:00:21 UTC
(In reply to joshualee from comment #20)
> I'm getting the same issue. I already cleared my user dir and the issue
> temporarily went away, but is back after about an hour. What was the fix for
> this?

This is a two years old bug on JDK side which was fixed in both 7u40 and 8.

Do not reopen. Instead file a new bug with details of your NB version, Java version, OS, and steps to reproduce.