RE: java.lang.NullPointerException with DOMTransformer

2002-03-09 Thread Vadim Gritsenko
Thanks, it's in CVS. Vadim > From: Peter Seiderer [mailto:[EMAIL PROTECTED]] > > Hello Vadim, > sorry but you new patch gives although a NullPointerException, I even > added > this.setContentHandler(this.handler); > this.setLexicalHandler(this.handler); > to the recycle because both handler are

Re: java.lang.NullPointerException with DOMTransformer

2002-03-09 Thread Peter Seiderer
Hello Vadim, sorry but you new patch gives although a NullPointerException, I even added this.setContentHandler(this.handler); this.setLexicalHandler(this.handler); to the recycle because both handler are set to null in DOMBuilder-->AbstractXMLPipe-->AbstractXMLProducer.recycle(), but this leads

Re: java.lang.NullPointerException with DOMTransformer

2002-03-07 Thread Peter Seiderer
Hello, the following patch is a solution for the second NullPointerException (but I am not sure if it is the best/right solution): diff -u cocoon-2.0.1/src/java/org/apache/cocoon/xml/dom/DOMBuilder.java_orig cocoon-2.0.1/src/java/org/apache/cocoon/xml/dom/DOMBuilder.java --- cocoon-2.0.1/src/ja

Re: java.lang.NullPointerException with DOMTransformer

2002-03-07 Thread Peter Seiderer
Hello, thank you for the patch, now it works partly, the first access to a URL (eg. http://localhost/test.xml) where the DummyDOMTransfomer is in the pipline succeeds, but a next access on the same URL with different submit paramters (eg. http://localhost/test.xml?bla=blub) failes with java.lang.N

RE: java.lang.NullPointerException with DOMTransformer

2002-03-07 Thread Vadim Gritsenko
This is a known issue and I have patch sitting on my disk. It is not 100% tested yet and might have some errors, thus not commited to CVS. I'm attaching patched file so you can try it. Vadim > From: Peter Seiderer [mailto:[EMAIL PROTECTED]] > > Hello, > since Cocoon-2.0.1 I get a java.lang.Null

java.lang.NullPointerException with DOMTransformer

2002-03-07 Thread Peter Seiderer
Hello, since Cocoon-2.0.1 I get a java.lang.NullPointerException when I trie to use a DOMTransformer, see the attached soucce code for a DummyDOMTransformer: --- begin file: de/ciselant/cocoon/transformation/DummyDOMTransformer --- package de.ciselant.cocoon.transformation; import org.apache.co