Skip to content

Possible NPE calculating X-Goog-Api-Client header #1209

@chingor13

Description

@chingor13

Environment details

  • OS: none (GAE standard 7)
  • Java version: 7
  • google-api-java-client version: 1.26.0

Steps to reproduce

  1. GAE Standard Java 7 (deprecated) may not set the os.version System property and could cause a NPE.

External references such as API reference guides used

private static final String OS_VERSION = formatSemver(System.getProperty("os.version"));

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions