Closed Rainer-Lang closed 9 years ago
Found it.
Just wrote long comment and then saw "Found it" :)
What was the problem?
I have a test-base-class and there is a separate mapping only for tests - but I looked and also inserted the new mappings in my production environment. Sorry about this, Artem.
Ah, cool, no problems!
I get this error:
com.pushtorefresh.storio.StorIOException: java.lang.IllegalStateException: Object does not have type mapping ... db was not affected by this operation, please add type mapping for this type
But I have added the 3 resolvers for this class in
DbModule.java
(addTypeMapping). I this class I have different other classes which also have resolvers registered. I also use AutoParcel. But I have other classes which have also inner classes, also AutoParcel, and there all work. The error happens inPreparedPutObject
. TheSQLiteTypeMapping putResult = exception.typeMapping(this.object.getClass());
is missing not only this class but also other. There should be about 8 but there are only 5.Is there some logging I could switch on?