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 137114 - test startup failure in simpletests
Summary: test startup failure in simpletests
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: NB JUnit (show other bugs)
Version: 6.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-12 14:41 UTC by Jindrich Sedek
Modified: 2009-09-29 22:20 UTC (History)
2 users (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 Jindrich Sedek 2008-06-12 14:41:13 UTC
It's not possible tu start most of web tests. Try for example ant test-qa-functional in web.debug project

result:
    [junit] javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
    [junit]     at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113)
    [junit]     at org.netbeans.core.startup.SAXFactoryImpl.<clinit>(SAXFactoryImpl.java:90)
    [junit]     at org.netbeans.core.startup.Main.start(Main.java:245)
    [junit]     at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
    [junit]     at java.lang.Thread.run(Thread.java:595)
Comment 1 Jaroslav Tulach 2008-06-12 16:25:59 UTC
badd42b05bc7
Comment 2 Jindrich Sedek 2008-06-24 09:22:18 UTC
verified.
Comment 3 Quality Engineering 2008-06-27 16:17:24 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
Changeset: http://hg.netbeans.org/main/rev/badd42b05bc7
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #137114: Better way of looking for original DOM and SAX libraries
Comment 4 Jesse Glick 2008-07-08 13:40:59 UTC
Your change left a now-incorrect comment in sources: "Not app class loader. only ext and bootstrap"

Symptom related to that of issue #139048. This fix is simpler because the Ant execution engine is not in use and you do
not mind using ${java.class.path} to look up the original factory (I guess).