[JBoss JIRA] (DROOLS-4866) ActivationsSorter: Comparison method violates its general contract!
by Leonid Sotnikov (Jira)
Leonid Sotnikov created DROOLS-4866:
---------------------------------------
Summary: ActivationsSorter: Comparison method violates its general contract!
Key: DROOLS-4866
URL: https://issues.redhat.com/browse/DROOLS-4866
Project: Drools
Issue Type: Bug
Affects Versions: 7.30.0.Final
Environment: - JDK 1.8.0_181 (64 bit)
Reporter: Leonid Sotnikov
Assignee: Mario Fusco
Attachments: sorttest.zip
Hi.
While serializing a session with ProtobufOutputMarshaller we've encountered an exception in a few rare cases when the activations are sorted by {{Collections.sort( dormant, ActivationsSorter.INSTANCE )}}:
{code}
Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(TimSort.java:899)
at java.util.TimSort.mergeAt(TimSort.java:516)
at java.util.TimSort.mergeForceCollapse(TimSort.java:457)
at java.util.TimSort.sort(TimSort.java:254)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1462)
at java.util.Collections.sort(Collections.java:175)
(...)
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (WFLY-12865) .CLI command to write attribute is givin an StackOverflow Exception
by Jonathan Vila Lopez (Jira)
Jonathan Vila Lopez created WFLY-12865:
------------------------------------------
Summary: .CLI command to write attribute is givin an StackOverflow Exception
Key: WFLY-12865
URL: https://issues.redhat.com/browse/WFLY-12865
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 18.0.1.Final
Reporter: Jonathan Vila Lopez
Assignee: Flavia Rainone
In the RHAMT team we are trying to migrate the application from WF 15 to WF 18.
As part of the build the process starts WF and execute few .cli commands .
I get a StackOverflowError in a command :
{code:java}
/subsystem=undertow/server=default-server/host=default-host/location=\//:write-attribute(name=handler,value=windup-web-redirect)
Error
Command execution failed for command '/subsystem=undertow/server=default-server/host=default-host/location=\//:write-attribute(name=handler,value=windup-web-redirect)'. {
[ERROR] "outcome" => "failed",
[ERROR] "failure-description" => "java.lang.StackOverflowError:null"
[ERROR] }
^[[0m^[[31m17:48:42,651 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0403: Unexpected failure during execution of the following operation(s): [{
"address" => [
("subsystem" => "undertow"),
("server" => "default-server"),
("host" => "default-host"),
("location" => "/")
],
"operation" => "write-attribute",
"name" => "handler",
"value" => "windup-web-redirect",
"operation-headers" => {
"caller-type" => "user",
"access-mechanism" => "NATIVE"
}
}]: java.lang.StackOverflowError
at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:418)
at org.jboss.as.controller.CapabilityRegistry.getCapabilityStatus(CapabilityRegistry.java:392)
at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:426)
at org.jboss.as.controller.CapabilityRegistry.getCapabilityStatus(CapabilityRegistry.java:392)
at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:426)
at org.jboss.as.controller.CapabilityRegistry.getCapabilityStatus(CapabilityRegistry.java:392)
at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:426)
{code}
If I connect to WF 18, using jboss-cli.sh and this is the result of the read command :
{code}
[standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=default-host/location=\//:read-attribute(name=handler)
{
"outcome" => "success",
"result" => "welcome-content",
"response-headers" => {"process-state" => "restart-required"}
}
{code}
But if I do the write command :
{code}
[standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=default-host/location=\//:write-attribute(name=handler,value=windup-web-redirect)
{
"outcome" => "failed",
"failure-description" => "java.lang.StackOverflowError:null"
}
{code}
Even if I try to write the same value as I get from the read command it gives the same error.
If I try to use *add* instead of *write-attribute*, I get a resource duplicated error.
*This is stopping our current migration of RHAMT 4.3.0 to WF 18*
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (WFLY-12865) .CLI command to write attribute is giving a StackOverflow Exception
by Jonathan Vila Lopez (Jira)
[ https://issues.redhat.com/browse/WFLY-12865?page=com.atlassian.jira.plugi... ]
Jonathan Vila Lopez updated WFLY-12865:
---------------------------------------
Summary: .CLI command to write attribute is giving a StackOverflow Exception (was: .CLI command to write attribute is givin an StackOverflow Exception)
> .CLI command to write attribute is giving a StackOverflow Exception
> -------------------------------------------------------------------
>
> Key: WFLY-12865
> URL: https://issues.redhat.com/browse/WFLY-12865
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 18.0.1.Final
> Reporter: Jonathan Vila Lopez
> Assignee: Flavia Rainone
> Priority: Blocker
>
> In the RHAMT team we are trying to migrate the application from WF 15 to WF 18.
> As part of the build the process starts WF and execute few .cli commands .
> I get a StackOverflowError in a command :
> {code:java}
> /subsystem=undertow/server=default-server/host=default-host/location=\//:write-attribute(name=handler,value=windup-web-redirect)
> Error
> Command execution failed for command '/subsystem=undertow/server=default-server/host=default-host/location=\//:write-attribute(name=handler,value=windup-web-redirect)'. {
> [ERROR] "outcome" => "failed",
> [ERROR] "failure-description" => "java.lang.StackOverflowError:null"
> [ERROR] }
> ^[[0m^[[31m17:48:42,651 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0403: Unexpected failure during execution of the following operation(s): [{
> "address" => [
> ("subsystem" => "undertow"),
> ("server" => "default-server"),
> ("host" => "default-host"),
> ("location" => "/")
> ],
> "operation" => "write-attribute",
> "name" => "handler",
> "value" => "windup-web-redirect",
> "operation-headers" => {
> "caller-type" => "user",
> "access-mechanism" => "NATIVE"
> }
> }]: java.lang.StackOverflowError
> at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:418)
> at org.jboss.as.controller.CapabilityRegistry.getCapabilityStatus(CapabilityRegistry.java:392)
> at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:426)
> at org.jboss.as.controller.CapabilityRegistry.getCapabilityStatus(CapabilityRegistry.java:392)
> at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:426)
> at org.jboss.as.controller.CapabilityRegistry.getCapabilityStatus(CapabilityRegistry.java:392)
> at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:426)
> {code}
> If I connect to WF 18, using jboss-cli.sh and this is the result of the read command :
> {code}
> [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=default-host/location=\//:read-attribute(name=handler)
> {
> "outcome" => "success",
> "result" => "welcome-content",
> "response-headers" => {"process-state" => "restart-required"}
> }
> {code}
> But if I do the write command :
> {code}
> [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=default-host/location=\//:write-attribute(name=handler,value=windup-web-redirect)
> {
> "outcome" => "failed",
> "failure-description" => "java.lang.StackOverflowError:null"
> }
> {code}
> Even if I try to write the same value as I get from the read command it gives the same error.
> If I try to use *add* instead of *write-attribute*, I get a resource duplicated error.
> *This is stopping our current migration of RHAMT 4.3.0 to WF 18*
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (WFLY-12695) Some .CLI commands that has been working since WF9 fails on WF18
by Jeff Mesnil (Jira)
[ https://issues.redhat.com/browse/WFLY-12695?page=com.atlassian.jira.plugi... ]
Jeff Mesnil reassigned WFLY-12695:
----------------------------------
Assignee: Yeray Borges (was: Jeff Mesnil)
> Some .CLI commands that has been working since WF9 fails on WF18
> ----------------------------------------------------------------
>
> Key: WFLY-12695
> URL: https://issues.redhat.com/browse/WFLY-12695
> Project: WildFly
> Issue Type: Bug
> Components: Management, Web (Undertow)
> Affects Versions: 18.0.0.Final
> Reporter: Peter Jonsson
> Assignee: Yeray Borges
> Priority: Major
>
> Error message is
> ERROR [org.jboss.as.cli.CommandContext] (CLI command) {
> "outcome" => "failed",
> "failure-description" => "java.lang.StackOverflowError:null"
> }
> And in the log
> 2019-10-21 19:14:44,377 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0403: Unexpected failure during execution of the following operation(s): [{
> "address" => [("subsystem" => "undertow")],
> "operation" => "write-attribute",
> "name" => "statistics-enabled",
> "value" => true,
> "operation-headers" => {
> "caller-type" => "user",
> "access-mechanism" => "NATIVE"
> }
> }]: java.lang.StackOverflowError
> at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:418)
> at org.jboss.as.controller.CapabilityRegistry.getCapabilityStatus(CapabilityRegistry.java:392)
> at org.jboss.as.controller.CapabilityRegistry.getDependentCapabilityStatus(CapabilityRegistry.java:426)
> at org.jboss.as.controller.CapabilityRegistry.getCapabilityStatus(CapabilityRegistry.java:392)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (DROOLS-4865) Add i18n reporting for DMN V&V
by Toni Rikkola (Jira)
Toni Rikkola created DROOLS-4865:
------------------------------------
Summary: Add i18n reporting for DMN V&V
Key: DROOLS-4865
URL: https://issues.redhat.com/browse/DROOLS-4865
Project: Drools
Issue Type: Enhancement
Components: DMN Editor
Reporter: Toni Rikkola
Assignee: Toni Rikkola
The current reporting from the shared V&V is showing debug messages that are not meant for user to see and the custom DMN V&V is not i18n.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months