Error in system settings
-
Hi,
I get errors when saving in system settings.
M2M2 V1.0.1, Ubuntu 10.04.1 LTSSystem event alarm levels:
Error marshalling java.util.List: Error marshalling com.serotonin.m2m2.vo.pair.StringIntPair: No converter found for 'class com.serotonin.m2m2.vo.pair.StringIntPair'. See the logs for more details.. See the logs for more details.Audit event alarm levels:
Error marshalling java.util.List: Error marshalling com.serotonin.m2m2.vo.pair.StringIntPair: No converter found for 'class com.serotonin.m2m2.vo.pair.StringIntPair'. See the logs for more details.. See the logs for more details.Email settings, HTTP settings, Other settings, Colour settings = OK
Error when I change and save user:
PreparedStatementCallback; SQL [update users set username=?, password=?, email=?, phone=?, admin=?, disabled=?, homeUrl=?, receiveAlarmEmails=?, receiveOwnAuditEvents=? where id=?]; An attempt was made to get a data value of type 'VARCHAR' from a data value of type 'null'.; nested exception is java.sql.SQLDataException: An attempt was made to get a data value of type 'VARCHAR' from a data value of type 'null'.Add a new user = OK
Br, Conny Larsson
-
Thanks Conny. I was able to recreate the first two, but not the latter. The first two can be fixed by adding this line to web/WEB-INF/dwr.xml:
<convert converter="bean" match="com.serotonin.m2m2.vo.pair.*"/>
... somewhere in with the other converters. This fix will be in an upcoming upgrade.
-
it works
any idea about the user save error?
Thanks
/Conny -
No. It's possible it was already discovered and fixed in dev.