Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Unhandled exception during import of (admitedly large) wordpress XML export file #256

@jrjones

Description

@jrjones

When importing a large wordpress XML file, I received a null reference exception (quoted below.) When I get a chance in the next few days I will try to get it running in a debugger, but it's completely reproducible.

C:\pretzel>pretzel import --i=wordpress --f=./jrjblog.xml --s=./_site
starting pretzel...
import - import posts from external source

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
 at Pretzel.Logic.Import.WordpressImport.<>c__DisplayClass6.<Import>b__1(XElement e)
 at System.Linq.Enumerable.WhereSelectEnumerableIterator 2.MoveNext()
 at Pretzel.Logic.Import.WordpressImport.Import()
 at Pretzel.Commands.ImportCommand.Execute(IEnumerable 1 arguments)
 at Pretzel.Program.Run(String[] args, OptionSet defaultSet)
 at Pretzel.Program.Main(String[] args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions