org-comment-line-break-function does not handle fill-prefix being set to nil, which is the default value for fill-prefix. This means that pressing M-j inside an org-mode buffer in a vanilla installation of Emacs results in an error. From looking at other callers of insert-before-markers-and-inherit it is clear that a guard against fill-prefix being nil is missing.
Cheers,
Javier Olaechea
--
"I object to doing things that computers can do." — Olin Shivers