Re: [iText-questions] XML2PDF ExceptionConverter: java.lang.NullPointerException

2006-11-23 Thread Bruno Lowagie (iText)
Ray wrote: > public TagMap(String tagfile) { > super(); > try { > //init(TagMap.class.getClassLoader().getResourceAsStream(tagfile)); > init(new FileInputStream(tagfile)); > }catch(Exception e) { > throw new ExceptionConverter(e); > } > } What if you change the constructor lik

[iText-questions] XML2PDF ExceptionConverter: java.lang.NullPointerException

2006-11-23 Thread Ray
Hi Bruno, the code below throw a iText Exception, if i try to convert my xmlfile with my own tagfile: ExceptionConverter: java.lang.NullPointerException at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source) at org.apache.crimson.parser.Parser2.parse(Unknown Source)