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

Throwing error when hibernate-redis configuration by spring application properties #118

Open
weliff opened this issue Apr 20, 2018 · 0 comments

Comments

@weliff
Copy link

weliff commented Apr 20, 2018

Hi.

When I use the configuration for spring-boot application.properties, the input stream that reads hibernate-redis.properties throws NullPointerException because it can not find the file. Ideally, you should not need to create this file in the application.

java.lang.NullPointerException: inStream parameter is null at java.base/java.util.Objects.requireNonNull(Objects.java:246) ~[na:na] at java.base/java.util.Properties.load(Properties.java:365) ~[na:na] at org.hibernate.cache.redis.util.RedisCacheUtil.loadCacheProperties(RedisCacheUtil.java:68)

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

1 participant