I've been building up a simple @Service. It has a HashMap of <String,User>, that was originally declared like this:
HashMap<String, User> users = new HashMap<String, User>();
I referred to it as this.users in my code, and everything was working fine. I added @Asset to my @Service, and was very pleased to see everything magically persist across re-launches of my server.
Then I spent some fruitless hours trying to get YAML configuration to work. Somewhere in there, I renamed "this.users" to "mUsers" but otherwise left the declaration the same (notably, it has the initializer you see).
Now when I run, mUsers is null, and my code throws an exception. If I remove @Asset from the @Service, it works fine. But with @Asset, it's always null.
So, how do I fix this? I thought I might be able to delete the persistent store and start over, but I can't find the files. Where are those written?
Why did the name change affect things like this? Shouldn't it just look like a new member variable to persist?
Thanks,
--
Rick Mann
rm...@latencyzero.com