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

unable to run under magic repo while downloading #20

Open
robertluo opened this issue Jun 26, 2020 · 2 comments
Open

unable to run under magic repo while downloading #20

robertluo opened this issue Jun 26, 2020 · 2 comments

Comments

@robertluo
Copy link

The full stacktrace after nos repl under a fresh magic checkout:

Installing [org.clojure/tools.analyzer "1.0.0"]
Extracting ["org.clojure" "tools.analyzer" "1.0.0"]
Downloading org.clojure-tools.analyzer-1.0.0-

Unhandled Exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: address
  at System.Net.WebClient.ThrowIfNull (System.Object argument, System.String parameterName) [0x00003] in <798b918dc3b349fe800cd90c8a6edb7c>:0
  at System.Net.WebClient.GetUri (System.String address) [0x00000] in <798b918dc3b349fe800cd90c8a6edb7c>:0
  at System.Net.WebClient.DownloadFile (System.String address, System.String fileName) [0x00000] in <798b918dc3b349fe800cd90c8a6edb7c>:0
  at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadFile(string,string)
  at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object,object)
  at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object,object)
  at nostrand$deps$maven$download_file__1779.__interop_DownloadFile1781 (System.Object , System.Object __temp_1, System.Object __temp_2) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$download_file__1779.invokeStatic (System.Object , System.Object ) [0x00006] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$download_file__1779.invoke (System.Object , System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$download_jar__1989.invokeStatic (System.Object ) [0x00187] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$download_jar__1989.invoke (System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$extract__2041.invokeStatic (System.Object , System.Object ) [0x00030] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$extract__2041.invoke (System.Object , System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$installfn__2059__2063.invoke (System.Object ) [0x0000a] in <834827fb0c47407badbee4dbce4bc947>:0
  at clojure$core$mapvfn__30070__30074.invoke (System.Object , System.Object ) [0x0000a] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29282__29286.invokeStatic (System.Object , System.Object , System.Object ) [0x000a7] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29282__29286.invoke (System.Object , System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29118G__29101__29135__29138.invoke (System.Object , System.Object , System.Object ) [0x0004e] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$seq_reduce__29151.invokeStatic (System.Object , System.Object , System.Object ) [0x0004d] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$seq_reduce__29151.invoke (System.Object , System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29213__29218.invokeStatic (System.Object , System.Object , System.Object ) [0x0000a] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29213__29218.invoke (System.Object , System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29068G__29051__29090__29093.invoke (System.Object , System.Object , System.Object ) [0x0004e] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x00061] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$mapv__30080.invokeStatic (System.Object , System.Object ) [0x0003d] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$mapv__30080.invoke (System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at nostrand$deps$maven$install__2066.invokeStatic (System.Object , System.Object ) [0x0008f] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$install__2066.invoke (System.Object , System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$fn__2072__2080.invokeStatic (System.Object , System.Object ) [0x001a4] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$fn__2072__2080.invoke (System.Object , System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at clojure.lang.MultiFn.invoke (System.Object arg1, System.Object arg2) [0x00027] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at nostrand$core$depend_STAR___2402.invokeStatic (System.Object , System.Object ) [0x0000a] in <3687bfb53fb647fcb30cb387d0a8c90e>:0
  at nostrand$core$depend_STAR___2402.invoke (System.Object , System.Object ) [0x00000] in <3687bfb53fb647fcb30cb387d0a8c90e>:0
  at nostrand$core$establish_environment__2447.invokeStatic (System.Object ) [0x0020b] in <3687bfb53fb647fcb30cb387d0a8c90e>:0
  at nostrand$core$establish_environment__2447.invoke (System.Object ) [0x00000] in <3687bfb53fb647fcb30cb387d0a8c90e>:0
  at clojure.lang.Var.invoke (System.Object arg1) [0x00010] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at Nostrand.Nostrand.Main (System.String[] args) [0x0007c] in <be23613959fc4eca92d140646926de3b>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null.
Parameter name: address
  at System.Net.WebClient.ThrowIfNull (System.Object argument, System.String parameterName) [0x00003] in <798b918dc3b349fe800cd90c8a6edb7c>:0
  at System.Net.WebClient.GetUri (System.String address) [0x00000] in <798b918dc3b349fe800cd90c8a6edb7c>:0
  at System.Net.WebClient.DownloadFile (System.String address, System.String fileName) [0x00000] in <798b918dc3b349fe800cd90c8a6edb7c>:0
  at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadFile(string,string)
  at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object,object)
  at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object,object)
  at nostrand$deps$maven$download_file__1779.__interop_DownloadFile1781 (System.Object , System.Object __temp_1, System.Object __temp_2) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$download_file__1779.invokeStatic (System.Object , System.Object ) [0x00006] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$download_file__1779.invoke (System.Object , System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$download_jar__1989.invokeStatic (System.Object ) [0x00187] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$download_jar__1989.invoke (System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$extract__2041.invokeStatic (System.Object , System.Object ) [0x00030] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$extract__2041.invoke (System.Object , System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$installfn__2059__2063.invoke (System.Object ) [0x0000a] in <834827fb0c47407badbee4dbce4bc947>:0
  at clojure$core$mapvfn__30070__30074.invoke (System.Object , System.Object ) [0x0000a] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29282__29286.invokeStatic (System.Object , System.Object , System.Object ) [0x000a7] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29282__29286.invoke (System.Object , System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29118G__29101__29135__29138.invoke (System.Object , System.Object , System.Object ) [0x0004e] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$seq_reduce__29151.invokeStatic (System.Object , System.Object , System.Object ) [0x0004d] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$seq_reduce__29151.invoke (System.Object , System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29213__29218.invokeStatic (System.Object , System.Object , System.Object ) [0x0000a] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29213__29218.invoke (System.Object , System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$protocols$fn__29068G__29051__29090__29093.invoke (System.Object , System.Object , System.Object ) [0x0004e] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x00061] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$mapv__30080.invokeStatic (System.Object , System.Object ) [0x0003d] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at clojure$core$mapv__30080.invoke (System.Object , System.Object ) [0x00000] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at nostrand$deps$maven$install__2066.invokeStatic (System.Object , System.Object ) [0x0008f] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$install__2066.invoke (System.Object , System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$fn__2072__2080.invokeStatic (System.Object , System.Object ) [0x001a4] in <834827fb0c47407badbee4dbce4bc947>:0
  at nostrand$deps$maven$fn__2072__2080.invoke (System.Object , System.Object ) [0x00000] in <834827fb0c47407badbee4dbce4bc947>:0
  at clojure.lang.MultiFn.invoke (System.Object arg1, System.Object arg2) [0x00027] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at nostrand$core$depend_STAR___2402.invokeStatic (System.Object , System.Object ) [0x0000a] in <3687bfb53fb647fcb30cb387d0a8c90e>:0
  at nostrand$core$depend_STAR___2402.invoke (System.Object , System.Object ) [0x00000] in <3687bfb53fb647fcb30cb387d0a8c90e>:0
  at nostrand$core$establish_environment__2447.invokeStatic (System.Object ) [0x0020b] in <3687bfb53fb647fcb30cb387d0a8c90e>:0
  at nostrand$core$establish_environment__2447.invoke (System.Object ) [0x00000] in <3687bfb53fb647fcb30cb387d0a8c90e>:0
  at clojure.lang.Var.invoke (System.Object arg1) [0x00010] in <296f2b0f4fdf405a8d93ba141aa3052f>:0
  at Nostrand.Nostrand.Main (System.String[] args) [0x0007c] in <be23613959fc4eca92d140646926de3b>:0

Environment:

  • macOS Catalina (10.15.6 beta)
  • dotnet core 3.1.301
@robertluo
Copy link
Author

It worked under older version of mono (6.6.0), but does not work for 6.8.0 and 6.10.0

@nasser
Copy link
Owner

nasser commented Jul 25, 2020

That's a useful data point. I am on Mono 6.4.0 and I can't reproduce. I will try and update to a more recent Mono and test.

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