You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tkobayas (via GitHub)" <gi...@apache.org> on 2024/03/07 07:47:25 UTC
[I] [new-parser] `Missing left node` with `instanceof` [incubator-kie-drools]
tkobayas opened a new issue, #5773:
URL: https://github.com/apache/incubator-kie-drools/issues/5773
## Parent issue
- #5678
## Failing tests
After applying https://github.com/apache/incubator-kie-drools/pull/5771 ,
- `org.drools.model.codegen.execmodel.NullSafeDereferencingTest.testNullSafeDereferncingWithInstanceof`
## Notes
- `STANDARD_FROM_DRL` only.
## Rule code snippet
```
$p : Person( !(this instanceof MysteriousMan), address!.city != null )
```
## Error output
```
[ERROR] org.drools.model.codegen.execmodel.NullSafeDereferencingTest.testNullSafeDereferncingWithInstanceof[STANDARD_FROM_DRL] -- Time elapsed: 0.063 s <<< FAILURE!
java.lang.AssertionError:
[Message [id=1, kieBase=defaultKieBase, level=ERROR, path=r0.drl, line=-1, column=0
text=Unable to Analyse Expression instanceof MysteriousMan:
[Error: Missing left node]
[Near : {... instanceof MysteriousMan ....}]
^]]
at org.drools.model.codegen.execmodel.BaseModelTest.createKieBuilder(BaseModelTest.java:157)
at org.drools.model.codegen.execmodel.BaseModelTest.createKieBuilder(BaseModelTest.java:132)
at org.drools.model.codegen.execmodel.BaseModelTest.getKieContainer(BaseModelTest.java:121)
at org.drools.model.codegen.execmodel.BaseModelTest.getKieContainer(BaseModelTest.java:114)
at org.drools.model.codegen.execmodel.BaseModelTest.getKieSession(BaseModelTest.java:110)
at org.drools.model.codegen.execmodel.BaseModelTest.getKieSession(BaseModelTest.java:106)
at org.drools.model.codegen.execmodel.NullSafeDereferencingTest.testNullSafeDereferncingWithInstanceof(NullSafeDereferencingTest.java:417)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [new-parser] `Missing left node` with `instanceof` [incubator-kie-drools]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas closed issue #5773: [new-parser] `Missing left node` with `instanceof`
URL: https://github.com/apache/incubator-kie-drools/issues/5773
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [new-parser] `Missing left node` with `instanceof` [incubator-kie-drools]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on issue #5773:
URL: https://github.com/apache/incubator-kie-drools/issues/5773#issuecomment-2078545260
This is already fixed probably thanks to https://github.com/apache/incubator-kie-drools/pull/5845
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [new-parser] `Missing left node` with `instanceof` [incubator-kie-drools]
Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on issue #5773:
URL: https://github.com/apache/incubator-kie-drools/issues/5773#issuecomment-1982793156
/take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org