title: 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'
body: <p>I am scratching my head as to what is happening here.....The print plugin is not working...
  I am trying to add a printer plugin to an application..after mapping up my xml and loading  html file, I do not see an error in Xcode. 
  However, as I run the application it crashes and the log states : </p>
  
  <blockquote>
    <p>Terminating app due to uncaught exception
    'NSInvalidArgumentException', reason: '<em>*</em> -[NSURL
    initFileURLWithPath:]: nil string parameter'</p>
  </blockquote>
  
  <p>I am worried as I am unable to overcome it since the last 24 hours...Any help will be great..or if someone can let me know of how to exactly get a printer plugin working in my app will be good....The code I am using is </p>
  
  <pre><code>// Set the base URL to be the www directory.
  NSString* wwwFilePath = [[NSBundle mainBundle] pathForResource:@"www" ofType:nil];
  NSURL*    baseURL     = [NSURL fileURLWithPath:wwwFilePath];
  </code></pre>