Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About BatchJob Delegate #214

Closed
kim-uen opened this issue Jan 11, 2017 · 2 comments
Closed

About BatchJob Delegate #214

kim-uen opened this issue Jan 11, 2017 · 2 comments
Assignees

Comments

@kim-uen
Copy link

kim-uen commented Jan 11, 2017

Hello,
I am trying to use BatchJobService on v201609.
I found the null point error of the method call of getBatchJobsUtilLogger() on the constructor.
It seems that there are no the instance property of AdwordsSession.
How can I avoid this error ?

Google\Api\AdsApi\AdWords\BatchJobs\v201609\BatchJobsDelegate.php

 public function __construct(
      AdWordsSession $session = null,
      Client $httpClient = null,
      $mutateResultClassName = null
  ) {
    if ($httpClient === null) {
      $stack = HandlerStack::create();
      $stack->before(
          'http_errors',
          GuzzleLogMessageHandler::log(
              $this->session->getBatchJobsUtilLogger())
      );
      $this->httpClient = new Client(['handler' => $stack]);
    } else {
      $this->httpClient = $httpClient;
    }
@fiboknacky fiboknacky self-assigned this Jan 11, 2017
@fiboknacky
Copy link
Member

Hello @kim-uen

It's a known issue, which is part of #197.
We're releasing a patch soon, so please follow up #197 instead.

Thanks for reporting.

Best,
Knack

@kim-uen
Copy link
Author

kim-uen commented Jan 11, 2017

Hello @fiboknacky

Thank you for your support.
I am waitng for release patch.

Best Regards,
Kim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants