1 message in com.googlegroups.google-finance-apis[Google Finance APIs] Error creating ...
FromSent OnAttachments
sivaJan 20, 2009 4:06 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[Google Finance APIs] Error creating portfolioActions...
From:siva (reso@gmail.com)
Date:Jan 20, 2009 4:06:57 am
List:com.googlegroups.google-finance-apis

Hi All,

I am developing an application using Google finance API on Google android mobile. In my java class i have written a method in which i wrote code required for creating a portfolio but when i run the application for the first time when i enter a portfolio name and press submit it is giving exception that

com.google.gdata.util.ParseException: At line2 column 0: no element found

if i enter the portfolio name for the second time it is working properly. I have tried in different ways but i am getting the same exception for the first time at this part of the code it is giving null value

PortfolioEntry entry=FinanceUtilities.makePortfolioEntry (portfolioname, Currencycode);

I don't know how to deal with this exception. Please guide me in this regard.

Sorry for my poor english.

Thanks in Advance, Sivaram