<html>
<head>
<style>
body {
  font-family: Verdana, sans-serif;
  font-size: 0.8em;
  color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
  width: 100%;
  height: 1px;
  background: #ccc;
  border: 0;
}
.footer {
  font-size: 0.8em;
  font-style: italic;
}
</style>
</head>
<body>
<span class="header"></span>
Issue #6233 has been updated by Daniel Crawl.

<ul>
</ul>

<p>The NPE is gone, but an empty pattern should match everything instead of generating an exception:</p>


        <pre><code>/** If non-empty, then only output file and directory names that
 *  match the specified (regular expression) pattern.
 *  The default value of this parameter is the empty String "",
 *  which indicates that everything matches.<br />     */<br />    public StringParameter pattern;</code></pre>
<hr />
<h1><a href="https://projects.ecoinformatics.org/ecoinfo/issues/6233#change-21117">Bug #6233: DirectoryListing NPE </a></h1>

<ul>
<li>Author: Daniel Crawl</li>
<li>Status: New</li>
<li>Priority: Normal</li>
<li>Assignee: Daniel Crawl</li>
<li>Category: actors</li>
<li>Target version: 2.5.0</li>
  <li>Bugzilla-Id: </li>
</ul>

<p>The DirectoryListing actor has an NPE:</p>


        <p>java.lang.NullPointerException<br />    at ptolemy.util.RecursiveFileFilter.accept(RecursiveFileFilter.java:141)<br />    at java.io.File.list(File.java:1027)<br />    at ptolemy.util.RecursiveFileFilter.listFiles(RecursiveFileFilter.java:252)<br />    at ptolemy.actor.lib.io.DirectoryListing.fire(DirectoryListing.java:270)<br />    at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:465)</p>


        <p>I'm attaching an example model that demonstrates the problem in Vergil.</p>


<hr />
<span class="footer"><p>You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="https://projects.ecoinformatics.org/ecoinfo/my/account">https://projects.ecoinformatics.org/ecoinfo/my/account</a></p></span>
</body>
</html>