svn commit: r565832 - /lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: rfrovarp
Date: Tue Aug 14 09:46:46 2007
New Revision: 565832

URL: http://svn.apache.org/viewvc?view=rev&rev=565832
Log:
Prevent NPE in final handleError() method.

Modified:
    lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java

Modified: lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java?view=diff&rev=565832&r1=565831&r2=565832
==============================================================================
--- lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java (original)
+++ lenya/trunk/src/modules/lucene/java/src/org/apache/cocoon/transformation/LuceneIndexTransformer2.java Tue Aug 14 09:46:46 2007
@@ -579,7 +579,7 @@
     }
 
     void handleError(String msg) throws SAXException {
-        this.handleError(msg, null);
+        this.handleError(msg, new Exception());
     }
 
     void handleError(Exception ex) throws SAXException {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.