If you write a cdk:fragment that try to render another one which is written later on the template, you get a NPE at org.richfaces.cdk.templatecompiler.statements.RenderFragmentStatement.getArguments(RenderFragmentStatement.java:70)
See https://gist.github.com/2931625 to reproduce the problem.