You may want to contact the CB Juice author, with following information:
Starting in CB 1.2, the field name in comprofiler_fields table is not necessarily the database column, there is a new field "table_columns" which holds the fieldS, comma-separated.
So typically, onlinestatus is a CB field without corresponding comprofiler column (as that info is in the sessions table !).
You had to add that column to comprofiler to make CB Juice happy, and that's an OK workaround until CB Juice is updated for CB 1.2
Thanks for sharing your solution, and thanks in advance on contacting the CBJuice author with the url to this thread
For now, I'm making this thread sticky.