[JBoss JIRA] (WFCORE-1771) CLI - Tab completion in composite operation throws IAE
by Alexey Loubyansky (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1771?page=com.atlassian.jira.plugi... ]
Alexey Loubyansky reassigned WFCORE-1771:
-----------------------------------------
Assignee: Jean-Francois Denise (was: Alexey Loubyansky)
Jeff, could you please look into this one? Thanks.
> CLI - Tab completion in composite operation throws IAE
> ------------------------------------------------------
>
> Key: WFCORE-1771
> URL: https://issues.jboss.org/browse/WFCORE-1771
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0.Alpha7
> Reporter: Michal Petrov
> Assignee: Jean-Francois Denise
>
> Getting an exception when trying to make a composite operation
> {code}
> [standalone@localhost:9990 /] :composite(steps=[{aException in thread "Aesh Process Loop 1409160703" java.lang.IllegalArgumentException
> at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:139)
> at org.jboss.dmr.ModelNode.keys(ModelNode.java:1378)
> at org.jboss.as.cli.impl.ValueTypeCompleter$ValueTypeCallbackHandler.getCandidates(ValueTypeCompleter.java:502)
> at org.jboss.as.cli.impl.ValueTypeCompleter.complete(ValueTypeCompleter.java:332)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:254)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:74)
> at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:134)
> at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
> at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:143)
> at org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:155)
> at org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:423)
> at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:165)
> at org.jboss.aesh.console.Console.processInternalOperation(Console.java:773)
> at org.jboss.aesh.console.Console.execute(Console.java:733)
> at org.jboss.aesh.console.Console.access$900(Console.java:73)
> at org.jboss.aesh.console.Console$6.run(Console.java:642)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> Happens only for certain strings, e.g.
> * {{:composite(steps=\[{a<TAB>}} fails
> * {{:composite(steps=\[a<TAB>}} doesn't fail (suggests "," or "]")
> * {{:composite(steps=\[a=<TAB>}} fails
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (WFCORE-1771) CLI - Tab completion in composite operation throws IAE
by Michal Petrov (JIRA)
Michal Petrov created WFCORE-1771:
-------------------------------------
Summary: CLI - Tab completion in composite operation throws IAE
Key: WFCORE-1771
URL: https://issues.jboss.org/browse/WFCORE-1771
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 3.0.0.Alpha7
Reporter: Michal Petrov
Assignee: Alexey Loubyansky
Getting an exception when trying to make a composite operation
{code}
[standalone@localhost:9990 /] :composite(steps=[{aException in thread "Aesh Process Loop 1409160703" java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:139)
at org.jboss.dmr.ModelNode.keys(ModelNode.java:1378)
at org.jboss.as.cli.impl.ValueTypeCompleter$ValueTypeCallbackHandler.getCandidates(ValueTypeCompleter.java:502)
at org.jboss.as.cli.impl.ValueTypeCompleter.complete(ValueTypeCompleter.java:332)
at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:254)
at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:74)
at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:134)
at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:143)
at org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:155)
at org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:423)
at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:165)
at org.jboss.aesh.console.Console.processInternalOperation(Console.java:773)
at org.jboss.aesh.console.Console.execute(Console.java:733)
at org.jboss.aesh.console.Console.access$900(Console.java:73)
at org.jboss.aesh.console.Console$6.run(Console.java:642)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}
Happens only for certain strings, e.g.
* {{:composite(steps=\[{a<TAB>}} fails
* {{:composite(steps=\[a<TAB>}} doesn't fail (suggests "," or "]")
* {{:composite(steps=\[a=<TAB>}} fails
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (DROOLS-1279) [GSS] compilation of spreadsheet fails with specific condition
by Hiroko Miura (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1279?page=com.atlassian.jira.plugi... ]
Hiroko Miura updated DROOLS-1279:
---------------------------------
Fix Version/s: 6.5.0.Final
Labels: support (was: )
> [GSS] compilation of spreadsheet fails with specific condition
> --------------------------------------------------------------
>
> Key: DROOLS-1279
> URL: https://issues.jboss.org/browse/DROOLS-1279
> Project: Drools
> Issue Type: Bug
> Components: build, decision tables
> Affects Versions: 6.4.0.Final
> Reporter: Hiroko Miura
> Assignee: Petr Široký
> Labels: support
> Fix For: 6.5.0.Final
>
> Attachments: repoduser.zip
>
>
> Reproducer is attached.with problematic spredsheet named SampleNG.xml.
> Compilation of this fails with the following error.
> java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=dtables/SampleNG.xls, line=8, column=0
> text=Unable to Analyse Expression checktest == AAA:
> [Error: unable to resolve method using strict-mode: com.sample.DecisionTableTest$Message.AAA()]
> [Near : {... checktest == AAA ....}]
> because the following DRL is generated.
> rule "HelloWorld_12"
> when
> m:Message(checktest in(AAA), (checktest != "dummy") == "false")
> ...
> i.e. double quotation of value ("AAA") specified in the cell is removed.
>
> If D column does not exist like Sample.xml(also included in reproducer) or D column is modified like SampleOK.xml, this does not happen.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (WFCORE-952) Use WildFly Common for null param checks
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-952?page=com.atlassian.jira.plugin... ]
Brian Stansberry reassigned WFCORE-952:
---------------------------------------
Assignee: David Lloyd
Resolution: Done
> Use WildFly Common for null param checks
> ----------------------------------------
>
> Key: WFCORE-952
> URL: https://issues.jboss.org/browse/WFCORE-952
> Project: WildFly Core
> Issue Type: Task
> Reporter: David Lloyd
> Assignee: David Lloyd
> Priority: Minor
> Fix For: 3.0.0.Alpha8
>
>
> For each module, do the following:
> * Locate any/all null param check methods in the log msg
> * Replace them with calls to org.wildfly.common.Assert#checkNotNullParam or related method as needed
> * Replace the old null param check method with a comment that reserves the ID and shows that it was previously used for that purpose
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (DROOLS-1280) further document state machine, thread-safety and include diagrams
by Matteo Mortari (JIRA)
Matteo Mortari created DROOLS-1280:
--------------------------------------
Summary: further document state machine, thread-safety and include diagrams
Key: DROOLS-1280
URL: https://issues.jboss.org/browse/DROOLS-1280
Project: Drools
Issue Type: Enhancement
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Priority: Minor
Spin-off remaining linked documentation work from [DROOLS-1272] for:
Include docs on state machine and thread safety
Flow charts and state diagrams
Ensure the N&N section describing state machine and thread-safety is correctly reflected in section of the manual.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (DROOLS-1234) Monitoring framework improvements
by Matteo Mortari (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1234?page=com.atlassian.jira.plugi... ]
Matteo Mortari commented on DROOLS-1234:
----------------------------------------
Commits performed at this DROOLS-1234 level for N&N documentation update to reflect all changes in sub-tasks.
> Monitoring framework improvements
> ---------------------------------
>
> Key: DROOLS-1234
> URL: https://issues.jboss.org/browse/DROOLS-1234
> Project: Drools
> Issue Type: Enhancement
> Components: core engine, kie server
> Affects Versions: 6.4.0.Final
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Fix For: 6.5.0.Final, 7.0.0.Final
>
>
> For the following tasks:
> # MBean naming rework
> # MBean aggregation of statistics mechanism, without putting overhead on the running KieSessions
> # currently statistics are provided as-a-List for historical reasons, but as JMX support Table, rework them as a JMX Table
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (DROOLS-1269) RHQ / JON plug-in display wrong hierarchy and repeatedly nesting KieSession under KieBase
by Matteo Mortari (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1269?page=com.atlassian.jira.plugi... ]
Matteo Mortari commented on DROOLS-1269:
----------------------------------------
Fixed for correct nesting and correct hierarchy display by cascading
manually the {{\{kcontainerId\}}} variable. Specifically, the hierarchy now is:
{code}
KieContainer
+ KieBase
+ KieSession
{code}
The KieBase: take the {{\{kcontainerId\}}} variable from the parent, and
re-exposes it as a new variable "kcId", at the level of the KieBase
itself. In turn, now the KieSession can access to {{\{kcId\}}} variable,
effectively and for any pragmatic effect representing the KieContainer
from the grand-parent.
Functional test result on RHQ / JON :
!screenshot-1.png|thumbnail!
In the screenshot, the JVisualVM is show the correct nesting of the KieSession under their respective KieBases. Now the hierarchy is correctly reflected on the RHQ/JON plug-in, and the KieSession are correctly nested only under the KieBase they actually belongs to.
> RHQ / JON plug-in display wrong hierarchy and repeatedly nesting KieSession under KieBase
> -----------------------------------------------------------------------------------------
>
> Key: DROOLS-1269
> URL: https://issues.jboss.org/browse/DROOLS-1269
> Project: Drools
> Issue Type: Bug
> Components: integration
> Affects Versions: 6.1.0.Final, 6.2.0.Final, 6.3.0.Final, 6.4.0.Final
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Priority: Minor
> Fix For: 6.5.0.Final, 7.0.0.Final
>
> Attachments: rhqjon.png, screenshot-1.png
>
>
> ... regardless of the real KieBase they actually belong to.
> Ref example screenshot:
> !rhqjon.png|thumbnail!
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months