PublishAt not working correctly - umbraco v. 4.0.3
I have a clean umbraco 4.0.3 running and I just upgraded a site running v. 4.0.2.1 of umbraco to 4.0.3
In my clean umbraco 4.0.3 - I get this error in my umbracoLog when using the PublishAt feature:
Error publishing node: System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.content.UpdateDocumentCache(Document d) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\content.cs:line 334 at umbraco.content.UpdateDocumentCache(Int32 pageId) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\content.cs:line 293 at umbraco.library.UpdateDocumentCache(Int32 DocumentId) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\library.cs:line 197 at umbraco.presentation.publishingService.CheckPublishing(Object sender) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\publishingService.cs:line 43
And the other site gives me this when i create a node, save with a publishAt date:
Right after Create/New:
Error removing node from umbraco index: 'System.IO.FileNotFoundException: Could not find file 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments'. File name: 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentInfos.Read(Directory directory) at Lucene.Net.Index.IndexReader.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) at umbraco.cms.businesslogic.index.Indexer.ContentIndexReader() at umbraco.cms.businesslogic.index.Indexer.RemoveNode(Int32 Id)'
Error indexing document: System.IO.FileNotFoundException: Could not find file 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments'. File name: 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentInfos.Read(Directory directory) at Lucene.Net.Index.IndexWriter.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, Boolean closeDir) at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create) at umbraco.cms.businesslogic.index.Indexer.ContentIndex(Boolean ForceRecreation) at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize) at umbraco.cms.businesslogic.web.Document.<>c__DisplayClass2.<MakeNew>b__0(Object )
After save:
Error removing node from umbraco index: 'System.IO.FileNotFoundException: Could not find file 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments'. File name: 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentInfos.Read(Directory directory) at Lucene.Net.Index.IndexReader.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) at umbraco.cms.businesslogic.index.Indexer.ContentIndexReader() at umbraco.cms.businesslogic.index.Indexer.RemoveNode(Int32 Id)'
Error indexing node: System.IO.FileNotFoundException: Could not find file 'C:\sites\akkc\data\_systemUmbracoIndexDontDelete\segments'. File name: 'C:\sites\akkc\data\_systemUmbracoIndexDontDelete\segments' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentInfos.Read(Directory directory) at Lucene.Net.Index.IndexWriter.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, Boolean closeDir) at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create) at umbraco.cms.businesslogic.index.Indexer.ContentIndex(Boolean ForceRecreation) at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize) at umbraco.cms.businesslogic.web.Document.Index(Boolean Optimze)
And this when the publish occurs:
Error publishing node: System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.content.UpdateDocumentCache(Document d) at umbraco.library.UpdateDocumentCache(Int32 DocumentId) at umbraco.presentation.publishingService.CheckPublishing(Object sender)
I really cant figure out what is going on here.
I have tried reindexing the upgraded site, to get rid of those indexing errors but with no luck.
And the pulbishAt not working on both sites, well im just blank. So thought maybe you guys could look at it and maybe knew a solution?
PublishAt not working correctly - umbraco v. 4.0.3
I have a clean umbraco 4.0.3 running and I just upgraded a site running v. 4.0.2.1 of umbraco to 4.0.3
In my clean umbraco 4.0.3 - I get this error in my umbracoLog when using the PublishAt feature:
Error publishing node: System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.content.UpdateDocumentCache(Document d) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\content.cs:line 334 at umbraco.content.UpdateDocumentCache(Int32 pageId) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\content.cs:line 293 at umbraco.library.UpdateDocumentCache(Int32 DocumentId) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\library.cs:line 197 at umbraco.presentation.publishingService.CheckPublishing(Object sender) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\publishingService.cs:line 43
And the other site gives me this when i create a node, save with a publishAt date:
Right after Create/New:
Error removing node from umbraco index: 'System.IO.FileNotFoundException: Could not find file 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments'. File name: 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentInfos.Read(Directory directory) at Lucene.Net.Index.IndexReader.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) at umbraco.cms.businesslogic.index.Indexer.ContentIndexReader() at umbraco.cms.businesslogic.index.Indexer.RemoveNode(Int32 Id)'
Error indexing document: System.IO.FileNotFoundException: Could not find file 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments'. File name: 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentInfos.Read(Directory directory) at Lucene.Net.Index.IndexWriter.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, Boolean closeDir) at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create) at umbraco.cms.businesslogic.index.Indexer.ContentIndex(Boolean ForceRecreation) at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize) at umbraco.cms.businesslogic.web.Document.<>c__DisplayClass2.<MakeNew>b__0(Object )
After save:
Error removing node from umbraco index: 'System.IO.FileNotFoundException: Could not find file 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments'. File name: 'C:\sites\a\data\_systemUmbracoIndexDontDelete\segments' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentInfos.Read(Directory directory) at Lucene.Net.Index.IndexReader.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) at umbraco.cms.businesslogic.index.Indexer.ContentIndexReader() at umbraco.cms.businesslogic.index.Indexer.RemoveNode(Int32 Id)'
Error indexing node: System.IO.FileNotFoundException: Could not find file 'C:\sites\akkc\data\_systemUmbracoIndexDontDelete\segments'. File name: 'C:\sites\akkc\data\_systemUmbracoIndexDontDelete\segments' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentInfos.Read(Directory directory) at Lucene.Net.Index.IndexWriter.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, Boolean closeDir) at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create) at umbraco.cms.businesslogic.index.Indexer.ContentIndex(Boolean ForceRecreation) at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize) at umbraco.cms.businesslogic.web.Document.Index(Boolean Optimze)
And this when the publish occurs:
Error publishing node: System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.content.UpdateDocumentCache(Document d) at umbraco.library.UpdateDocumentCache(Int32 DocumentId) at umbraco.presentation.publishingService.CheckPublishing(Object sender)
I really cant figure out what is going on here.
I have tried reindexing the upgraded site, to get rid of those indexing errors but with no luck.
And the pulbishAt not working on both sites, well im just blank. So thought maybe you guys could look at it and maybe knew a solution?
is working on a reply...