[EMAIL PROTECTED] (Simon Cozens) writes:
> I have some Java code, which unfortunately I can't seem to break down to a
> smaller example.

Yes, I can!

  // This method works!
  public void test_a() throws 
  javax.xml.parsers.ParserConfigurationException,
  org.xml.sax.SAXException
  {
  SAXParser y = 
    org.apache.xerces.jaxp.SAXParserFactoryImpl.newInstance().newSAXParser();
  }

  // This one doesn't!
  public void test_b() throws 
  javax.xml.parsers.ParserConfigurationException,
  org.xml.sax.SAXException
  {
  System.setProperty("javax.xml.parsers.SAXParserFactory",
                  "org.apache.xerces.jaxp.SAXParserFactoryImpl");
  SAXParser x =
javax.xml.parsers.SAXParserFactory.newInstance().newSAXParser();
  }

-- 
Ever wake up feeling like a null pointer? -Allan Pratt

Reply via email to