Skip to content

DataTypeSerializer - Reports Object Reference error when importing #805

@KevinJump

Description

@KevinJump

As per this issue on the forums : https://forum.umbraco.com/t/datatypeserializer/5927

Installed the DataTypeSerializers to avoid the start node of the media pickers constantly clashing. All worked great. Deployed to UAT sites and totally fine. One fellow dev’s machine however refuses to run usync.

All I get in the logs are 47 odd of these:

{
  "actions": [
    {
      "handlerAlias": "DataTypeHandler",
      "success": true,
      "itemType": "IDataType",
      "message": "",
      "exception": null,
      "change": "Import",
      "fileName": "uSync\\v9\\DataTypes\\CountdownProjectPageMobileMediaPicker.config",
      "name": "Countdown Project Page - Mobile - Media Picker",
      "path": "v9",
      "requiresPostProcessing": true,
      "detailMessage": null,
      "details": null,
      "key": "eaf35120-df64-488f-9574-17a162f1665e"
    },
    {
      "handlerAlias": "uSync.BackOffice.SyncHandlers.Handlers.DataTypeHandler",
      "success": false,
      "itemType": "IDataType",
      "message": "DataTypeHandler Import Fail: Object reference not set to an instance of an object.",
      "exception": {
        "ClassName": "System.Exception",
        "Message": "Object reference not set to an instance of an object.",
        "Data": {},
        "InnerException": null,
        "HelpURL": null,
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": -2146233088,
        "Source": null,
        "WatsonBuckets": null
      },
      "change": "Fail",
      "fileName": "",
      "name": "AppealPicker01.config",
      "path": null,
      "requiresPostProcessing": false,
      "detailMessage": null,
      "details": null,
      "key": "00000000-0000-0000-0000-000000000000"
    },

I was guessing a data types folder or media folder was missing but all the guids / keys seem to be present in the DB. I can create it if I take his DB as a backup… I tried a clean export from his machine and it throws the same exception in the export process. Any ideas?

Made me worried it would happen on live so we’ve rolled this package back out and re-exported all datatypes.

uSync.Community.DataTypeSerializers" Version="13.3.1

uSync.Complete” Version=“13.2.1”

Umbraco latest v13

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions