Skip to content

Bug(java client): When using batch, a null pointer exception may occur #2152

Open
@lengyuexuexuan

Description

@lengyuexuexuan

Bug Report

  1. What did you do?
    小米办公20241126-105239
    in function "commitWaitAllComplete", a null pointer execption occur.

  2. What did you see instead?

    results.add(
    Pair.of(
    new PException("async task #[" + i + "] await failed: " + fu.cause().getMessage()),
    null));

    Add a judge which judge the fu.cause() is null before using it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThis issue reports a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions