Hi Andre, thanks! That did the trick.
greetings! On 2/26/07, Bram Enning <[EMAIL PROTECTED]> wrote:
Hi André, Thanks for your help, but still no succes... I copied my file to the right spot by hand. Then I set the upload-directory through the webinterface (with a trailing slash): (I have to push the OK-button twice to get the transactions.file in the pull-down); I select the transactions-file in the pull-down and hit the Start import button; The "XML Importer running" page appears, indefenitely; A snippet of the logfile is below; The full content of the tcpReport.txt is also below The transactions-file I used is also below; More suggestions? ===Start=== <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE transactions SYSTEM "transactions.dtd"> <transactions exceptionPage="none" reportFile="tcpReport.txt" key="hokusspokuspitaluspas"> <createObject id="1" type="urls"> <setField name="name">MyFirstXMLImport</setField> <setField name="url">www.xmlimporttest.nl</setField> <setField name="owner">admin</setField> </createObject> </transactions> ====End==== ====Start=== <?xml version='1.0' encoding='ISO-8859-1'?> <!DOCTYPE transactions PUBLIC '-//MMBase/DTD transactions config 1.0//EN' 'http://www.mmbase.org/dtd/transactions_1_0.dtd'<http://www.mmbase.org/dtd/transactions_1_0.dtd%27> > <transactions exceptionPage="none" reportFile=" tcpReport.txt" key="hokusspokuspitaluspas"> ===End=== ===Start=== 2007-02-26 12:14:22,172 INFO xmlimporter.jsp.startimport.jsp - import started with file: /Users/user/EclipseWorkspace/myapp/transactions/transactions.xml 2007-02-26 12:14:22,176 SERVICE mmbase.applications.xmlimporter.TransactionHandler - TransactionHandler processing TCP 2007-02-26 12:14:22,254 SERVICE mmbase.applications.xmlimporter.TransactionsParser - Sax parser system id set to "/usr/local/apache- tomcat-5.5.20/webapps/ROOT/WEB-INF/config/dtd/" 2007-02-26 12:14:22,681 ERROR mmbase.applications.xmlimporter.TransactionHandler - TransactionError : java.lang.NullPointerException 2007-02-26 12:14:22,681 ERROR mmbase.applications.xmlimporter.TransactionHandler - ExceptionPage none 2007-02-26 12:14:22,682 WARN mmbase.applications.xmlimporter.TransactionHandler - Transaction stopped at : Mon Feb 26 12:14:22 CET 2007 ===End===
_______________________________________________ Users mailing list Users@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/users