Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Merge requests
  • !819

Account for non-String ssid in MacWifiSsidFinder

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/andybons/patch-1 into master Jul 27, 2016
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: andybons

When attempting to build on the our corporate wifi network, I get the following error:

[com.facebook.buck.util.environment.MacWifiSsidFinder] Fetched SSID, but got unexpected non-string type (got: Google).

Google in this case is the SSID name, not the type. After updating the code to return the class name and running again, I get the following:

[com.facebook.buck.util.environment.MacWifiSsidFinder] Fetched SSID, but got unexpected non-string type (got: ca.weblite.objc.Proxy).

So it appears that in some (I’m assuming rare) cases, the call to ssid is resulting in a Proxy object being returned instead of a String.

Calling toString() solves this issue, but I’m also curious to know why this would happen in the first place.

This is running on 10.11.6 (15G31)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/andybons/patch-1