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 72815 - Xalan issue on IBM JDK 1.5
Summary: Xalan issue on IBM JDK 1.5
Status: VERIFIED DUPLICATE of bug 66563
Alias: None
Product: xml
Classification: Unclassified
Component: API (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-19 15:39 UTC by rnatella
Modified: 2007-09-25 01:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rnatella 2006-02-19 15:39:07 UTC
As reported in:

http://www.netbeans.org/issues/show_bug.cgi?id=66563
http://issues.apache.org/jira/browse/XALANJ-2219
http://wiki.java.net/bin/view/Netbeans/FaqXalanOnCP

netbeans avoids to start if a bugged xalan is found in the classpath. So I
removed the "xalan" directory in the org/apache directory of jre/lib/xml.jar **,
then netbeans starts successfully. However, when creating a new project (for
example using the TomcatJSPExample included in netbeans), there's an exception
caused by:

Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found
        at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
        at org.openide.xml.XMLUtil.write(XMLUtil.java:396

....

and the project creation isn't complete (for example, nbproject/project.xml is
empty). So, does netbeans need xalan to create a new project? How can I avoid
that exception if I remove xalan? A similar error is reported if a run an
existing project with the bundled tomcat.

** I try netbeans 5.0 on linux/powerpc, using the IBM JDK 1.5 beta.
Comment 1 Jesse Glick 2006-02-19 16:00:19 UTC
Wrong component; has nothing to do with XML editing modules.

Yes NetBeans needs Xalan - or rather, some working JAXP implementation - to
create projects.

Currently I think NB 5.0 is unable to run on the IBM JDK 1.5 release due to this
bug, sorry. Volunteers would be appreciated to study the plethora of JAXP bugs
that have necessitated workarounds and counterworkarounds for various JDK
releases and try to come with a unifying org.openide.xml.XMLUtil.write that
works correctly on every vendor's JDK version 1.4 or above.

Please refer to issue #66563 for all details and add any new information there.

*** This issue has been marked as a duplicate of 66563 ***
Comment 2 Jiri Kovalsky 2006-03-07 12:35:17 UTC
Verified as duplicate of another issue. Thanks for your report anyway !