Skip to content

AbstractHttpSenderConnection getErrorMessage() [SWS-494] #626

@gregturn

Description

@gregturn

pavlin opened SWS-494 and commented

I have situation where AbstractHttpSenderConnection.getResponseMessage() returns null which results in NullPointerException at AbstractHttpSenderConnection.getErrorMessage() due to the construcor of StringBuffer ( when passed String to the StringBuffer it tries to get it's length ) I can't imagine why null is not casted to "null"

StringBuffer buffer = new StringBuffer(getResponseMessage());


Affects: 1.5.6

Referenced from: commits 11dcfad

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions