Dear All,

I was wondering if this is a know issue (I am using 2.0) and if I could
prevent it somehow.
I has happened only twice and is not reproducible and was generated when
iterating query cursor:

        try (QueryCursor<List&lt;?>> cursor = cache.query(sqlQuery)) {
            for (List<?> row : cursor) { // <-- this is the line causing
exception
                if (rowConsumer != null) {
                    rowConsumer.accept(row);
                }
            }
        }

java.lang.NullPointerException
        at
org.apache.ignite.internal.processors.cache.GridCacheContext.unwrapBinariesIfNeeded(GridCacheContext.java:1719)
        at
org.apache.ignite.internal.processors.query.GridQueryCacheObjectsIterator.next(GridQueryCacheObjectsIterator.java:64)
        at
org.apache.ignite.internal.processors.query.GridQueryCacheObjectsIterator.next(GridQueryCacheObjectsIterator.java:29)
        at com.markit.n6platform.s6.dao.DynamicDAO.execute(DynamicDAO.java:42)
        

Thank you in advance,
zbyszek



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/NullPointerException-at-unwrapBinariesIfNeeded-GridCacheContext-java-1719-tp16459.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to