[jdom-interest] debug everywhere

dmatthews at inbox.lv dmatthews at inbox.lv
Fri Jan 19 11:31:36 PST 2007

Hi jdom

import org.jdom.Document;
SAXBuilder builder = new SAXBuilder();
            Document doc = builder.build("path to file");
 } catch(Exception e){}

on Gnu\Linux with java 1.5 or 1.6 - good
on Windows with java 1.5 - good
on Windows with java 1.6 - NullPointerException 

this works in all above cases:-

File file = new File("path to file");
           Document doc = builder.build(file);
 } catch(Exception e){}

hope this is of interest
thanks for jdom

More information about the jdom-interest mailing list