Additional information:<br>This was executed in an Eclipse project R, with other projects in the same workspace.<br>The DRL file contains an experimental rule which happens to contain patterns <br>that refer to classes which are not in project R, but in some other project.<br>
<br>The FileReader is set up with an absolute path, but the succsessful building uses<br>�� kBuilder.add( ResourceFactory.newFileResource( &quot;...some.drl&quot; ), ResourceType.DRL );<br><br>After omitting the &quot;experimental rule&quot;, parser.parse(...) succeeds.<br>
<br>-W<br><br><br><div class="gmail_quote">On 1 November 2010 16:28, Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Trying to parse an absolutely correct DRL (a regular build succeeds)...<br>� <br>��� DrlParser parser = new DrlParser();<br>��� FileReader fr = new FileReader( &quot;some.drl&quot; );<br>��� // ... read file, create String<br>

��� String drl = ...<br>��� PackageDescr pd =� parser.parse( true, drl );<br>��� if( pd == null ){<br>����� System.out.println( &quot;pd id null!&quot; );<br>����� System.out.println( parser.getErrors() );<br>��� } else {<br>

������ ...<br>��� }<br><br>...and the error is:<br><br>pd id null!<br>[[-1,0]: Unknown error while parsing. This is a bug. Please contact the Development team.]<br><br>?<br><font color="#888888">-W<br><br><br>
</font></blockquote></div><br>