if ( pattern == null ) {
return null;
}
final AccessorDescr accessor = (AccessorDescr) fromDescr.getDataSource();
DataProvider dataProvider = null;
<BUG>try {
final DroolsMVELFactory factory = new DroolsMVELFactory();
factory.setPreviousDeclarationMap( context.getDeclarationResolver().getDeclarations() );
factory.setGlobalsMap( context.getPkg().getGlobals() );</BUG>
final Serializable compiled = MVEL.compileExpression( accessor.toString() );

if ( pattern == null ) {
return null;
}
final AccessorDescr accessor = (AccessorDescr) fromDescr.getDataSource();
DataProvider dataProvider = null;
try {
final DroolsMVELFactory factory = new DroolsMVELFactory(context.getDeclarationResolver().getDeclarations(), null,  context.getPkg().getGlobals() );
final Serializable compiled = MVEL.compileExpression( accessor.toString() );
