Skip to content

[Bug]: AdsTcpConnection sendAmsRequest throws away userdata #2758

Description

@boecko

What happened?

AdsTcpConnection sendAmsRequest throws away userdata in case of an error, which means debugging is laborious.

In case you misconfigured the target port, only setting a break point on the functions gets you to the right error-code

Image

Version

v1.0.0

Programming Languages

  • plc4c
  • plc4go
  • plc4j
  • plc4net
  • plc4py

Protocols

  • AB-Ethernet
  • ADS /AMS
  • BACnet/IP
  • C-Bus
  • CANopen
  • EtherNet/IP
  • Firmata
  • IEC-69870
  • KNXnet/IP
  • Modbus
  • OPC-UA
  • PLC4X
  • Profinet
  • S7
  • Simulated
  • SLMP
  • UMAS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ADShttps://plc4x.apache.org/users/protocols/ads.htmljavaPull requests that update Java code

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions