Few pokemon that are caught at high level have way too low exp that what is required to be at current level (in your case 32). Keep killing more wild pokes and once the required exp for L32 is reached, it will start levelling up normally. Until then the pokemon gains exp but you won't notice it since the bar always shows full