[ 
https://issues.apache.org/jira/browse/IGNITE-15686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladislav Pyatkov updated IGNITE-15686:
---------------------------------------
    Reviewer: Igor Sapego

> TableExample and KeyValueBinaryViewExample fail with NPE
> --------------------------------------------------------
>
>                 Key: IGNITE-15686
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15686
>             Project: Ignite
>          Issue Type: Bug
>          Components: examples
>            Reporter: Valentin Kulichenko
>            Assignee: Vladislav Pyatkov
>            Priority: Blocker
>              Labels: ignite-3
>             Fix For: 3.0.0-alpha3
>
>
> {noformat}
> Exception in thread "main" java.util.concurrent.CompletionException: class 
> org.apache.ignite.internal.manager.ListenerRemovedException: 
> java.lang.NullPointerException
>       at 
> java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:412)
>       at 
> java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2108)
>       at 
> org.apache.ignite.internal.table.distributed.TableManager.createTable(TableManager.java:382)
>       at 
> org.apache.ignite.example.table.TableExample.main(TableExample.java:65)
> Caused by: class org.apache.ignite.internal.manager.ListenerRemovedException: 
> java.lang.NullPointerException
>       at 
> org.apache.ignite.internal.manager.Producer.removeListener(Producer.java:65)
>       at 
> org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableAsync$10(TableManager.java:489)
>       at 
> java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986)
>       at 
> java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:970)
>       at 
> java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
>       at 
> java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1769)
>       at 
> java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756)
>       at 
> java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
>       at 
> java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
>       at 
> java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
>       at 
> java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
>       at 
> java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
> Caused by: class org.apache.ignite.lang.IgniteInternalCheckedException: 
> java.lang.NullPointerException
>       ... 11 more
> Caused by: java.util.concurrent.CompletionException: 
> java.lang.NullPointerException
>       at 
> java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
>       at 
> java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
>       at 
> java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1766)
>       ... 6 more
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.ignite.configuration.schemas.table.TableNode.partitions(Unknown 
> Source)
>       at 
> org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableAsync$8(TableManager.java:464)
>       at 
> org.apache.ignite.internal.configuration.tree.NamedListNode.create(NamedListNode.java:131)
>       at 
> org.apache.ignite.internal.table.distributed.TableManager.lambda$createTableAsync$9(TableManager.java:452)
>       at 
> org.apache.ignite.internal.configuration.DynamicConfiguration$1.descend(DynamicConfiguration.java:88)
>       at 
> org.apache.ignite.configuration.schemas.table.TablesNode.construct(Unknown 
> Source)
>       at 
> org.apache.ignite.internal.configuration.DynamicConfiguration$1.descend(DynamicConfiguration.java:90)
>       at 
> org.apache.ignite.internal.configuration.SuperRoot.construct(SuperRoot.java:137)
>       at 
> org.apache.ignite.internal.configuration.DynamicConfiguration$1.descend(DynamicConfiguration.java:90)
>       at 
> org.apache.ignite.internal.configuration.ConfigurationChanger.lambda$changeInternally$1(ConfigurationChanger.java:376)
>       at 
> java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764)
>       ... 6 more
> {noformat}



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

Reply via email to