de-jcup / eclipse-yaml-editor

Eclipse YAML editor
https://marketplace.eclipse.org/content/yaml-editor
Apache License 2.0
35 stars 10 forks source link

Expecting a 'String' but got a 'Mapping' node #92

Closed sgullapalli13 closed 3 years ago

sgullapalli13 commented 4 years ago

Similar to https://stackoverflow.com/questions/62304206/eclipse-yaml-error-expected-a-string-but-got-a-mapping-node

I'm sort of new to all this but in our application.yml file we have a block similar to

#New Section
security:
  token: ABCDEFG123456789
  tokenExpiration: 6000000

that has the error in the title. I've opened it with both the yaml editor and without and these lines keep throwing an error, but when I close the file, the error disappears (in eclipses problems section etc). I don't want this to come back later to bite me, so is this a parser error or something else?

de-jcup commented 4 years ago

As mentioned by myself at this stackoverflow entry (see answer there): Are you sure you are using "Yaml Editor" and not another editor? Please add a screenshot to verify.

arjunankaruppusamy commented 2 years ago

Hi @de-jcup ,

I am getting the same error

image

image

Could you please help me? Even though it is showing as an error, App is woking fine

Thanks, AK