Reply to this topicStart new topic
Exception in Starting Yahoo searching API Sample code
srinu n
post Jul 30 2009, 08:59 PM
Post #1
Group: Members
Posts: 2



Hi Friends,

This is the first day that i working on Yahoo search marketing API. When i started running addCompaingn.java i am getting the following Exception.

[b][debug] loading ewsconfig.properties
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.yahoo.sm.ws.client.AddCampaign.initialize(AddCampaign.java:46)
at com.yahoo.sm.ws.client.AddCampaign.main(AddCampaign.java:30)
Caused by: java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Unknown Source)
at java.util.Properties.load0(Unknown Source)
at java.util.Properties.load(Unknown Source)
at com.yahoo.sm.ws.client.helper.EWSConfigurator.<init>(EWSConfigurator.java:25)
at com.yahoo.sm.ws.client.helper.EWSConfigurator.<clinit>(EWSConfigurator.java:18)
... 2 more
[/b]

please advice me where the problem is.........?
Go to the top of the page
 
+Quote Post
« Next Oldest · General - APT · Next Newest »
 

Reply to this topicStart new topic

 



rss YDN Forum RSS feeds

YDN Content Copyright © 2010 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network - Send Your Suggestions