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

hazelcast 2.5 NPE on disributedSet.clear() #430

Closed
poi212003 opened this issue Mar 3, 2013 · 0 comments

Comments

Projects
None yet
2 participants
@poi212003
Copy link

commented Mar 3, 2013

Currently we're using hazelcast 2.1.2 - wanted to upgrade to 2.5 but I'm getting NPE exception when trying to execute clear on an empty distributed set.

tried 2.4 - also the same issue

distributedSet.clear()

see error log:

[Exception's class: 'java.lang.NullPointerException' Exception's message: 'null'java.lang.NullPointerException
at com.hazelcast.impl.MProxyImpl$MProxyReal.clear(MProxyImpl.java:986)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.hazelcast.impl.MProxyImpl$DynamicInvoker.invoke(MProxyImpl.java:66)
at $Proxy16.clear(Unknown Source)
at com.hazelcast.impl.MProxyImpl.clear(MProxyImpl.java:328)
at com.hazelcast.impl.SetProxyImpl$SetProxyReal.clear(SetProxyImpl.java:225)
at com.hazelcast.impl.SetProxyImpl.clear(SetProxyImpl.java:107)

@ghost ghost assigned mdogan Mar 4, 2013

@mdogan mdogan closed this in fdc1e64 Mar 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.