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

RedisUtil.destroy() NullPointerException #230

Open
chrisdoc opened this issue May 23, 2016 · 0 comments
Open

RedisUtil.destroy() NullPointerException #230

chrisdoc opened this issue May 23, 2016 · 0 comments

Comments

@chrisdoc
Copy link

Environment:

atmosphere-runtime 2.4.3
atmosphere-redis 2.4.2

java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

Exception

We are running into a NullPointerException on Line 142 when RedisUtil.destroy is called.

It tries to set the REDIS_SHARED_POOL to null config.properties().put(REDIS_SHARED_POOL, null); but atmosphere-runtime changed to a Java ConcurrentHashMap which throws NullPointerException - if the specified key or value is null. This change was introduced in Atmosphere/atmosphere@3857f68

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