What version of epi are you running? Could you have a look in admin and see if you are using site specific assets folder or not? There was a bug a few versions ago where this strange error could occur.
I seem to be running 9.12.2 and I can't seem to find any site specific assets folder. Hmm, I'm still stuck at this...
I had a similar error the other day and I had an empty string in [ImageUrl("")] ...Any chance you have it to?
Hi,
I had a look at our code and saw that you can end up in this situation if you have added the ImageUrlAttribute to your models but you pass in a null value. e.g.
[ImageUrl(null)]
public class StartPage : PageData {...}
I'm not sure that is exactly what happens in your case, but it might be worth investigating.
I have reported an issue to make our code a bit more fault tolerant. It should be visible: http://world.episerver.com/support/Bug-list/bug/CMS-6515 when our issue sync job has run
Hi,
When I create a new block I get 4 errors in the browser console when i run the site:
GET http://localhost:xxxxx/EPiServer/cms/Stores/contenttype/?dojo.preventCache=1486477841528 500 (Internal Server Error)
GET http://localhost:xxxxx/EPiServer/cms/Stores/contenttype/65?dojo.preventCache=1486477849051 500 (Internal Server Error)
GET http://localhost:xxxxx/EPiServer/cms/Stores/contenttype/65?dojo.preventCache=1486477849869 500 (Internal Server Error)
http://localhost:xxxxx/EPiServer/cms/Stores/contenttype/?query=getavailablecontenttypes&localAsset=true&parentReference=115_6372&requestedTypes=episerver.core.blockdata&dojo.preventCache=1486477860544
The error pages for those errors looks like this:
Server Error in '/' Application.
Value cannot be null.
Parameter name: virtualPath
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: virtualPath
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
What should I do? As soon as i delete my newly created block, the errors disappears.