Version: Tridion 2011 SP1, no hotfixes installed
I'm having a problem related to the publish state of items in the CM database. This problem occurred seemingly out of the blue, but it might be related to restoring our production version of the Tridion CM database on to our development system. (We do this regularly so I don't expect this to be the actual source of the problem but it's worth noting.)
Whenever I publish an item, it gets deployed properly and it comes up as "Success" in the publishing queue. Though the publish state is not changed in the CM database and the event viewer shows the following error:
Object reference not set to an instance of an object. Component: Tridion.ContentManager.Publishing Errorcode: 0 StackTrace Information Details: at Tridion.ContentManager.Publishing.PublishEngine.SetPublishToOnItems(IEnumerable`1 processedItems, Boolean isPublished, PublicationTarget publicationTarget, User publisher) at Tridion.ContentManager.Publishing.PublishEngine.SetPublishState(IEnumerable`1 processedItems, Boolean isPublished, PublicationTarget publicationTarget, User publisher, Boolean isCalledFromFacade) at Tridion.ContentManager.Publishing.Publisher.DeploymentFeedbackHandler.SetPublishStateOnProcessedItems(TransportFeedback deploymentFeedback, PublishTransaction publishTransaction) at Tridion.ContentManager.Publishing.Publisher.DeploymentFeedbackHandler.DoWork()
The state is not changed, so the little 'published' icon does not show (go away) on the components/pages.
Does anyone have a clue as to where this exactly goes wrong?
More details about the development environment: The Tridion installation on the development environment has two publication targets. Local file system and a Linux machine using sshftp. The publisher runs on the same machine as Tridion.