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 152165 - javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
Summary: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp....
Status: REOPENED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@third-party
URL: http://statistics.netbeans.org/except...
Keywords:
: 160785 160836 168841 176577 197100 198077 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-03 03:24 UTC by rogerjose81
Modified: 2011-04-26 12:02 UTC (History)
28 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 117022


Attachments
stacktrace (1.14 KB, text/plain)
2008-11-03 03:25 UTC, rogerjose81
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rogerjose81 2008-11-03 03:24:49 UTC
Build: NetBeans IDE 6.5 RC2 (Build 200810270001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

User Comments:
GUEST: Trying to Preview a JasperReport using the Preview function in the GUI Designer.

vogelor: i tried to "compile" a jasper-report xml file inside the ireports plugin



Stacktrace: 
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
Comment 1 rogerjose81 2008-11-03 03:25:03 UTC
Created attachment 73092 [details]
stacktrace
Comment 2 Peter Pis 2008-11-03 08:14:32 UTC
Reassigning to 3rd-party.
Comment 3 Exceptions Reporter 2008-11-06 22:17:07 UTC
This issue has already 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=117022
Comment 4 Exceptions Reporter 2008-12-07 13:31:49 UTC
This issue has already 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144746
Comment 5 vdb 2008-12-17 18:00:58 UTC
This fixes the problem: the jar xerces-2-8-0 contains the not found class; it is loaded by the module intallation in
./ide/modules/ext and can be copied to the map /ext to find in the java SDK dirs. Same solution for windows and linux !
This faulty installation should be corrected by the module developper.
Comment 6 rford 2008-12-17 19:42:08 UTC
I found xerces-2.8.0.jar in ..\netbeans 6.5\ide10\modules\ext  but  I'm not sure where it should be copied to correct 
the problem.

Thanks.
Comment 7 vdb 2008-12-18 08:14:25 UTC
The lib xerces must be copied to the used runtime java (jre) in map lib, submap ext.
Under my windows it is : C:\Program Files\Java\jdk1.6.0_06\jre\lib\ext\
Under linux, it depends where the used jre resides, usually somewhere in \usr\...
It seems that the soft looks for the library at a static point relative to the jre and not in the classpath.
This must be fixed before compilation by the third party provider. My i ask him to post a done so we can then download 
a corrected plugin ? Thanks.
Comment 8 fisu 2008-12-18 12:42:53 UTC
Excellent, I try your solution and works fine for me.
But, as you said, we must wait for a plugin final solution from the provider
Comment 9 Exceptions Reporter 2009-02-12 16:02:01 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200902120201)
http://statistics.netbeans.org/exceptions/detail.do?id=117022
Comment 10 dlipin 2009-03-21 09:47:38 UTC
*** Issue 160785 has been marked as a duplicate of this issue. ***
Comment 11 Vitezslav Stejskal 2009-09-11 13:11:02 UTC
*** Issue 168841 has been marked as a duplicate of this issue. ***
Comment 12 Vitezslav Stejskal 2009-09-11 13:11:43 UTC
*** Issue 160836 has been marked as a duplicate of this issue. ***
Comment 13 Vitezslav Stejskal 2009-11-13 04:44:49 UTC
*** Bug 176577 has been marked as a duplicate of this bug. ***
Comment 14 Jesse Glick 2011-03-28 19:17:06 UTC
*** Bug 197100 has been marked as a duplicate of this bug. ***
Comment 15 Anton Chechel 2011-04-26 12:02:07 UTC
*** Bug 198077 has been marked as a duplicate of this bug. ***