Skip to content

App can`t start #4

Description

@sundevista

When I write DanbooruDownloader dump MyDataset I see it:

2020-08-25 21:19:31.9651|INFO|DanbooruDownloader.Commands.DumpCommand|Downloading metadata ... (1 ~ )
2020-08-25 21:19:33.3554|INFO|DanbooruDownloader.Commands.DumpCommand|Checking 200 posts ...
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at DanbooruDownloader.Commands.DumpCommand.ConvertToPost(JObject jsonObject) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Commands\DumpCommand.cs:line 240
   at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at DanbooruDownloader.Commands.DumpCommand.Run(String path, Int64 startId, Boolean ignoreHashCheck, Boolean includeDeleted) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Commands\DumpCommand.cs:line 66
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at DanbooruDownloader.Program.<>c__DisplayClass0_1.<Main>b__2() in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Program.cs:line 46
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at DanbooruDownloader.Program.Main(String[] args) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Program.cs:line 59
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at DanbooruDownloader.Commands.DumpCommand.ConvertToPost(JObject jsonObject) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Commands\DumpCommand.cs:line 240
   at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at DanbooruDownloader.Commands.DumpCommand.Run(String path, Int64 startId, Boolean ignoreHashCheck, Boolean includeDeleted) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Commands\DumpCommand.cs:line 66<--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions