Skip to content
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

Make it compatible with android #440

Open
EmmanuelVinas opened this issue Sep 25, 2019 · 1 comment
Open

Make it compatible with android #440

EmmanuelVinas opened this issue Sep 25, 2019 · 1 comment

Comments

@EmmanuelVinas
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I tried to use faker for a mock flavor in android 9 but got a crash

Can't initialize a Faker() due to that exception.

   java.lang.ExceptionInInitializerError
        at com.github.javafaker.Faker.<init>(Faker.java:111)
        at com.github.javafaker.Faker.<init>(Faker.java:102)
        at com.github.javafaker.Faker.<init>(Faker.java:98)
...
Caused by: java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 52
    #\{([a-z0-9A-Z_.] )\s?(?:'([^'] )')?(?:,'([^'] )')*}```
@Tavo5691
Copy link
Contributor

Hi @EmmanuelVinas, your PR seems to have fixed the issue and is included in version 1.0.2.

Maybe we can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants