[rules-users] DrlParser with "Unknown error while parsing..."

Wolfgang Laun wolfgang.laun at gmail.com
Mon Nov 1 11:28:20 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101101/b4c7aea9/attachment.html 


More information about the rules-users mailing list