NullReferenceException exception when restoring from 'Development Workspace'
New to Umbraco Cloud, but when trying to "restore" to my local development machine from "dev" in the cloud I get the following Exception.
Umbraco version 7.5.14 assembly: 1.0.6345.13057
It might have been fixed in a newer version, but I can't find any information on this.
Error: Object reference not set to an instance of an object.
Details: System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Courier.Core.ResourceExtensions.GetByteArray(Resource resource, String rootDirectory)
at Umbraco.Courier.RepositoryProviders.Local.GetResourceContents(ItemIdentifier itemId, Type itemType, Resource resource, String revisionAlias)
at Umbraco.Courier.Core.Extraction.RevisionExtraction.TransferItemResources(Item item, ResourceExtractionOrder order)
at Umbraco.Courier.Core.Extraction.RevisionExtraction.TransferPreExtractResource()
at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract()
at Concorde.CacheHandler.Tasks.InitialExtractionTask.Run()
at Umbraco.Courier.Core.Tasks.SequentialRevisionTaskList.Run()
at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)
This is not really helpful ...
I can't find anything in this forum about the error ... any hints on how to find the cause of the error?
For now I have manually exported the database as a bakpac file and restored it locally ... but ofcause I'm missing the Media items ...
NullReferenceException exception when restoring from 'Development Workspace'
New to Umbraco Cloud, but when trying to "restore" to my local development machine from "dev" in the cloud I get the following Exception.
Umbraco version 7.5.14 assembly: 1.0.6345.13057
It might have been fixed in a newer version, but I can't find any information on this.
Error: Object reference not set to an instance of an object.
Details: System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Courier.Core.ResourceExtensions.GetByteArray(Resource resource, String rootDirectory) at Umbraco.Courier.RepositoryProviders.Local.GetResourceContents(ItemIdentifier itemId, Type itemType, Resource resource, String revisionAlias) at Umbraco.Courier.Core.Extraction.RevisionExtraction.TransferItemResources(Item item, ResourceExtractionOrder order) at Umbraco.Courier.Core.Extraction.RevisionExtraction.TransferPreExtractResource() at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract() at Concorde.CacheHandler.Tasks.InitialExtractionTask.Run() at Umbraco.Courier.Core.Tasks.SequentialRevisionTaskList.Run() at Umbraco.Courier.Core.BackgroundTaskRunner`1.ConsumeTaskInternal(T task)
This is not really helpful ...
I can't find anything in this forum about the error ... any hints on how to find the cause of the error?
For now I have manually exported the database as a bakpac file and restored it locally ... but ofcause I'm missing the Media items ...
Any help will be very appreciated ...
Hi Mikael
What about codebase? Is it the same?
Thanks,
Alex
Hi Alex,
Yes, the codebase is exactly the same.
We can pull down changes from "Production" to "Development" ... but when working locally we can't pull down changes ...
Since we have a work around for now ... it's not a big deal, but a better exchange would be great :-) You gotta love these NullReferenceException's
mvh
Mikael Syska
is working on a reply...