google / google/copybara

$HOME not found in Windows

Open
#38 6 comments 2 reactions 1 assignee Claimed by @mikelalcon View on GitHub
Dominant language
Java
Stars
3.8k
Forks
345
PR merge metrics
No merged PRs in 30d

Description

From : https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/copybara-discuss/XPTFivEHJUg/B_mlkpc5CgAJ

Hi Mikel,

Thanks for replying. Yes, I am using windows. Here is the stack trace:

Task: Cleaning output directory.
java.lang.NullPointerException: $HOME environment var is not set
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787)
at com.google.copybara.GeneralOptions.getDirFactory(GeneralOptions.java:208)
at com.google.copybara.Main.lambda$cleanupOutputDir$0(Main.java:351)
at com.google.copybara.GeneralOptions.ioRepoTask(GeneralOptions.java:189)
at com.google.copybara.Main.cleanupOutputDir(Main.java:345)
at com.google.copybara.Main.initEnvironment(Main.java:337)
at com.google.copybara.Main.runInternal(Main.java:160)
at com.google.copybara.Main.run(Main.java:107)
at com.google.copybara.Main.main(Main.java:86)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.