1 message in com.googlegroups.adwords-apiIllegal access: this web application ...| From | Sent On | Attachments |
|---|---|---|
| Nicolas | 25 Jan 2007 02:50 |
| Subject: | Illegal access: this web application instance has been stopped already![]() |
|---|---|
| From: | Nicolas (vept...@gmail.com) |
| Date: | 01/25/2007 02:50:38 AM |
| List: | com.googlegroups.adwords-api |
Good morning,
I use API adwords V7 with JAVA, i can run the KeywordToolDemo perfectly, but when i include my code in a tomcat/struts project i got an exception :
Here is my code, very simple, inside a struts action : (i didn t include import lines)
AdWordsServiceLogger.log();
AdWordsUser me = new AdWordsUser();
/* Here is the exception */ KeywordToolInterface s = (KeywordToolInterface)me.getService(me.KEYWORDTOOL_SERVICE);
.....
Very simple as you see ...
The exception :
Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)
Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact) Unhandled Exception thrown: class javax.xml.rpc.ServiceException StandardWrapperValve[action]: Servlet.service() for servlet action threw exception javax.xml.rpc.ServiceException: java.lang.NullPointerException at com.google.api.adwords.lib.BaseCredentials.getService(BaseCredentials.java:154) at com.toufik.struts.actions.Adwords.getAdWordsInfo(Adwords.java:28)
The line AdWordsServiceLogger.log(); doen't dislay any information related to XML data in my stdout ...
Very strange, any idea ?
Best regards,
Nicolas




