At this point there are no content types in the system, because we are installing them right now. In these cases the preview provider should skip type check.
System.NullReferenceException
at SenseNet.Preview.DocumentPreviewProvider.InitializePreviewGeneration(Node node) in /src/ContentRepository/Preview/DocumentPreviewProvider.cs:line 1450\n
at SenseNet.Preview.DocumentPreviewObserver.OnNodeCreating(Object sender, CancellableNodeEventArgs e)\n
at SenseNet.ContentRepository.Storage.Events.NodeObserver.<>c__DisplayClass8_0.<FireOnNodeCreating>b__0(NodeObserver observer)
at SenseNet.ContentRepository.Storage.Events.NodeObserver.FireNodeEvent(List`1 disabledObservers, Action`1 action)
at SenseNet.ContentRepository.Storage.Events.NodeObserver.FireOnNodeCreating(CancellableNodeEventHandler Creating, Node sender, CancellableNodeEventArgs e, List`1 disabledObservers)
at SenseNet.ContentRepository.Storage.Node.FireOnCreating(CancellableNodeEventArgs e)
at SenseNet.ContentRepository.Storage.Node.SaveAsync(NodeSaveSettings settings, CancellationToken cancel)
at SenseNet.ContentRepository.Schema.ContentType.SaveAsync(NodeSaveSettings settings, CancellationToken cancel)
at SenseNet.ContentRepository.Storage.Node.SaveAsync(CancellationToken cancel)
at SenseNet.ContentRepository.Schema.ContentType.Save(Boolean withInstall)
at SenseNet.ContentRepository.Schema.ContentTypeInstaller.Install(Ctd ctd)
at SenseNet.ContentRepository.Schema.ContentTypeInstaller.ExecuteBatch()
at SenseNet.Packaging.Steps.ImportBase.ImporterClass.ImportContentTypeDefinitionsAndAspects(String ctdPath, String aspectsPath)
at SenseNet.Packaging.Steps.ImportBase.ImporterClass.ImportSchema(String fsPath)
At this point there are no content types in the system, because we are installing them right now. In these cases the preview provider should skip type check.