# mdframed and colortbl Connection problem

I'm using mdframed for bordered tables. Additionally I'd like to change the bg-colour of some columns using the package colortbl. However when I try to load colortbl with \usepackage, the document refuses to compile moaning about a runaway argument/forgotten endgroup. When I do not load colortbl, the error disappears. Is this a known bug? How can I avoid it then? The error message in question:

Package mdframed Info: mdframed inside float
mdframed uses option nobreak mdframed on input line 2440.
Package mdframed Info: mdframed inside a box
mdframed uses option nobreak mdframed on input line 2440.
Runaway argument?
{\textbf {Migräne}
! Paragraph ended before \multicolumn was complete.

-
The info is only a info and no error ;-). Can you provide an example (My Migräne). –  Marco Daniel Dec 21 '11 at 9:36
I've attached a snapshot: !img. What do you mean by (My Migraine)? –  Jan Dec 21 '11 at 9:42
But you forgot the example. –  Marco Daniel Dec 21 '11 at 9:47

I get no errors

\listfiles
\documentclass{article}
\usepackage[table]{xcolor}
\usepackage[xcolor=table]{mdframed}
\begin{document}
Text
\begin{mdframed}
\begin{tabular}{>{\columncolor{red}}r}
foo
\end{tabular}
\end{mdframed}
\end{document}

-
Thanks for your answer. The code in question is very long so I'm not sure about posting it here (big table). Error doesn't occur when I shorten the table. Has it sth. to do with the table's size? –  Jan Dec 21 '11 at 9:51
@Jan: Can you reduce the code. The size of the table should be independent. –  Marco Daniel Dec 21 '11 at 9:56
Thank you Marco. The size was the problem. I don't know where the problem came from but placing it on another page mysteriously solved it. Weird. –  Jan Dec 21 '11 at 10:46