-
Bug
-
Resolution: Done
-
Major
-
6.3.0.Final
-
None
-
-
NEW
-
NEW
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 :
]
^ : [Rule name='test']
Predicate '"\" instanceof "' must be a Boolean expression
[Line: 14, Column: 8] : [Rule name='test']
------------------------------------------------