hybris CMS Cockpit: preview doesn't work
<p>I've just set up a new and clean hybris instance, created a b2c accelerator storefront using <code>ant modulegen</code> and the receipe <code>b2c_acc</code> - and of course I initialized my system after those steps. Everything works fine, but the CMS Cockpit preview.</p>

<p>Every time I try to open the preview of a page within the CMS Cockpit, I receive a HTTP 500 error which is being caused by a NullPointerException within this method of the <code>DefaultUrlEncoderService</code> class:</p>

<pre><code>@Override
public Collection&lt;String&gt; getEncodingAttributesForSite()
{

    return getCmsSiteService().getCurrentSite().getUrlEncodingAttributes();
}
</code></pre>

<p>The reason is that <code>getCurrentSite()</code> does not return any website, though the page I try to open (e.g. the Homepage) has been assigned to the "apparel-de" website.</p>

<p>Does anybody have a clue what might be the issue?
Did I miss anything?</p>