Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update SnakeYaml to 1.30 to fix YAML parsing bug #1168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
ddsharpe merged 1 commit into main from update-snakeyaml-1.30
Aug 11, 2022

Conversation

@ddsharpe
Copy link
Member

@ddsharpe ddsharpe commented Aug 11, 2022

With valid YAML, SnakeYaml 1.29 has trouble parsing YAML with tabs at the end of lines, and empty lines between comment lines.

WDT symptom:

 1. WLSDPLY-09014: createDomain was unable to load the model from test.yaml due to a translation error: Unable to parse model from file test.yaml : Failed to parse file test.yaml: -1

Stacktrace from log:
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:136)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1222)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:308)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:248)

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 11, 2022
Copy link

@ddsharpe ddsharpe merged commit dff9de9 into main Aug 11, 2022
@ddsharpe ddsharpe deleted the update-snakeyaml-1.30 branch August 11, 2022 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@robertpatrick robertpatrick robertpatrick approved these changes

@rakillen rakillen rakillen approved these changes

Assignees

No one assigned

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /