[JBoss JIRA] (JGRP-2448) FD_SOCK IndexOutOfBoundsException
by Bela Ban (Jira)
[ https://issues.redhat.com/browse/JGRP-2448?page=com.atlassian.jira.plugin... ]
Bela Ban updated JGRP-2448:
---------------------------
Comment: was deleted
(was: Hmm, I'm computing {{index+1 % size}}, but when size is 0, this won't work. I guess I'll add a check for isEmpty() and return null in that case...)
> FD_SOCK IndexOutOfBoundsException
> ---------------------------------
>
> Key: JGRP-2448
> URL: https://issues.redhat.com/browse/JGRP-2448
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.1.8
> Reporter: Dan Berindei
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 5.0, 4.2.0
>
>
> {{PD_SOCK.pickNext()}} should iterate up to {{size - 1}}:
> {noformat}
> java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
> at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
> at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
> at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
> at java.base/java.util.Objects.checkIndex(Objects.java:372)
> at java.base/java.util.ArrayList.get(ArrayList.java:458)
> at java.base/java.util.Collections$SynchronizedList.get(Collections.java:2424)
> at org.jgroups.util.Util.pickNext(Util.java:2686)
> at org.jgroups.protocols.FD_SOCK.determinePingDest(FD_SOCK.java:762)
> at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:408)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (JGRP-2448) FD_SOCK IndexOutOfBoundsException
by Bela Ban (Jira)
[ https://issues.redhat.com/browse/JGRP-2448?page=com.atlassian.jira.plugin... ]
Bela Ban commented on JGRP-2448:
--------------------------------
Hmm, I'm computing {{index+1 % size}}, but when size is 0, this won't work. I guess I'll add a check for isEmpty() and return null in that case...
> FD_SOCK IndexOutOfBoundsException
> ---------------------------------
>
> Key: JGRP-2448
> URL: https://issues.redhat.com/browse/JGRP-2448
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.1.8
> Reporter: Dan Berindei
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 5.0, 4.2.0
>
>
> {{PD_SOCK.pickNext()}} should iterate up to {{size - 1}}:
> {noformat}
> java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
> at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
> at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
> at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
> at java.base/java.util.Objects.checkIndex(Objects.java:372)
> at java.base/java.util.ArrayList.get(ArrayList.java:458)
> at java.base/java.util.Collections$SynchronizedList.get(Collections.java:2424)
> at org.jgroups.util.Util.pickNext(Util.java:2686)
> at org.jgroups.protocols.FD_SOCK.determinePingDest(FD_SOCK.java:762)
> at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:408)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (JGRP-2448) FD_SOCK IndexOutOfBoundsException
by Bela Ban (Jira)
[ https://issues.redhat.com/browse/JGRP-2448?page=com.atlassian.jira.plugin... ]
Bela Ban updated JGRP-2448:
---------------------------
Fix Version/s: 5.0
4.2.0
> FD_SOCK IndexOutOfBoundsException
> ---------------------------------
>
> Key: JGRP-2448
> URL: https://issues.redhat.com/browse/JGRP-2448
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.1.8
> Reporter: Dan Berindei
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 5.0, 4.2.0
>
>
> {{PD_SOCK.pickNext()}} should iterate up to {{size - 1}}:
> {noformat}
> java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
> at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
> at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
> at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
> at java.base/java.util.Objects.checkIndex(Objects.java:372)
> at java.base/java.util.ArrayList.get(ArrayList.java:458)
> at java.base/java.util.Collections$SynchronizedList.get(Collections.java:2424)
> at org.jgroups.util.Util.pickNext(Util.java:2686)
> at org.jgroups.protocols.FD_SOCK.determinePingDest(FD_SOCK.java:762)
> at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:408)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (JGRP-2448) FD_SOCK IndexOutOfBoundsException
by Dan Berindei (Jira)
Dan Berindei created JGRP-2448:
----------------------------------
Summary: FD_SOCK IndexOutOfBoundsException
Key: JGRP-2448
URL: https://issues.redhat.com/browse/JGRP-2448
Project: JGroups
Issue Type: Bug
Affects Versions: 4.1.8
Reporter: Dan Berindei
Assignee: Bela Ban
{{PD_SOCK.pickNext()}} should iterate up to {{size - 1}}:
{noformat}
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:458)
at java.base/java.util.Collections$SynchronizedList.get(Collections.java:2424)
at org.jgroups.util.Util.pickNext(Util.java:2686)
at org.jgroups.protocols.FD_SOCK.determinePingDest(FD_SOCK.java:762)
at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:408)
at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (WFLY-9129) Setting env var SECMGR=true no longer works
by Stefan Guilhen (Jira)
[ https://issues.redhat.com/browse/WFLY-9129?page=com.atlassian.jira.plugin... ]
Stefan Guilhen reassigned WFLY-9129:
------------------------------------
Assignee: (was: Stefan Guilhen)
> Setting env var SECMGR=true no longer works
> -------------------------------------------
>
> Key: WFLY-9129
> URL: https://issues.redhat.com/browse/WFLY-9129
> Project: WildFly
> Issue Type: Bug
> Components: Security Manager
> Affects Versions: 10.0.0.Final, 10.1.0.Final, 11.0.0.Alpha1
> Reporter: r searls
> Priority: Major
>
> Setting env var SECMGR=true is suppose to enable the security manager.
> It is not working. I've tried the following and none of them enable
> the security manager.
> export SECMGR=true;
> on the cmd-line -DSECMGR=true
> edit bin/standalone.conf and uncomment line SECMGR="true"
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (WFLY-13057) Unexpected status of WSBACoordinator when using IBM JDK and SecurityManager
by Stefan Guilhen (Jira)
[ https://issues.redhat.com/browse/WFLY-13057?page=com.atlassian.jira.plugi... ]
Stefan Guilhen reassigned WFLY-13057:
-------------------------------------
Assignee: (was: Stefan Guilhen)
> Unexpected status of WSBACoordinator when using IBM JDK and SecurityManager
> ---------------------------------------------------------------------------
>
> Key: WFLY-13057
> URL: https://issues.redhat.com/browse/WFLY-13057
> Project: WildFly
> Issue Type: Bug
> Components: Security Manager, Test Suite
> Affects Versions: 19.0.0.Beta1
> Reporter: Francesco Marchioni
> Priority: Major
> Attachments: surefire-reports.zip
>
>
> An unexpected status of WSBACoordinator causes failures in the following tests when using IBM JDK 1.8 and Security Manager
> {code:java}
> [ERROR] Failures:
> [ERROR] BACoordinatorCompletionTestCase.testWSBACoordinatorCannotComplete:133->assertEventLogClient1:193->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[CANCEL]> but was:<null>
> [ERROR] BACoordinatorCompletionTestCase.testWSBACoordinatorCompletionFailToComplete:184->assertEventLogClient1:193->BaseFunctionalTest.assertEventLog:85 Another status order expected for the bacoordinator_completition_service1 expected:<[COMPLETE, CONFIRM_COMPLETED, COMPENSATE]> but was:<null>
> {code}
> Affected Tests in the AS Testsuite:
> org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase#testWSBACoordinatorCannotComplete
> org.jboss.as.test.xts.wsba.coordinatorcompletion.client.BACoordinatorCompletionTestCase#testWSBACoordinatorCompletionFailToComplete
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months