I rarely read papers that applied SEM explained why non-positive definite covariance matrix happened.
As explained by others, this may be merely due to sampling error. In my demonstration of the group order, the model fitted is a true model because I know the data generation model. However, due to the small sample size in one group, I could artificially find a possible sample that yields a non-positive definite covariance matrix for the latent variables, as in your case.
Though not ideal, you probably can suggest that that warning may be due to the small sample size in one group. Therefore, when the full sample is used to estimate the parameters, the warning disappears.
However, note that, as far as I know, it is not common to constrain the factor variances and covariances to be equal between groups (though this can be a desirable model in some cases) because this is a very strict form of equivalence (and so may usually fail to fit well). You may need to see whether you can justify these constraints theoretically.
Hope this helps.
-- Shu Fai