@Nullable public RenderResult inflate(){
  if (myPsiFile == null) {
    throw new IllegalStateException("inflate shouldn't be called on RenderTask without PsiFile");
  }
  try {
    return RenderService.runRenderAction(null);
  }
 catch (  final Exception e) {
    String message=e.getMessage();
    if (message == null) {
      message=e.toString();
    }
    myLogger.addMessage(RenderProblem.createPlain(ERROR,message,myRenderService.getProject(),myLogger.getLinkManager(),e));
    return new RenderResult(this,null,myPsiFile,myLogger);
  }
}

@ Nullable public RenderResult inflate ( ) { if ( myPsiFile == null ) { throw new IllegalStateException ( "inflate shouldn't be called on RenderTask without PsiFile" ) ; } try { return RenderService . runRenderAction ( null ) ; } catch ( final Exception e ) { String message = e . getMessage ( ) ; if ( message == null ) { message = e . toString ( ) ; } myLogger . addMessage ( RenderProblem . createPlain ( ERROR , message , myRenderService . getProject ( ) , myLogger . getLinkManager ( ) , e ) ) ; return new RenderResult ( this , null , myPsiFile , myLogger ) ; } }
inflates the layout but does not render it .
