[JBoss JIRA] (DROOLS-2841) [DMN Designer] Sort item definitions of the model
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-2841?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-2841:
----------------------------------------
[~jomarko] I think this has been completed when https://issues.jboss.org/browse/DROOLS-3028 was done.
Could you please verify the issue you report here has been resolved?
> [DMN Designer] Sort item definitions of the model
> -------------------------------------------------
>
> Key: DROOLS-2841
> URL: https://issues.jboss.org/browse/DROOLS-2841
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Affects Versions: 7.10.0.Final
> Reporter: Jozef Marko
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
>
> The DMN model file can contain custom item definitions. These are then shown in the data type picker dialog. Currently these definitions are not sorted in the dialog. We should sort them and their attributes alphabetically (a -> z).
> Possibility to change key for sorting shouldn't be implemented. If such requirement appears in future, will be implemented in separate jira.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 9 months
[JBoss JIRA] (DROOLS-1669) NullPointerException in FlatQueryResults.<init> ("left join" query)
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-1669?page=com.atlassian.jira.plugi... ]
Mario Fusco resolved DROOLS-1669.
---------------------------------
Fix Version/s: 7.6.0.Final
Resolution: Done
Fixed from drools 7.6.0.Final by https://github.com/kiegroup/drools/commit/f19d061c52ab5ea030ad47e506c30fe...
Tested with https://github.com/kiegroup/drools/commit/2facfaea98df55ed3d53965d141193e...
> NullPointerException in FlatQueryResults.<init> ("left join" query)
> -------------------------------------------------------------------
>
> Key: DROOLS-1669
> URL: https://issues.jboss.org/browse/DROOLS-1669
> Project: Drools
> Issue Type: Bug
> Components: core engine, kie server
> Affects Versions: 6.5.0.Final
> Environment: Win7 x64, Tomcat 9, workbench-built DRL, managed KIE Server execution
> Reporter: Russell Morrisey
> Assignee: Mario Fusco
> Priority: Major
> Fix For: 7.6.0.Final
>
>
> The following DRL query passes build and validation in the workbench, but fails at runtime in KIE Server:
> {code:java}
> query "questionsKnowledge" ()
> $question: Question()
> $visible: QuestionVisible(question == $question) or not QuestionVisible(question == $question)
> end
> {code}
> The intent is that $visible may or may not be bound, depending on whether QuestionVisible is present. It looks like this causes an error in FlatQueryResults.(init):
> {code:java}
> 15:59:30.897 ERROR o.k.s.s.d.DroolsKieContainerCommandServiceImpl - Error calling container 'qna2'
> java.lang.NullPointerException: null
> at org.drools.core.QueryResultsRowImpl.getFactHandle(QueryResultsRowImpl.java:99) ~[drools-core-6.5.0.Final.jar:6.5.0.Final]
> at org.drools.core.QueryResultsRowImpl.getFactHandle(QueryResultsRowImpl.java:95) ~[drools-core-6.5.0.Final.jar:6.5.0.Final]
> at org.drools.core.runtime.rule.impl.FlatQueryResults.<init>(FlatQueryResults.java:116) ~[drools-core-6.5.0.Final.jar:6.5.0.Final]
> at org.drools.core.command.runtime.rule.QueryCommand.execute(QueryCommand.java:109) ~[drools-core-6.5.0.Final.jar:6.5.0.Final]
> at org.drools.core.command.runtime.rule.QueryCommand.execute(QueryCommand.java:39) ~[drools-core-6.5.0.Final.jar:6.5.0.Final]
> at org.drools.core.command.runtime.BatchExecutionCommandImpl.execute(BatchExecutionCommandImpl.java:137) ~[drools-core-6.5.0.Final.jar:6.5.0.Final]
> at org.drools.core.command.runtime.BatchExecutionCommandImpl.execute(BatchExecutionCommandImpl.java:51) ~[drools-core-6.5.0.Final.jar:6.5.0.Final]
> at org.drools.core.impl.StatelessKnowledgeSessionImpl.execute(StatelessKnowledgeSessionImpl.java:254) ~[drools-core-6.5.0.Final.jar:6.5.0.Final]
> at org.kie.server.services.drools.RulesExecutionService.call(RulesExecutionService.java:52) ~[kie-server-services-drools-6.5.0.Final.jar:6.5.0.Final]
> at org.kie.server.services.drools.DroolsKieContainerCommandServiceImpl.callContainer(DroolsKieContainerCommandServiceImpl.java:69) ~[kie-server-services-drools-6.5.0.Final.jar:6.5.0.Final
> ]
> at org.kie.server.remote.rest.drools.CommandResource.manageContainer(CommandResource.java:72) [kie-server-rest-drools-6.5.0.Final.jar:6.5.0.Final]
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 9 months