]
Michael Neale commented on JBRULES-1819:
----------------------------------------
still getting this Nicolas ? or resolved it now> that looks like there was a parser
error in the rules?
cannot retrieve rules from guvnor via ruleagent
-----------------------------------------------
Key: JBRULES-1819
URL:
https://jira.jboss.org/jira/browse/JBRULES-1819
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.0.0.M3
Environment: Linux, latest version trunk
Reporter: Nicolas Heron
Assignee: Michael Neale
I use guvnor to store my rules and when trying to access to them throw the rule agent,
here is the error I get :
15:22:48,814 INFO [STDOUT] INFO 23-10 15:22:48,807 (SecurityServiceImpl.java:login:46)
Logging in user [nheron]
15:22:48,822 INFO [STDOUT] INFO 23-10 15:22:48,821
(DefaultAuthenticator.java:authenticate:38) User logged in via default authentication
module (no security check).
15:22:50,494 INFO [STDOUT] Checking access for : Politiques Prix
15:23:06,201 INFO [STDOUT] DEBUG 23-10 15:23:06,193
(SelectorManager.java:<init>:27) Loading selectors
15:23:06,243 INFO [STDOUT] DEBUG 23-10 15:23:06,242
(ContentManager.java:<init>:45) Loading content properties
15:23:07,649 ERROR [STDERR] BR.recoverFromMismatchedToken
15:23:07,650 ERROR [STDERR] src/main/resources/org/drools/lang/DescrBuilderTree.g: node
from line 6:45 mismatched tree node: ) expecting <UP>
15:23:07,651 ERROR [STDERR] BR.recoverFromMismatchedToken
15:23:07,652 ERROR [STDERR] src/main/resources/org/drools/lang/DescrBuilderTree.g: node
from line 30:45 mismatched tree node: ) expecting <UP>
15:23:08,583 ERROR [STDERR] BR.recoverFromMismatchedToken
15:23:08,584 ERROR [STDERR] src/main/resources/org/drools/lang/DescrBuilderTree.g: node
from line 4:14 mismatched tree node: ) expecting <UP>
15:23:08,584 ERROR [STDERR] BR.recoverFromMismatchedToken
15:23:08,584 ERROR [STDERR] src/main/resources/org/drools/lang/DescrBuilderTree.g: node
from line 5:21 mismatched tree node: ) expecting <UP>
15:23:08,670 ERROR [STDERR] BR.recoverFromMismatchedToken
15:23:08,670 ERROR [STDERR] src/main/resources/org/drools/lang/DescrBuilderTree.g: node
from line 6:71 mismatched tree node: ) expecting <UP>
15:23:08,671 ERROR [STDERR] BR.recoverFromMismatchedToken
15:23:08,671 ERROR [STDERR] src/main/resources/org/drools/lang/DescrBuilderTree.g: node
from line 16:71 mismatched tree node: ) expecting <UP>
15:23:08,671 ERROR [STDERR] BR.recoverFromMismatchedToken
15:23:08,671 ERROR [STDERR] src/main/resources/org/drools/lang/DescrBuilderTree.g: node
from line 26:43 mismatched tree node: ) expecting <UP>
15:23:58,147 INFO [STDOUT] PackageName: cgi.rules.politiquesprix
15:23:58,147 INFO [STDOUT] PackageVersion: LATEST
15:23:58,147 INFO [STDOUT] PackageIsLatest: true
15:23:58,147 INFO [STDOUT] PackageIsSource: true
and the code i use is :
Properties prop = new Properties();
prop.setProperty("url",
"http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/cgi.rules.politiquesprix/LATEST");
webAgent = RuleAgent.newRuleAgent(prop);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: