Title: Null assertion error when a null Locale is set into Validation code · Issue #2907 · graphql-java/graphql-java · GitHub
Open Graph Title: Null assertion error when a null Locale is set into Validation code · Issue #2907 · graphql-java/graphql-java
X Title: Null assertion error when a null Locale is set into Validation code · Issue #2907 · graphql-java/graphql-java
Description: Describe the bug I'm writing this down as a note but will fill in more information has it comes. I've just upgraded from 18.2 to 19.0 and am not experiencing a number of errors that look like I'm getting a ton of errors of the form => gr...
Open Graph Description: Describe the bug I'm writing this down as a note but will fill in more information has it comes. I've just upgraded from 18.2 to 19.0 and am not experiencing a number of errors that look like I'm g...
X Description: Describe the bug I'm writing this down as a note but will fill in more information has it comes. I've just upgraded from 18.2 to 19.0 and am not experiencing a number of errors that look li...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/2907
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Null assertion error when a null Locale is set into Validation code","articleBody":"**Describe the bug**\r\n\r\nI'm writing this down as a note but will fill in more information has it comes.\r\n\r\nI've just upgraded from 18.2 to 19.0 and am not experiencing a number of errors that look like I'm getting a ton of errors of the form \r\n\r\n```\r\n =\u003e graphql.AssertException: Object required to be not null\r\n graphql.Assert.assertNotNull(Assert.java:31)\r\n graphql.i18n.I18n.\u003cinit\u003e(I18n.java:37)\r\n graphql.i18n.I18n.i18n(I18n.java:46)\r\n graphql.validation.Validator.validateDocument(Validator.java:68)\r\n graphql.ParseAndValidate.validate(ParseAndValidate.java:111)\r\n graphql.GraphQL.validate(GraphQL.java:628)\r\n graphql.GraphQL.parseAndValidate(GraphQL.java:591)\r\n graphql.GraphQL.lambda$parseValidateAndExecute$10(GraphQL.java:555)\r\n graphql.execution.preparsed.NoOpPreparsedDocumentProvider.getDocument(NoOpPreparsedDocumentProvider.java:15)\r\n graphql.execution.preparsed.PreparsedDocumentProvider.getDocumentAsync(PreparsedDocumentProvider.java:4\r\n```\r\n\r\nlooking through the changelog this most likely relates to https://github.com/graphql-java/graphql-java/pull/2878\r\n\r\nit looks like this is failing on a null locale -- https://github.com/graphql-java/graphql-java/blob/35ff68db1e1d567428539d74f2169ca7799ee2a3/src/main/java/graphql/i18n/I18n.java#L37\r\n\r\n**To Reproduce**\r\n\r\nPlease provide a code example or even better a test to reproduce the bug.\r\n","author":{"url":"https://github.com/softprops","@type":"Person","name":"softprops"},"datePublished":"2022-08-01T17:04:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2907/graphql-java/issues/2907"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:30478522-49b7-47a4-6a37-dfaaf68bde36 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8134:3942DC:8A4BE2:B82CC9:6A603F42 |
| html-safe-nonce | 71720c3961b33acef453dd5169d7baf07486ecd0a973b0863ce1928accad342e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTM0OjM5NDJEQzo4QTRCRTI6QjgyQ0M5OjZBNjAzRjQyIiwidmlzaXRvcl9pZCI6Ijc0OTkzNzYxMTMxMDAwMTMzNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 962f1426485292a2b59d0b6a699cdb6d212577798a785af27141016374d34a62 |
| hovercard-subject-tag | issue:1324716080 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-java/graphql-java/2907/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b86ea0c0d5549208b1d2f9984e6482d42044ce9a921455b1f93562bb91b7686/graphql-java/graphql-java/issues/2907 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b86ea0c0d5549208b1d2f9984e6482d42044ce9a921455b1f93562bb91b7686/graphql-java/graphql-java/issues/2907 |
| og:image:alt | Describe the bug I'm writing this down as a note but will fill in more information has it comes. I've just upgraded from 18.2 to 19.0 and am not experiencing a number of errors that look like I'm g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | softprops |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git |
| octolytics-dimension-user_id | 14289921 |
| octolytics-dimension-user_login | graphql-java |
| octolytics-dimension-repository_id | 38602457 |
| octolytics-dimension-repository_nwo | graphql-java/graphql-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38602457 |
| octolytics-dimension-repository_network_root_nwo | graphql-java/graphql-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9824515e740d83d5eb82168a089b806ab0fe04a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width