Skip to content

Use unwatch between multi and exec, and throw NullPointException when executing Exec #1614

@dismasson

Description

@dismasson

Expected behavior

Unwatch can be exec before execution

Actual behavior

Use unwatch between multi and exec, and throw NullPointException when executing Exec

Steps to reproduce:

    jedis.watch("key");
    Transaction transaction = jedis.multi();
    jedis.unwatch();
    transaction.set("key","value");
    transaction.exec();

Jedis version:

2.9.0

Java vcersion:

1.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions