If dibetes is ruled out then other possibilities which need to be ruled out are prostatitis(inflammation of the prostate gland),interstitial cystitis,overactive
bladder syndrome,stroke and other neurological diseases,urinary incontinence,
bladder cancer(rare) and bladder dysfunction .
Pls consult a urologist in that case.
Hope it helps.Take care and pls do keep me posted if you have any additional doubts.Kind regards.