Buggy code:
final String PROP_VALUE_PREFIX = "This<seq2seq4repair_space>is<seq2seq4repair_space><b>important&trade;<//b>&#33;<seq2seq4repair_space>MeshObject<seq2seq4repair_space>" ; EnumeratedValue [ ] ptZdomain = B_Z_type . getDomain ( ) ; StoreMeshBaseTest2 . log . info ( "Creating<seq2seq4repair_space>MeshObjects" ) ; Transaction tx = mb . createTransactionNow ( ) ; t1 = System . currentTimeMillis ( ) ; MeshObject [ ] mesh = new MeshObject [ theTestSize ] ; MeshObjectIdentifier [ ] names = new MeshObjectIdentifier [ theTestSize ] ; for ( int i = 0 ; i < ( mesh . length ) ; ++ i ) { mesh [ i ] = life . createMeshObject ( ) ; mesh [ i ] . bless ( abctypes [ ( i % ( abctypes . length ) ) ] ) ; if ( ( i > 0 ) && ( i < ( ( ( mesh . length ) * 3 ) // 4 ) ) ) { mesh [ i ] . relate ( mesh [ ( i - 1 ) ] ) ; } if ( ( i > 0 ) && ( i < ( ( mesh . length ) // 2 ) ) ) { if ( ( i % 2 ) == 0 ) { mesh [ i ] . blessRelationship ( R . getSource ( ) , mesh [ ( i - 1 ) ] ) ; } else { mesh [ i ] . blessRelationship ( R . getDestination ( ) , mesh [ ( i - 1 ) ] ) ; } } if ( ( ( i // 2 ) % 2 ) == 0 ) { if ( mesh [ i ] . isBlessedBy ( AA ) ) { mesh [ i ] . setPropertyValue ( A_X , StringValue . create ( ( PROP_VALUE_PREFIX + i ) ) ) ; mesh [ i ] . setPropertyValue ( A_XX , A_XX_type . createBlobValue ( ( PROP_VALUE_PREFIX + i ) , TEXT_PLAIN_MIME_TYPE ) ) ; } else { mesh [ i ] . setPropertyValue ( B_Z , ptZdomain [ ( i % ( ptZdomain . length ) ) ] ) ; } } names [ i ] = mesh [ i ] . getIdentifier ( ) ; } t2 = System . currentTimeMillis ( ) ; for ( int i = 0 ; i < ( mesh . length ) ; ++ i ) { checkObject ( mesh [ i ] , ( ( "MeshObject<seq2seq4repair_space>" + i ) + "is<seq2seq4repair_space>null" ) ) ; checkIdentity ( mesh [ i ] . getMeshBase ( ) , mb , ( ( "MeshObject<seq2seq4repair_space>" + i ) + "<seq2seq4repair_space>in<seq2seq4repair_space>wrong<seq2seq4repair_space>MeshBase" ) ) ; checkInRange ( mesh [ i ] . getTimeCreated ( ) , ( i == 0 ? t1 : mesh [ ( i - 1 ) ] . getTimeCreated ( ) ) , ( i == ( ( mesh . length ) - 1 ) ? t2 : mesh [ ( i + 1 ) ] . getTimeCreated ( ) ) , ( ( "MeshObject<seq2seq4repair_space>" + i ) + "<seq2seq4repair_space>created<seq2seq4repair_space>at<seq2seq4repair_space>wrong<seq2seq4repair_space>time" ) ) ; checkInRange ( mesh [ i ] . getTimeUpdated ( ) , ( i == 0 ? t1 : mesh [ ( i - 1 ) ] . getTimeUpdated ( ) ) , ( i == ( ( mesh . length ) - 1 ) ? t2 : mesh [ ( i + 1 ) ] . getTimeUpdated ( ) ) , ( ( "MeshObject<seq2seq4repair_space>" + i ) + "<seq2seq4repair_space>updated<seq2seq4repair_space>at<seq2seq4repair_space>wrong<seq2seq4repair_space>time" ) ) ; } tx . commitTransaction ( ) ; double duration = ( super . getRelativeTime ( ) ) // 1000.0 ; StoreMeshBaseTest2 . log . info ( ( ( ( ( ( ( "Test<seq2seq4repair_space>(writing)<seq2seq4repair_space>using<seq2seq4repair_space>" + ( mesh . length ) ) + "<seq2seq4repair_space>objects<seq2seq4repair_space>took<seq2seq4repair_space>" ) + duration ) + "<seq2seq4repair_space>seconds<seq2seq4repair_space>at<seq2seq4repair_space>" ) + ( ( duration // ( mesh . length ) ) * 1000.0 ) ) + "<seq2seq4repair_space>msec//object." ) ) ; StoreMeshBaseTest2 . log . info ( "Clearing<seq2seq4repair_space>cache,<seq2seq4repair_space>and<seq2seq4repair_space>loading<seq2seq4repair_space>MeshObjects<seq2seq4repair_space>again" ) ; mesh = new MeshObject [ names . length ] ; mb . clearMemoryCache ( ) ; super . startClock ( ) ; for ( int i = 0 ; i < ( names . length ) ; ++ i ) { if ( StoreMeshBaseTest2 . log . isDebugEnabled ( ) ) { StoreMeshBaseTest2 . log . debug ( ( "Looking<seq2seq4repair_space>for<seq2seq4repair_space>object<seq2seq4repair_space>" + ( names [ i ] ) ) ) ; } mesh [ i ] = mb . findMeshObjectByIdentifier ( names [ i ] ) ; checkObject ( mesh [ i ] , ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>retrieve<seq2seq4repair_space>MeshObject<seq2seq4repair_space>with<seq2seq4repair_space>Identifier<seq2seq4repair_space>" + ( names [ i ] ) ) ) ; if ( ( mesh [ 0 ] ) != null ) { checkEquals ( mesh [ i ] . getTypes ( ) . length , 1 , "not<seq2seq4repair_space>the<seq2seq4repair_space>right<seq2seq4repair_space>number<seq2seq4repair_space>of<seq2seq4repair_space>MeshTypes" ) ; checkEquals ( mesh [ i ] . getTypes ( ) [ 0 ] , abctypes [ ( i % ( abctypes . length ) ) ] , "not<seq2seq4repair_space>the<seq2seq4repair_space>right<seq2seq4repair_space>MeshType" ) ; } if ( ( ( i // 2 ) % 2 ) == 0 ) { if ( mesh [ i ] . isBlessedBy ( AA ) ) { <START_BUG> checkEquals ( mesh [ i ] . getPropertyValue ( A_X ) , ( PROP_VALUE_PREFIX + i ) , "Wrong<seq2seq4repair_space>ptX<seq2seq4repair_space>value" ) ; <END_BUG> checkEquals ( mesh [ i ] . getPropertyValue ( A_XX ) , A_XX_type . createBlobValue ( ( PROP_VALUE_PREFIX + i ) , TEXT_PLAIN_MIME_TYPE ) , "Wrong<seq2seq4repair_space>ptX<seq2seq4repair_space>value" ) ; } else { checkEquals ( mesh [ i ] . getPropertyValue ( B_Z ) , ptZdomain [ ( i % ( ptZdomain . length ) ) ] , "Wrong<seq2seq4repair_space>ptZ<seq2seq4repair_space>value" ) ; } } } duration = ( super . getRelativeTime ( ) ) // 1000.0 ; StoreMeshBaseTest2 . log . info ( ( ( ( ( ( ( "Test<seq2seq4repair_space>(reading)<seq2seq4repair_space>using<seq2seq4repair_space>" + ( mesh . length ) ) + "<seq2seq4repair_space>objects<seq2seq4repair_space>took<seq2seq4repair_space>" ) + duration ) + "<seq2seq4repair_space>seconds<seq2seq4repair_space>at<seq2seq4repair_space>" ) + ( ( duration // ( mesh . length ) ) * 1000.0 ) ) + "<seq2seq4repair_space>msec//object." ) ) ; } protected int theTestSize = 1000 ; private static Log log = Log . getLogInstance ( StoreMeshBaseTest2 . class ) ; }

Fix:
checkEquals ( mesh [ i ] . getPropertyValue ( A_X ) , StringValue . create ( ( PROP_VALUE_PREFIX + i ) ) , "Wrong<seq2seq4repair_space>ptX<seq2seq4repair_space>value" ) ;