Hi,

The compiled class files in the jar files should have debugging info (line 
numbers, etc.), so I would expect this to work in a debugger. Did you check 
in your IDE?

Thanks,
Josh, AdWords API Team

On Thursday, March 17, 2016 at 4:49:14 AM UTC-4, Kevin wrote:
>
> No I don't think I will be able to step through with a debugger as I only 
> use the compiled jar files not the class files.
>
> On Tuesday, March 8, 2016 at 3:58:16 PM UTC+1, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> The client library uses the Guice <https://github.com/google/guice> 
>> dependency 
>> injection framework pretty heavily, so I wonder if ColdFusion doesn't play 
>> nice with Guice. Are you able to step through the code in a debugger to see 
>> if the *MessageContext *on 236 of AxisHandler.java 
>> <https://github.com/googleads/googleads-java-lib/blob/master/modules/ads_lib_axis/src/main/java/com/google/api/ads/common/lib/soap/axis/AxisHandler.java#L236>
>>  is 
>> null? I'm trying to figure out if that's the source of the NPE or if 
>> instead it's because messageContext.getRequestMessage() returns null.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, March 8, 2016 at 8:56:07 AM UTC-5, Kevin wrote:
>>>
>>> Hello,
>>>
>>> sorry for the late reply.
>>>
>>> I think you mean the logfile created by log4j, or? I'm sorry, but I 
>>> can't provide you the log file as I can't find it on the system. I think 
>>> the error handling if handled by the build in error logging system in 
>>> ColdFusion.
>>> So here is the only information I can provide you with at the moment:  
>>> java.lang.NullPointerException at com.google.api.ads.common.lib.soap.
>>> axis.AxisHandler.invokeSoapCall(AxisHandler.java:239)
>>>
>>> Just for your Information: ColdFusion is an Application Servlet 
>>> Container working on top of Java on a Tomcat Server (in our case) which has 
>>> it's own language. As it sit's on top of Java you can use most parts of 
>>> Java.
>>>
>>>
>>> I'll try to develop the required part completly in Java, but as I 
>>> haven't developed anything with Java yet I'm not sure if it will work in 
>>> the end.
>>>
>>>
>>>
>>>
>>> On Thursday, February 25, 2016 at 3:50:47 PM UTC+1, Michael Cloonan 
>>> (AdWords API Team) wrote:
>>>>
>>>> Hello,
>>>>
>>>> I apologize if the previous request wasn't clear. Unfortunately, we are 
>>>> only able to help with the AdWords API specifically, so the request was 
>>>> for 
>>>> logs to the AdWords API. I understand that you may not be getting as far 
>>>> as 
>>>> actually invoking a call to the AdWords API, however, as it appears the 
>>>> error you're encountering happens before that.
>>>>
>>>> We are not able to provide assistance with ColdFusion specifically, 
>>>> however. Are you able to make calls to the AdWords API without using that 
>>>> framework?
>>>>
>>>> Regards,
>>>> Mike, AdWords API Team
>>>>
>>>> On Thursday, February 25, 2016 at 3:04:53 AM UTC-5, Kevin wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> After investigation more into the problem of not logging the errors I 
>>>>> found a way to get the stacktrace of the error.
>>>>>
>>>>> Here is the error message:
>>>>> java.lang.NullPointerException
>>>>>         at 
>>>>> com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(
>>>>> AxisHandler.java:239)
>>>>>
>>>>>         at 
>>>>> com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(
>>>>> SoapServiceClient.java:62)
>>>>>
>>>>>         at 
>>>>> com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(
>>>>> SoapServiceClient.java:92)
>>>>>
>>>>>         at com.sun.proxy.$Proxy17.get(Unknown Source)
>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>         at 
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>>>> java:62)
>>>>>
>>>>>         at 
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>>> DelegatingMethodAccessorImpl.java:43)
>>>>>
>>>>>         at java.lang.reflect.Method.invoke(Method.java:497)
>>>>>         at coldfusion.runtime.StructBean.invoke(StructBean.java:508)
>>>>>         at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2393)
>>>>>         at 
>>>>> cfindex2ecfm69063337$funcTESTSHIT.runFunction(/opt/tomc12180/webapps/
>>>>> ROOT/WWW/sec/500000/module/content/marketing/adWordsAPI/index.cfm:104)
>>>>>
>>>>>         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>>>>>         at 
>>>>> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod
>>>>> .java:368)
>>>>>
>>>>>         at 
>>>>> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.
>>>>> java:55)
>>>>>
>>>>>         at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:
>>>>> 321)
>>>>>         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
>>>>>         at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582
>>>>> )
>>>>>         at 
>>>>> cfindex2ecfm69063337.runPage(/opt/tomc12180/webapps/ROOT/WWW/sec/
>>>>> 500000/module/content/marketing/adWordsAPI/index.cfm:115)
>>>>>
>>>>>         at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
>>>>>         at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.
>>>>> java:416)
>>>>>         at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.
>>>>> java:65)
>>>>>         at 
>>>>> coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:360)
>>>>>         at 
>>>>> coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.
>>>>> java:48)
>>>>>
>>>>>         at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.
>>>>> java:40)
>>>>>         at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
>>>>>         at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.
>>>>> java:70)
>>>>>         at 
>>>>> coldfusion.filter.ClientScopePersistenceFilter.invoke(
>>>>> ClientScopePersistenceFilter.java:28)
>>>>>
>>>>>         at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:
>>>>> 38)
>>>>>         at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:
>>>>> 46)
>>>>>         at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:
>>>>> 38)
>>>>>         at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.
>>>>> java:22)
>>>>>         at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:
>>>>> 62)
>>>>>         at coldfusion.CfmServlet.service(CfmServlet.java:200)
>>>>>         at 
>>>>> coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89
>>>>> )
>>>>>         at 
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>>>>> ApplicationFilterChain.java:303)
>>>>>
>>>>>         at 
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(
>>>>> ApplicationFilterChain.java:208)
>>>>>
>>>>>         at 
>>>>> coldfusion.monitor.event.MonitoringServletFilter.doFilter(
>>>>> MonitoringServletFilter
>>>>> ...
>>>>
>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e15670b2-c59d-4de4-88f5-8732945af71a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Problem while u... Kevin
    • Re: Proble... 'Umesh Dengale' via AdWords API Forum
      • Re: Pr... Kevin
        • Re... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
          • ... Kevin
            • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
              • ... Kevin
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum

Reply via email to