You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EntryBuilder.buildWithHistory () method there is a potential problem of circular reference.
Stack overflow exception is thrown at the timing to write the KeePassFile to file.
Circulation call occurs in Entry.hashCode () method.
@Test
public void testBuildWithHistory() {
UUID uuid = UUID.randomUUID();
Entry entry = new EntryBuilder("v1").uuid(uuid).build();
Entry entry2 = new EntryBuilder(entry).title("v2").buildWithHistory();
Entry entry3 = new EntryBuilder(entry2).title("v3").buildWithHistory();
try{
entry.hashCode();
entry2.hashCode();
entry3.hashCode();
}catch(StackOverflowError e){
e.printStackTrace();
Assert.fail();
}
}
The text was updated successfully, but these errors were encountered:
The EntryBuilder.buildWithHistory () method there is a potential problem of circular reference.
Stack overflow exception is thrown at the timing to write the KeePassFile to file.
Circulation call occurs in Entry.hashCode () method.
The text was updated successfully, but these errors were encountered: