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 160836 - javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
Summary: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp....
Status: RESOLVED DUPLICATE of bug 152165
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@third-party
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-23 04:09 UTC by Exceptions Reporter
Modified: 2009-09-11 13:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144017


Attachments
stacktrace (1.78 KB, text/plain)
2009-03-23 04:09 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2009-03-23 04:09:34 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

Stacktrace: 
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
        at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:134)
        at org.netbeans.modules.web.jspparser.FastOpenInfoParser.parse(FastOpenInfoParser.java:409)
        at org.netbeans.modules.web.jspparser.FastOpenInfoParser.getJspOpenInfo(FastOpenInfoParser.java:120)
        at org.netbeans.modules.web.jspparser.JspParserImpl.getJspOpenInfo(JspParserImpl.java:127)
        at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getCachedOpenInfo(TagLibParseSupport.java:265)
        at org.netbeans.modules.web.core.jsploader.JspDataObject.updateFileEncoding(JspDataObject.java:207)
Comment 1 Exceptions Reporter 2009-03-23 04:09:43 UTC
Created attachment 78613 [details]
stacktrace
Comment 2 Marek Fukala 2009-03-24 15:36:09 UTC
Cannot reproduce, looks like a dependent module libs.xerces is not enabled or another implementation of the xerces is on
classpath.

Can someone from QE please try to check this on windows and jdk 1.6.0? Thanks.
Comment 3 Jaroslav Pospisil 2009-03-24 15:54:21 UTC
Are there any steps to reproduce? Configuration's not problem.
Comment 4 Marek Fukala 2009-03-24 16:00:32 UTC
Just open a JSP file. Maybe try one out of a web project as well. Thanks!
Comment 5 Jaroslav Pospisil 2009-03-25 14:10:53 UTC
Tested on JDK 1.6.0_13,Win Vista, Ant and Maven web project's index.jsp - all OK.
Comment 6 Martin Schovanek 2009-03-25 14:27:24 UTC
By this log it looks like the SAXParserFactoryImpl is on CP twice.

WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.apache.xerces.jaxp.SAXParserFactoryImpl arbitrarily
from one of org.netbeans.StandardModule$OneModuleClassLoader@a7ae01[org.netbeans.libs.xerces] and
org.netbeans.StandardModule$OneModuleClassLoader@d006a7[com.jaspersoft.ireport] starting from SystemClassLoader[847
modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.apache.xerces.parsers.SAXParser arbitrarily from one of
org.netbeans.StandardModule$OneModuleClassLoader@a7ae01[org.netbeans.libs.xerces] and
org.netbeans.StandardModule$OneModuleClassLoader@d006a7[com.jaspersoft.ireport] starting from SystemClassLoader[847
modules]; see http://wiki.netbeans.org/DevFaqModuleCCE

see:
http://statistics.netbeans.org/exceptions/messageslog?id=154682


Comment 7 Marek Fukala 2009-04-28 09:42:43 UTC
It is likely a problem with third party module:

http://www.netbeans.org/community/articles/interviews/toffoli-ireport-netbeans.html
Comment 8 Vitezslav Stejskal 2009-09-11 13:11:45 UTC

*** This issue has been marked as a duplicate of 152165 ***