It seems that somehow ,
if ( session == null ) { if ( allowLoadOutsideTransaction ) { tempSession = openTemporarySessionForLoading(); } else { throwLazyInitializationException( "could not initialize proxy - no Session" ); } }
both session and tempssion are null openTemporarySessionForLoading is returning null but not throwing any exception.