graphql-java: Can't find bundle for base name i18n.Validation, locale en_IN
before we were using graphq-java:15.0 but this version showing one crital vulnerability and suggested to updrade 19.0 and later. After updating 19.2. Our plugin api calls not working and throwing error
{
"errors": [
{
"errorClassification": "DataFetchingException",
"cause": {
"className": "i18n.Validation_en_IN",
"key": "",
"detailMessage": "Can't find bundle for base name i18n.Validation, locale en_IN",
"stackTrace": [],
"suppressedExceptions": []
},
"stackTrace": [],
"suppressedExceptions": []
}
]
}
Any once can help me
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (9 by maintainers)
Can you please try to run this code on your system with graphql-java 19.2 on the class path
When I run this on my system (with 19.2 graphql -java on the class path) I get
Can you inspect your graphql-java 19.2 jar and check there is a set of files
These are the fallback property files that should be used during
ResourceBundle.getBundle()
I used this gradle file say ( a simple IDEA generated one)
I can’t reproduce this - even if I set my Java locale to be en_IN on the command line or inside the program.
I am starting to think this must be something unique on your system. Because 19.x has been out for a while and lots of international (and Indian) developers are using it.
Can you please tell us more about how you “tried with US timezone”
What this passing in a new Locale to the ExecutionInput or was this a JVM defaulting to Locale?
We don’t have a way to disable Localisation - its an intended feature and works as far as we can see this end so being able to reproduce the bug is essential to getting a fix
What JVM are you running, what version? What environment are you running this in?
Can you write a simple reproduction program to show this happening?
We will need more reproduction details to help here