ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6762) SparseDistributedMatrixExample failed with NPE
Date Wed, 08 Nov 2017 14:50:00 GMT

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

ASF GitHub Bot commented on IGNITE-6762:
----------------------------------------

GitHub user ybabak opened a pull request:

    https://github.com/apache/ignite/pull/3003

    IGNITE-6762: SparseDistributedMatrixExample failed with NPE.

    Fixed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-6762

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3003.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3003
    
----
commit 51cae84a705042e123a063ef0e323333d6e1b910
Author: Yury Babak <ybabak@gridgain.com>
Date:   2017-11-03T13:01:39Z

    IGNITE-6762: SparseDistributedMatrixExample failed with NPE.
    Fixed.

----


> SparseDistributedMatrixExample failed with NPE
> ----------------------------------------------
>
>                 Key: IGNITE-6762
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6762
>             Project: Ignite
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>          Components: examples, ml
>    Affects Versions: 2.3
>            Reporter: Sergey Kozlov
>            Assignee: Yury Babak
>            Priority: Critical
>             Fix For: 2.4
>
>
> 1. Open ignite-examples project in IDEA
> 2. Start 3 nodes by {{ExampleNodeStartup}}
> 3. Run {{SparseDistributedMatrixExample}}. It throws the exception: 
> {noformat}
> >>> Ignite grid started.
> >>> Create new SparseDistributedMatrix inside IgniteThread.
> Exception in thread "SparseDistributedMatrixExample-#51" java.lang.NullPointerException
> 	at org.apache.ignite.ml.math.distributed.CacheUtils.sum(CacheUtils.java:170)
> 	at org.apache.ignite.ml.math.distributed.CacheUtils.sparseSum(CacheUtils.java:160)
> 	at org.apache.ignite.ml.math.impls.matrix.SparseDistributedMatrix.sum(SparseDistributedMatrix.java:185)
> 	at org.apache.ignite.examples.ml.math.matrix.SparseDistributedMatrixExample.lambda$main$1(SparseDistributedMatrixExample.java:58)
> 	at java.lang.Thread.run(Thread.java:745)
> [15:28:44] Ignite node stopped OK [uptime=00:00:04.399]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message