Trying to parse an absolutely correct DRL (a regular build succeeds)...
DrlParser parser = new DrlParser();
FileReader fr = new FileReader( "some.drl" );
// ... read file, create String
String drl = ...
PackageDescr pd = parser.parse( true, drl );
if( pd == null ){
System.out.println( "pd id null!" );
System.out.println( parser.getErrors() );
} else {
...
}
...and the error is:
pd id null!
[[-1,0]: Unknown error while parsing. This is a bug. Please contact the Development team.]
?
-W