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

Occasional ConcurrentModificationException making test runs last forever #143

Closed
S1artie opened this issue Jul 12, 2017 · 0 comments
Closed
Labels
Milestone

Comments

@S1artie
Copy link
Member

S1artie commented Jul 12, 2017

This appears to be a new problem since Integrity 0.16. Occasionally (and until now only observed on build servers) some tests seem to run into the following ConcurrentModificationException:

FORK '': Exception in thread "Integrity - Endpoint Output Processor" com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException
	FORK '': Serialization trace:
	FORK '': attributes (de.gebit.integrity.remoting.entities.setlist.SetListEntry)
	FORK '': updatedEntries (de.gebit.integrity.remoting.transport.messages.SetListUpdateMessage)
	FORK '': 	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:101)
	FORK '': 	at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:505)
	FORK '': 	at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:651)
	FORK '': 	at com.esotericsoftware.kryo.serializers.DefaultArraySerializers$ObjectArraySerializer.write(DefaultArraySerializers.java:362)
	FORK '': 	at com.esotericsoftware.kryo.serializers.DefaultArraySerializers$ObjectArraySerializer.write(DefaultArraySerializers.java:303)
	FORK '': 	at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:575)
	FORK '': 	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80)
	FORK '': 	at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:505)
	FORK '': 	at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:651)
	FORK '': 	at de.gebit.integrity.remoting.transport.Endpoint$EndpointOutputProcessor.run(Endpoint.java:376)
	FORK '': Caused by: java.util.ConcurrentModificationException
	FORK '': 	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
	FORK '': 	at java.util.HashMap$EntryIterator.next(HashMap.java:1463)
	FORK '': 	at java.util.HashMap$EntryIterator.next(HashMap.java:1461)
	FORK '': 	at com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:99)
	FORK '': 	at com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:39)
	FORK '': 	at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:575)
	FORK '': 	at com.esotericsoftware.kryo.serializers.ObjectField.write(ObjectField.java:80)

This, as a result, seems to prevent the entire test scenario from exiting, resulting in the fork as well as the master running forever (and idling).

@S1artie S1artie added the bug label Jul 12, 2017
@S1artie S1artie added this to the v0.16.3 milestone Jul 12, 2017
@S1artie S1artie closed this as completed Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant