Skip to content

Exceptions thrown after upgrading to 3.4.0 & 3.4.4 #395

Closed
@pst9354

Description

@pst9354

Edit: Had to revert to 3.2.1 to get it working.


Long running SQL query generates exception.

For 3.4.0:
Unhandled exception:
Bad state: Message parser consumed more bytes than expected. type=68 expectedLength=711
#0 MessageFramer.addBytes (package:postgres/src/message_window.dart:82:11)

#1 _readMessages...handleChunk (package:postgres/src/v3/protocol.dart:73:9)

For 3.4.4:
Unhandled exception:
Severity.error Socket error: Bad state: Not enough bytes to read.
#0 new _PgResultStreamSubscription (package:postgres/src/v3/connection.dart:758:29)
#1 _BoundStatement.listen (package:postgres/src/v3/connection.dart:728:12)
#2 _PreparedStatement.run (package:postgres/src/v3/connection.dart:677:43)
#3 _PgSessionBase.execute (package:postgres/src/v3/connection.dart:172:31)

#4 InvoiceJob.doInvoice (package:invoice_service/invoicejob.dart:2179:28)

#5 InvoiceQueue.handleInQueue. (package:invoice_service/invoice_queue.dart:423:17)

#6 InvoiceQueue.handleInQueue (package:invoice_service/invoice_queue.dart:419:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions