eolivelli opened a new issue #10138:
URL: https://github.com/apache/pulsar/issues/10138
**Describe the bug**
On Pulsar Client 2.7.1 if you try to create a transaction but you have not
enable transactions on the PulsarClient you get a bad NPE.
java.lang.NullPointerException
at
org.apache.pulsar.client.impl.transaction.TransactionBuilderImpl.build(TransactionBuilderImpl.java:60)
..
**Expected behavior**
Some better error like IllegalStateException "In order to use Transactions
enable transactions on your PulsarClient"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]