Were you logged in at the time? If not, your processAction code will get an exception. Being lazy, I simply catch the exception within processAction and keep on going.
If the above does not match your situation, please post the stack trace.
When logged it doesn't crash, but still can't store anything in the db.
In processAction i use prefs.setValue(key, value);
and in doView i use prefs.getValue(key,def);
But in doView it allways return def...
You asked me the stack trace, but i don't have a clue how I do that...
Thant you for your help.
After setting the preferences in processAction, you must store them:
Regarding the stack trace, you stated that "it just crashes". The "crash" should have given a stack trace.