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

NPE in MembershipFailureTest_withTCP #11119

Closed
Donnerbart opened this issue Aug 16, 2017 · 4 comments · Fixed by #11122
Closed

NPE in MembershipFailureTest_withTCP #11119

Donnerbart opened this issue Aug 16, 2017 · 4 comments · Fixed by #11122
Assignees
Labels
Source: Internal PR or issue was opened by an employee Team: Core Type: Defect
Milestone

Comments

@Donnerbart
Copy link
Contributor

The failure is from a local test run, so no Jenkins build log available.

master_candidate_discovers_member_list_recursively()

java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:459)
	at com.hazelcast.config.Config.setProperty(Config.java:206)
	at com.hazelcast.internal.cluster.impl.MembershipFailureTest_withTCP.newHazelcastInstance(MembershipFailureTest_withTCP.java:52)
	at com.hazelcast.internal.cluster.impl.MembershipFailureTest.master_candidate_discovers_member_list_recursively(MembershipFailureTest.java:485)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:105)
	at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:97)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:748)

That's all output I got on the stdout:

BuildInfo right after master_candidate_discovers_member_list_recursively(com.hazelcast.internal.cluster.impl.MembershipFailureTest_withTCP): BuildInfo{version='3.9-SNAPSHOT', build='20170816', buildNumber=20170816, revision=24c3d11, enterprise=false, serializationVersion=1}
@Donnerbart
Copy link
Contributor Author

Looks like all other methods failed as well.

Found more stdout logs in another test entry:
https://gist.github.com/Donnerbart/95d1ae1623d7f2d7047e551c7a051f68

@Donnerbart
Copy link
Contributor Author

That issue is not fixed! The test also throws the NPE when running on Jenkins:
com.hazelcast.internal.cluster.impl.MembershipFailureTest_withTCP.master_candidate_has_stale_member_list

java.lang.NullPointerException: null
	at java.util.Hashtable.put(Hashtable.java:459)
	at com.hazelcast.config.Config.setProperty(Config.java:206)
	at com.hazelcast.internal.cluster.impl.MembershipFailureTest_withTCP.newHazelcastInstance(MembershipFailureTest_withTCP.java:52)

https://hazelcast-l337.ci.cloudbees.com/view/Sonar/job/Hazelcast-3.x-sonar/lastCompletedBuild/com.hazelcast$hazelcast/testReport/com.hazelcast.internal.cluster.impl/MembershipFailureTest_withTCP/master_candidate_has_stale_member_list/

And again most of the test methods failed with it:
https://hazelcast-l337.ci.cloudbees.com/view/Sonar/job/Hazelcast-3.x-sonar/lastCompletedBuild/com.hazelcast$hazelcast/testReport/com.hazelcast.internal.cluster.impl/MembershipFailureTest_withTCP/

@Donnerbart Donnerbart reopened this Aug 17, 2017
@mdogan
Copy link
Contributor

mdogan commented Aug 17, 2017

@Donnerbart: See revision printed after failure. That build doesn't have the fix.

BuildInfo right after master_candidate_has_stale_member_list(com.hazelcast.internal.cluster.impl.MembershipFailureTest_withTCP): BuildInfo{version='3.9-SNAPSHOT', build='20170816', buildNumber=20170816, revision=80b48ea, enterprise=false, serializationVersion=1}

@mdogan mdogan closed this as completed Aug 17, 2017
@Donnerbart
Copy link
Contributor Author

Ah, sorry, I misread that the fix was just to get the test running on Jenkins.

@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Team: Core Type: Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants