Apologies if this is a repeated question, but I can't seem to find any answer to solve my problem.
I have created a custom media type for videos - "Profile Video" - with only 3 fields:
- "VideoURL" that will actually store a YouTube URL (no uploads are made);
- "VideoTitle" and "VideoCaption" as textstring and textbox, respectively;
So, nothing fancy here. Every time I try to create a media element from this media type, I get this error:
Server Error in '/' Application. Object reference not set to an instance of an object.
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:
[NullReferenceException: Object reference not set to an instance of an object.]
This seems to happen with every custom media type I create, regardless of the name, alias or fields it may have.
I have already rebuilt the UmbSearch2 indexes, successfully, but it didn't help. Also, I checked the database to see if the row on the umbracoAppTree table matches the umbraco/config/create/UI.xml node - it does.
The nodes are saved before the error is thrown, but the Umbraco.config doesn't get updated.
So, anyone has a suggestion? I'm completely stuck and would appreciate any help.
Same error with custom media types
Hi all,
Apologies if this is a repeated question, but I can't seem to find any answer to solve my problem.
I have created a custom media type for videos - "Profile Video" - with only 3 fields:
- "VideoURL" that will actually store a YouTube URL (no uploads are made);
- "VideoTitle" and "VideoCaption" as textstring and textbox, respectively;
So, nothing fancy here. Every time I try to create a media element from this media type, I get this error:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Source Error:
Stack Trace:
This seems to happen with every custom media type I create, regardless of the name, alias or fields it may have.
I have already rebuilt the UmbSearch2 indexes, successfully, but it didn't help. Also, I checked the database to see if the row on the umbracoAppTree table matches the umbraco/config/create/UI.xml node - it does.
The nodes are saved before the error is thrown, but the Umbraco.config doesn't get updated.
So, anyone has a suggestion? I'm completely stuck and would appreciate any help.
Thanks in advance,
Andre
is working on a reply...