Sub-s.(1) thereof provides that no finding,sentence or order of a court of competent jurisdiction shall be deemed invalid merely on the ground that no charge was framed or on the ground of any error,omission or irregularity in the charge including any misjoinder of charge,unless,in the opinion of the court of appeal,confirmation or revision,a failure of justice has in fact been occasioned thereby