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

googlephotos albums list causes System.NullReferenceException #79

Open
dcuccia opened this issue Dec 31, 2021 · 0 comments
Open

googlephotos albums list causes System.NullReferenceException #79

dcuccia opened this issue Dec 31, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dcuccia
Copy link
Contributor

dcuccia commented Dec 31, 2021

FWIW, from Powershell in Windows Terminal on Windows 11 Pro x64 running the latest CLI preview 0.1.15, I get the following response to googlephotos albums list:

PS C:\Users\USER> googlephotos albums list
creating user folder C:\Users\USER\AppData\Roaming\googlephotos\[email protected]
Page 1 14 +14
Page 2 29 +15
Page 3 44 +15
Page 4 49 +5
Page 5 66 +17
Page 6 68 +2
Page 7 73 +5
Page 8 75 +2
Page 9 75 +0
Page 10 78 +3
Page 11 81 +3
Page 12 82 +1
Page 13 84 +2
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at BetterConsoleTables.Table.GetColumnLengths()
at CasCap.Commands.CommandBase.DisplayAlbums(List1 albums) in /_/src/CasCap.GooglePhotosCli/Commands/Base/CommandBase.cs:line 150 at CasCap.Commands.Albums.List.OnExecuteAsync(CommandLineApplication app) in /_/src/CasCap.GooglePhotosCli/Commands/Albums.cs:line 60 at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments) at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context, CancellationToken cancellationToken) at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext() --- End of stack trace from previous location --- at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken) at McMaster.Extensions.Hosting.CommandLine.Internal.CommandLineService1.RunAsync(CancellationToken cancellationToken)
at McMaster.Extensions.Hosting.CommandLine.Internal.CommandLineLifetime.<>c__DisplayClass10_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Extensions.Hosting.HostExtensions.RunCommandLineApplicationAsync(IHost host, CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostBuilderExtensions.RunCommandLineApplicationAsync[TApp](IHostBuilder hostBuilder, String[] args, Action`1 configure, CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostBuilderExtensions.RunCommandLineApplicationAsync[TApp](IHostBuilder hostBuilder, String[] args, CancellationToken cancellationToken)
at CasCap.Program.Main(String[] args) in /_/src/CasCap.GooglePhotosCli/Program.cs:line 39
at CasCap.Program.

(String[] args)

@f2calv f2calv self-assigned this Dec 31, 2021
@f2calv f2calv added the bug Something isn't working label Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants