[jboss-jira] [JBoss JIRA] (DROOLS-966) Unable to analyse expression "\"#" in drools

재우 이 (JIRA) issues at jboss.org
Thu Oct 29 04:31:00 EDT 2015


재우 이 created DROOLS-966:
---------------------------

             Summary: Unable to analyse expression "\"#" in drools
                 Key: DROOLS-966
                 URL: https://issues.jboss.org/browse/DROOLS-966
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 6.3.0.Final
         Environment: CentOS 6.4, WildFly
            Reporter: 재우 이
            Assignee: Mario Fusco


I found a weird error with my simple rule.
Below code(attached "Steps to Reproduce") occur error as "Unable to Analyse Expression..".
But, if I change "\"#" to "\"" or "#" or "\"\"#", drools did not return error code.
I think it is related to '#'(Inline casts and coercion-http://docs.jboss.org/drools/release/6.3.0.Final/drools-docs/html_single/index.html)
I attached my code & exception below.

Best regards.


exception
------------------------------------------------
line 1:5 no viable alternative at character '\'
line 1:8 mismatched character '<EOF>' expecting '"'
[ERROR][2015-10-29 01:42:20][o.d.c.k.b.i.AbstractKieModule.buildKnowledgePackages] Unable to build KieBaseModel:info
Unable to Analyse Expression "\" instanceof " && name == ((")"\"):
[Error: unterminated string literal]
[Near : {... "\" instanceof " && name == ((")"\") ....}]
                                                 ^ : [Rule name='test']

Predicate '"\" instanceof "' must be a Boolean expression
[Line: 14, Column: 8] : [Rule name='test']
------------------------------------------------





--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list