[SPIGOT-3171] StringList not saving properly Created: 07/Apr/17  Updated: 11/Dec/17  Resolved: 07/Apr/17

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Aayush Rai Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: 1.10, 1.11, 1.11.2, 1.8.8, bug, config, stringlist
Environment:

 

OS: Linux

CPU: Dual Xeon CPUs

RAM TYPE: DDR3 ECC RAM

STORAGE TYPE: solid state drive (SSD)

JAVA: 8

Spigot versions found in: 1.11.2, 1.11, 1.10, 1.8.8

CPU usage never exceeds 70% during peak hours.


Plugin: No plugin, happens with any plugin

 Description   

While saving config stringlists do not save properly, example below:

#How it should save
StringList:
  - 'String'
  - 'String'
#How it does save
StringList:
- 'String'
- 'String'

The problem of it saving this way is that when trying to get stringlist it returns null, and in some cases, a list with nothing in it.



 Comments   
Comment by Aayush Rai [ 07/Apr/17 ]

But for some reason, on recieving it is giving npe...

Comment by md_5 [ 07/Apr/17 ]

1) Cannot reproduce
2) 1.8 is not supported
3) That is still a valid string list - http://yaml-online-parser.appspot.com/

Generated at Fri Apr 11 15:29:56 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.