Skip to content

NoMethodError: undefined method `in_transaction?' for nil:NilClass #50

@rgaufman

Description

@rgaufman

In latest master, I get this exception from time to time:

#<Thread:0x00000000430f3348@/data/deployer/current/vendor/cache/xanview-mqtt-92d6cd687553/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:198 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	6: from /data/deployer/current/vendor/cache/xanview-mqtt-92d6cd687553/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:203:in `block in reconnect'
	5: from /data/deployer/current/vendor/cache/xanview-mqtt-92d6cd687553/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/client.rb:118:in `connect'
	4: from /data/deployer/current/vendor/cache/xanview-mqtt-92d6cd687553/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/connection_helper.rb:43:in `do_connect'
	3: from /data/deployer/current/vendor/cache/xanview-mqtt-92d6cd687553/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/handler.rb:41:in `receive_packet'
	2: from /data/deployer/current/vendor/cache/xanview-mqtt-92d6cd687553/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/packet/base.rb:48:in `read'
	1: from /data/deployer/current/vendor/cache/xanview-mqtt-92d6cd687553/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/packet/base.rb:306:in `read_byte'
/data/deployer/timeline/current/vendor/cache/xanview-mqtt-92d6cd687553/vendor/paho.mqtt.ruby-master/lib/paho_mqtt/packet/base.rb:306:in `read': Connection reset by peer (Errno::ECONNRESET)
NoMethodError: undefined method `in_transaction?' for nil:NilClass

Any ideas?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions