Likely causes are that you have a different instance or class than you think. Just set a breakpoint on writing and reading that variable or make a set/get method that prints it out with some debug info.
Did you actually debug this problem before asking?