You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2021/08/25 17:05:00 UTC

[jira] [Commented] (IGNITE-15345) Registration of remote event listener with null remote filter while security is enabled fails with exception.

    [ https://issues.apache.org/jira/browse/IGNITE-15345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404606#comment-17404606 ] 

Ignite TC Bot commented on IGNITE-15345:
----------------------------------------

{panel:title=Branch: [pull/9355/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9355/head] Base: [master] : New Tests (1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Security{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=6152462]]
* {color:#013220}SecurityTestSuite: EventsRemoteSecurityContextCheckTest.testRemoteListenWithNullFilter - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6152475&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Registration of remote event listener with null remote filter while security is enabled fails with exception. 
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-15345
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15345
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Mikhail Petrov
>            Assignee: Mikhail Petrov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Exception with the following stack trace is thrown:
> {code:java}
> java.lang.NullPointerException: Parameter 'original' cannot be null.
> 	at java.util.Objects.requireNonNull(Objects.java:228)
> 	at org.apache.ignite.internal.processors.security.AbstractSecurityAwareExternalizable.<init>(AbstractSecurityAwareExternalizable.java:60)
> 	at org.apache.ignite.internal.SecurityAwarePredicate.<init>(SecurityAwarePredicate.java:48)
> 	at org.apache.ignite.internal.IgniteEventsImpl.securityAwareRemoteFilter(IgniteEventsImpl.java:193)
> 	at org.apache.ignite.internal.IgniteEventsImpl.remoteListen(IgniteEventsImpl.java:136)
> 	at org.apache.ignite.internal.IgniteEventsImpl.remoteListen(IgniteEventsImpl.java:115)
> 	at org.apache.ignite.TestClass.test(TestClass.java:34)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest$7.run(GridAbstractTest.java:2432)
> {code}
> Reproducer:
> {code:java}
> public class TestClass extends AbstractSecurityTest {
>     /** */
>     @Test
>     public void test() throws Exception {
>         IgniteEx srv = startGridAllowAll("srv");
>         srv.events().remoteListen((uuid, e) -> true, null, EVT_CACHE_OBJECT_PUT);
>     }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)