Search the web
Sign In
New User? Sign Up
xml-dbms
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
how to how to use manager tool and transfer the data in xml to sqlse   Message List  
Reply | Forward Message #3844 of 3867 |
Re: [xml-dbms] how to how to use manager tool and transfer the data in xml to sqlserver2000

Hello,

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.

Thanks,

-- Ron

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.

ffffffffffc5fffffffffff4ffffffffffb7ffffffffffc9
ffffffffffc0ffffffffffee wrote:

> After i config the environment ,i use the commandline as follow:
> E:\xmldbms20alpha3\samples>java
> org.xmlmiddleware.xmldbms.tools.MapManager File1
> =parser.props File2=db.props Input=DTD DTDFile=orders.dtd Output1=Map
> MapFile=or
> ders.map Output2=SQL SQLFile=orders.sql
> then the errors occur as follow:
> java.lang.NullPointerException
> at
> org.xmlmiddleware.xmldbms.tools.MapManager.createMapFromDTD(MapManage
> r.java:614)
> at
> org.xmlmiddleware.xmldbms.tools.MapManager.dispatch(MapManager.java:407)
> at
> org.xmlmiddleware.xmldbms.tools.MapManager.main(MapManager.java:348)
> I can not resolve them by myself.help me please
>
>
> ---------------------------------
> Ż䣬飡
>
> [Non-text portions of this message have been removed]




Fri Oct 26, 2007 4:19 am

xmldbms
Offline Offline
Send Email Send Email

Forward
Message #3844 of 3867 |
Expand Messages Author Sort by Date

After i config the environment ,i use the commandline as follow: E:\xmldbms20alpha3\samples>java org.xmlmiddleware.xmldbms.tools.MapManager File1 =parser.props...
ffffffffffc5fffffff...
leepf7211
Offline Send Email
Oct 23, 2007
9:00 am

Hello, 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...
Ronald Bourret
xmldbms
Offline Send Email
Oct 26, 2007
4:17 am
Advanced

Copyright 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help