From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050330 Description of problem: > rpm -q xml-commons-apis xml-commons-apis-1.0-0.b2.6jpp_5fc > gij mytest > rpm --upgrade xml-commons-1.0-0.b2.6jpp_6fc.noarch.rpm > gij mytest Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider for javax.xml.parsers.SAXParserFactory cannot be found at javax.xml.parsers.SAXParserFactory.newInstance() (Unknown Source) at mytest.main(java.lang.String[]) (Unknown Source) at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0) at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) Version-Release number of selected component (if applicable): xml-commons 1.0-0.b2.6jpp_6fc How reproducible: Always Steps to Reproduce: > cat mytest.java import javax.xml.parsers.*; public class mytest { static public void main(String[] args) { SAXParserFactory spf = SAXParserFactory.newInstance(); } } Expected Results: regression ? between 5fc and 6fc Additional info: Blocks building OOo2
FWIW: manually removing /usr/share/java/gcj-endorsed-xml-commons-apis-1.0.jar gets rid of the error
Yeah, I see this on my box too...
Ah, it's because you have not specified a parser. Previously you were using libgcj's implementation of javax.xml.parsers.SAXParserFactory which provided a default if none was set, whereas now you're using the xml-commons one which has no default.
Fixed in xml-commons-1.0-0.b2_6jpp_7fc
I'm getting similar behaviour now trying to run Eclipse, but with: Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found I'll attach my Eclipse log.
Created attachment 113588 [details] Eclipse log with failure.
I forgot the versions: xml-commons-1.0-0.b2.6jpp_7fc xml-commons-apis-1.0-0.b2.6jpp_7fc libgcj-4.0.0-0.42 eclipse-platform-3.1.0_fc-0.M6.10
Fixed in xml-commons-1.0-0.b2_6jpp_8fc
I installed the xml-commons rpms from beehive, and it still fails: rpm -q xml-commons xml-commons-1.0-0.b2.6jpp_9fc rpm -q xml-commons-apis xml-commons-apis-1.0-0.b2.6jpp_9fc I'll leave it closed until it propogates to rawhide tommorrow, to be sure that I have not missed any other dependencies (I'll have yum do all the updating).
I've backed out the changes that caused these problems for xml-commons-1.0-0.b2.6jpp_10fc.