NullPointer in Clusterj

Description

When running the native library tests we often get tests failing with the following error:

1 Java argument must not be null when mapped to a C reference (file: /tmp/mysql-bld/mysql-cluster-gpl-7.6.9/storage/ndb/src/ndbjtie/jtie/jtie_tconv_object_impl.hpp)

This comes from the fact that calls to Key_part_ptrArray.create in clusterj sometime return null.
It is obvious from the clusterj code that this is not an expected behavior but we have not managed so far to identify what was the root of the problem. A temporary solution to this problem is to redo the call until it returns a proper value.

Status

Assignee

Gautier Berthou

Reporter

Gautier Berthou

Labels

None

Fix versions

Priority

High