3844Re: [xml-dbms] how to how to use manager tool and transfer the data in xml to sqlserver2000
- Oct 25 9:19 PMHello,
Sorry it has taken me so long to reply.
I tried this on my computer and was unable to recreate your error. I
then looked at the code for MapManager.createMapFromDTD. I cannot see
any code that looks like it might throw a null pointer exception.
I then tried deleting db.props, parser.props, and orders.dtd, but this
caused a FileNotFoundException.
Can you debug the code and see which line is causing the error? If you
do not have a debugger, you can insert the following line into the code:
System.out.println("I am here.");
and run the code. When you place this before the statement that causes
the error, this will print "I am here." on your command line. When you
place this after the statement that causes the error, this will not
print out. You will then know which line causes the error.
P.S. This mailing list does not accept attachments. This is to prevent
the spread of viruses. If you want to send text files (such as map
files), you need to include the information in your message. Thanks.
> After i config the environment ,i use the commandline as follow:
> org.xmlmiddleware.xmldbms.tools.MapManager File1
> =parser.props File2=db.props Input=DTD DTDFile=orders.dtd Output1=Map
> ders.map Output2=SQL SQLFile=orders.sql
> then the errors occur as follow:
> I can not resolve them by myself.help me please
> [Non-text portions of this message have been removed]
- << Previous post in topic