this.ksession = ksession;
this.kbase = ksession.getKieBase();
this.conf = conf;
this.env = ksession.getEnvironment();
ObjectMarshallingStrategy[] strategies = (ObjectMarshallingStrategy[]) this.env.get( EnvironmentName.OBJECT_MARSHALLING_STRATEGIES );
<BUG>if (strategies  != null ) {
this.marshaller = MarshallerFactory.newMarshaller( kbase, strategies );

} else {
this.marshaller = MarshallerFactory.newMarshaller( kbase ) ;

}</BUG>
}

this.ksession = ksession;
this.kbase = ksession.getKieBase();
this.conf = conf;
this.env = ksession.getEnvironment();
ObjectMarshallingStrategy[] strategies = (ObjectMarshallingStrategy[]) this.env.get( EnvironmentName.OBJECT_MARSHALLING_STRATEGIES );
this.marshaller = strategies != null ?
(InternalMarshaller) MarshallerFactory.newMarshaller( kbase, strategies ) :
(InternalMarshaller) MarshallerFactory.newMarshaller( kbase ) ;
}
