-
Notifications
You must be signed in to change notification settings - Fork 24
messages.txt can not be found #140
Comments
Having a look through the stack trace, and the project code. I would think there is some issue relating to the loading of "messages.txt" in the context of the Cucumber project. Is there some way to include / force the inclusion of messages.txt? |
As a check step, i copied the content of (validator project) messages.txt into another messages.txt that existed in the Cucumber project. This prevented the exception, but it is a "bodge". I would prefer to maintain the (validator project) messages.txt file in the cucumber project as a distinct resource bundle. I'm just trying to find a way to do this.... |
I've found a solution to my problem. Please close the issue. In this case it was 'pilot error'. I can only apologise. |
Hi, no need to apologize. How did you solve the issue? I'm asking in case anybody else stumbles upon the problem. |
Hi Edgar, |
Thanks for the update! From the top of my head I also can't think of any other solution (except for including validator's resources as well somehow), but your solution sounds like a solid workaround for the time being. The validator should probably provide defaults without relying on its resources, hence I'm leaving this issue open. |
I had a similar issue, except that my file is called "messages.properties", adding the missing keys in there solved the issue, also changing the name of the file. This is my stacktrace: |
@leorodriguez Thanks for letting us know, we'll try to address this issue soon, such that default error messages are used in case a |
@edgarmueller It is actually falling back to any file starting with the string "messages", so the potential fix you mention would not be enough. |
Using any file that starts with |
Part of 0.9.6-M1. |
Hi,
I'm having a problem diagnosing an issue running the schema validator inside a Cucumber step. The code works reliably outside cucumber, either standalone or as a Scalatest. I have attached the stack trace and the code used inside the Cucumber test. I'm not sure whether anyone may have seen this issue in their experience with schema-validator.
Any help will be gratefully received.
StackTrace.txt
CucumberSnippet.scala.txt
Sorry about the file extension, github would not allow the upload of a .scala file.
The text was updated successfully, but these errors were encountered: