| The method add(int, Object) in PersistentList has been changed since Version 4.3.8. In Version 4.3.8 the method looked like this if ( !isOperationQueueEnabled() ) { write(); list.add( index, value ); } else { queueOperation( new Add( index, value ) ); } In 5.1.0 the call to isOperationQueueEnabled has been replace by ( !isInitialized() || isConnectedToSession()) which is wrong. Instead it should be (isInitialized() || !isConnectedToSession()) which would be the same as !(!isInitialized() && isConnectedToSession()) |