Description
This issue was originally filed by petr...@gmail.com
What steps will reproduce the problem?
- Run
pub list
command
What is the expected output? What do you see instead?
I would except to see the contents of repositories listed or at least an error message, instead I'm getting this:
NoSuchMethodException : method not found: 'listDir'
Receiver: Instance of 'SystemCache'
Arguments: [null]
Unhandled exception:
NullPointerException : method: 'handleException'
Receiver: null
Arguments: [Closure: <T>(Dynamic) => Dynamic]
0. Function: 'Object.noSuchMethod' url: 'bootstrap' line:473 col:137
1. Function: 'FutureImpl.function' url: 'bootstrap_impl' line:565 col:350
2. Function: 'FutureImpl._complete@924b4b8' url: 'bootstrap_impl' line:556 col:3
3. Function: 'FutureImpl._setValue@924b4b8' url: 'bootstrap_impl' line:559 col:22
4. Function: 'CompleterImpl.complete' url: 'bootstrap_impl' line:571 col:46
5. Function: 'FutureImpl.function' url: 'bootstrap_impl' line:563 col:114
6. Function: 'FutureImpl._complete@924b4b8' url: 'bootstrap_impl' line:556 col:3
7. Function: 'FutureImpl._setValue@924b4b8' url: 'bootstrap_impl' line:559 col:22
8. Function: 'CompleterImpl.complete' url: 'bootstrap_impl' line:571 col:46
9. Function: 'FutureImpl.function' url: 'bootstrap_impl' line:567 col:61
10. Function: 'FutureImpl.then' url: 'bootstrap_impl' line:549 col:182
11. Function: 'FutureImpl.function' url: 'bootstrap_impl' line:566 col:82
12. Function: 'FutureImpl._complete@924b4b8' url: 'bootstrap_impl' line:556 col:3
13. Function: 'FutureImpl._setValue@924b4b8' url: 'bootstrap_impl' line:559 col:22
14. Function: 'CompleterImpl.complete' url: 'bootstrap_impl' line:571 col:46
15. Function: 'FutureImpl.function' url: 'bootstrap_impl' line:563 col:114
16. Function: 'FutureImpl._complete@924b4b8' url: 'bootstrap_impl' line:556 col:3
17. Function: 'FutureImpl._setValue@924b4b8' url: 'bootstrap_impl' line:559 col:22
18. Function: 'CompleterImpl.complete' url: 'bootstrap_impl' line:571 col:46
19. Function: '_SendPortImpl@6be832b.function' url: 'dart:isolate' line:22 col:346
20. Function: '_ReceivePortImpl@6be832b._handleMessage@6be832b' url: 'dart:isolate' line:19 col:46
What version of the product are you using? On what operating system?
Dart build 8124, Mac OS X 10.7.4
Please provide any additional information below.
There is not much documentation available on pub usage, but still I would at least except an error message when being used incorrectly, not an exception.
Activity
madsager commentedon May 31, 2012
Added Area-Pub, Triaged labels.
munificent commentedon Jun 6, 2012
pub list doesn't really do anything at the moment. It was being used for some tests, but it's temporarily dead.
Added Invalid label.
DartBot commentedon Jun 5, 2015
This issue has been moved to dart-lang/pub#40.
Bump pub to 6ac42d7644dedfcc500147ab47886eecab4b1b38