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 43624 - [JDK1.5] Cannot create new project on JDK1.5
Summary: [JDK1.5] Cannot create new project on JDK1.5
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: libs (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: REGRESSION
: 43703 51917 72916 (view as bug list)
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-05-20 15:17 UTC by _ rkubacki
Modified: 2006-05-04 12:59 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
error output (5.63 KB, text/plain)
2004-05-20 15:17 UTC, _ rkubacki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-05-20 15:17:01 UTC
dev build from May 20, JDK1.5.0b51 and b50, RH 9
Linux 

I can't create new project. There are problems
with stylesheet compilation. 

It might be related to Xalan removal (issue 38300)
or less likely some problem with this JDK build.
Comment 1 _ rkubacki 2004-05-20 15:17:38 UTC
Created attachment 15035 [details]
error output
Comment 2 Jesse Glick 2004-05-20 17:06:48 UTC
I was just noticing this myself.

It is a result of removing Xalan from the build. The JDK's version of
Xalan is apparently broken. (You didn't check this before removing our
copy of Xalan?)

We need to file a JDK bug and get them to fix it ASAP. This looks like
a serious regression in the JAXP implementation.
Comment 3 Jesse Glick 2004-05-20 17:26:01 UTC
I am working on a test case BTW. Easy to reproduce, it seems.
Comment 4 Jesse Glick 2004-05-20 17:43:45 UTC
Know how to reproduce, and think I know of a workaround.
Comment 5 Jesse Glick 2004-05-20 18:06:00 UTC
Filed JDK bug 5050502.
Comment 6 Jesse Glick 2004-05-20 18:37:52 UTC
Implemented a workaround.

committed   * Up-To-Date  1.11       
java/j2seproject/src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl
committed   * Up-To-Date  1.20       
web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl
Comment 7 _ rkubacki 2004-05-24 08:26:00 UTC
*** Issue 43703 has been marked as a duplicate of this issue. ***
Comment 8 David Konecny 2004-06-02 13:45:17 UTC
This JDK bug was workarounded also in issue 44171.
Comment 9 Jesse Glick 2004-10-12 17:56:57 UTC
The JDK bug was fixed in 1.5.0, so I will remove the workaround.
Comment 10 Jesse Glick 2004-10-13 20:34:05 UTC
Removing workaround:

committed   * Up-To-Date  1.7        
contrib/packager/src/org/netbeans/modules/packager/build-impl.xsl
committed   * Up-To-Date  1.38       
java/j2seproject/src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl
committed   * Up-To-Date  1.41       
web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl
Comment 11 alanobject 2004-12-01 05:15:37 UTC
I ran into this too --- thank goodness i found this issue in the data
base. 

When upgrading from 1.5.0beta to 1.5.0, I decided to unistall the old
stuff first.  Then netbeans wouldn't run because it couldn't find
java.exe!   I had to reinstall nb then because i couldn't find the
configuration file that controlled that.  Oh, well.  It's working now.
Comment 12 Jan Chalupa 2004-12-01 17:08:19 UTC
*** Issue 51917 has been marked as a duplicate of this issue. ***
Comment 13 Milan Kubec 2006-05-04 12:59:13 UTC
*** Issue 72916 has been marked as a duplicate of this issue. ***