diff --git a/core/src/main/java/com/orientechnologies/orient/core/record/impl/ORecordBytes.java b/core/src/main/java/com/orientechnologies/orient/core/record/impl/ORecordBytes.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/record/impl/ORecordBytes.java
+++ b/core/src/main/java/com/orientechnologies/orient/core/record/impl/ORecordBytes.java
@@ -45,6 +45,7 @@ public class ORecordBytes extends ORecordAbstract<byte[]> {
 	}

 

 	public ORecordBytes(final ODatabaseRecord iDatabase) {

+		setup();

 		ODatabaseRecordThreadLocal.INSTANCE.set(iDatabase);

 	}
Contribution by Sylvain to fix issue <I>