Convert from YAML to JSON not work.
See original GitHub issueDescription Convert Player’s Inventory from YAML to JSON(or MySQL) failed.
Steps to reproduce the behavior:
/bbox migrate
in console- Console pull this error below:
[15:41:36 ERROR]: [BentoBox] Could not load objects from database!
Error: java.util.List<org.bukkit.inventory.ItemStack>
Expected behavior Convert from YAML to JSON.
Screenshots
Server Information:
- Database being used (YAML, JSON, MySQL, MongoDB): YAML
- OS: Windows 10
- Java Version: Java™ SE Runtime Environment (build 1.8.0_191-b12)
- BentoBox version: BentoBox-1.5.0-SNAPSHOT-b1079
- Addons:
- BentoBox-InvSwitcher 0.0.3-SNAPSHOT
- Biomes 1.5.0.0-SNAPSHOT-#57
- BSkyBlock 1.5.0
- Challenges 0.7.5-SNAPSHOT-#206
- Level 1.5.0-SNAPSHOT
- Limits 0.2.0-SNAPSHOT
- WelcomeWarps 1.5.0-SNAPSHOT
- Other plugins: Vault, Fe, BentoBox, Multiverse-Core
Additional context Here is some inventories from my players. https://pastebin.com/EqYRTtx7 https://pastebin.com/XqSU5g3q
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
error converting YAML to JSON, did not find expected key ...
error converting YAML to JSON, did not find expected key kubernetes ... I am doing a lab about kubernetes in google cloud. I...
Read more >Error converting YAML to JSON could not find expected ':' #2004
I have just run into very curious bug with (.Files.Glob "configOverrides/*").AsConfig Suddenly one of my services charts started to fail on ...
Read more >How to Convert YAML to JSON [Python, PowerShell, Go]
To create the YAML to JSON conversion Go script, follow these instructions. 1. Open your code editor and create a new file called...
Read more >error converting YAML to JSON: yaml: line 27: did not find ...
I am doing a lab about kubernetes Can you help me? I have create the YAML file, but when I am trying to...
Read more >Convert YAML to JSON online
Convert YAML to JSON on the fly with the json2yaml online editor.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can explain how to fix that crash, but there is an issue in Inswitcher.
It looks like invswitcher somehow manages to put null items in players inventory space. Unfortunately, null cannot be converted to itemStack. By removing these null elements, the converter will work.
As mentioned above, the version of InvSwitcher isn’t compatible with YAML anyway so converting from it wasn’t ever going to work. InvSwitcher itself could be rewritten to be better.