uSync icon indicating copy to clipboard operation
uSync copied to clipboard

DataTypeSerializer - Reports Object Reference error when importing

Open KevinJump opened this issue 5 months ago • 2 comments

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

KevinJump avatar Sep 22 '25 16:09 KevinJump