Skip to content

Instantly share code, notes, and snippets.

INFO : vn.mpos.supermarket.utils.RethinkDBUtil - ===============RETHINK ALIVE=========
com.rethinkdb.gen.exc.ReqlDriverError: Response pump closed.
at com.rethinkdb.net.DefaultConnectionFactory$ThreadResponsePump.await(DefaultConnectionFactory.java:214)
at com.rethinkdb.net.Connection.sendQuery(Connection.java:349)
at com.rethinkdb.net.Connection.runQuery(Connection.java:384)
at com.rethinkdb.net.Connection.runAsync(Connection.java:166)
at com.rethinkdb.net.Connection.run(Connection.java:185)
at com.rethinkdb.ast.ReqlAst.run(ReqlAst.java:61)
at vn.mpos.supermarket.utils.RethinkDBUtil.addOrder(RethinkDBUtil.java:96)
at vn.mpos.supermarket.service.SuperMarketService.addOrder(SuperMarketService.java:138)
package vn.mpos.supermarket.utils;
import com.rethinkdb.RethinkDB;
import com.rethinkdb.gen.ast.ReqlExpr;
import com.rethinkdb.gen.ast.ReqlFunction1;
import com.rethinkdb.net.Connection;
import com.rethinkdb.net.Result;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;