Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

MPMB to FoundryVTT

Easily move your D&D characters to FoundryVTT · By BlackDragonBE

Error when converting XFDF to Actor

A topic by Grimmrar created Feb 14, 2023 Views: 104 Replies: 2
Viewing posts 1 to 4
  • Bug description: Error on XFDF conversion   
    • Steps executed:
      • Copied data to text field
      • Clicked convert to FoundryVTT Actor
      • Confirmed to add the found item "Scale Mail" to character 
      • Confirmed to add the found item "Shield" to character
      • Got error message (see below)
  • Application version: 1.1.0
  • PDF version: MPMB's Character Record Sheet (v13.1.4+221130) [Printer Friendly - Redesign]
  • XFDF link: https://pastebin.com/4steuHkj

Error Message:

Something went wrong while trying to convert the XFDF data:

Object reference not set to an instance of an object.

   at MPMB_PDF_to_FoundryVTT.CSharp.Converters.MpmbToFoundryConverter.ConvertSpells() in U:\Godot\Projects\2022\MPMB_PDF_to_FoundryVTT\CSharp\Converters\MpmbToFoundryConverter.cs:line 119

   at MPMB_PDF_to_FoundryVTT.CSharp.Converters.MpmbToFoundryConverter.Convert(MPMBCHaracterData mpmbCharacterData, FoundryCharacterData foundryTemplateData, MainWindow mainWindow) in U:\Godot\Projects\2022\MPMB_PDF_to_FoundryVTT\CSharp\Converters\MpmbToFoundryConverter.cs:line 54

   at MainWindow.LoadXFDFFromTextAsync() in U:\Godot\Projects\2022\MPMB_PDF_to_FoundryVTT\CSharp\MainWindow.cs:line 337

Thanks for reporting this bug. I've looked into it and it was a subclass parsing error, where the converter expected a subclass but none could be found. In other words, a mistake on my part!

I'll release a fix later today with version 1.1.1. If you need the character json before that, here's the result: https://pastebin.com/88gdwRVk

Version 1.1.1 is online!

moved this topic to Issues (closed)