Nico Klasens wrote: > Since this weekend I am getting several stacktraces as below when I > start up MMbase. Everything still worked so I didn't spend time to fix > it right away. > It would be nice if it is not occuring anymore. I tried it this morning, > but there is too much unknown code involved for me to do a quick fix. > > First question I have is why we need EnumerationRestiction information > in the BasicDatatYype.toString if this is a very heavy operation?
It's my fault, and i will rmeove the stack-trace soon. I was trying to fix a bug, and for that needed to quickly see who was calling it.. I don't think the EnumerationRestriction information is very heavy. It may be a bit heavy, because if it contains queries, the queries must be executed (and this cannot happen during start-up, hence the warnings), but then again toString should only be used for debugging and/or reporting any way, so I don't think it is a problem that it costs a bit. Michiel -- Michiel Meeuwissen mihxil' Peperbus 111 MediaPark H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
