Error in graph create: requirement failed: The inlets [] and outlets [] must correspond to the inlets [in] and outlets [out]
<p>I'm using akka streams graphDSL to create a runnable graph. There are no compile-time errors wrt inlet / outlet of the stream components. Runtime throws following error:</p>

<p>Any ideas what should I verify to make it run ?</p>

<pre><code>requirement failed: The inlets [] and outlets [] must correspond to the inlets [in] and outlets [out]
at scala.Predef$.require(Predef.scala:219)
at akka.stream.Shape.requireSamePortsAs(Shape.scala:168)
at akka.stream.impl.StreamLayout$CompositeModule.replaceShape(StreamLayout.scala:390)
at akka.stream.scaladsl.GraphApply$class.create(GraphApply.scala:18)
at akka.stream.scaladsl.GraphDSL$.create(Graph.scala:813)
at com.flipkart.connekt.busybees.streams.Topology$.bootstrap(Topology.scala:109)
at com.flipkart.connekt.busybees.BusyBeesBoot$.start(BusyBeesBoot.scala:65)
at com.flipkart.connekt.boot.Boot$.delayedEndpoint$com$flipkart$connekt$boot$Boot$1(Boot.scala:39)
at com.flipkart.connekt.boot.Boot$delayedInit$body.apply(Boot.scala:13)
</code></pre>

<p>The graph structure:</p>

<pre><code>source ~&gt; flowRate ~&gt; render ~&gt; platformPartition.in
platformPartition.out(0) ~&gt; formatIOS ~&gt; apnsDispatcher ~&gt; apnsEventCreator ~&gt; merger.in(0)
platformPartition.out(1) ~&gt; formatAndroid ~&gt; httpDispatcher ~&gt; gcmPoolFlow ~&gt; rHandlerGCM ~&gt; merger.in(1)
merger.out ~&gt; evtCreator ~&gt; Sink.ignore
</code></pre>