Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-442

Clients with cultures where decimalpoint separator is other than "." fails to connect because version no is parsed as float/Single

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.5.3
    • 1.6.0
    • Stomp
    • None

    Description

      Client connecting with STOMP fails with System.FormatException: Input string was not in a correct format. This happens on computers with a culture that has eg. "," as decimal separator instead of ".".

      DEBUG: Exception received in the Inactivity Monitor: System.FormatException: Input string was not in a correct format.
      at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
      at System.Single.Parse(String s)
      at Apache.NMS.Stomp.Protocol.StompWireFormat.ReadConnected(StompFrame frame) in c:\dev\NMS.Stomp\src\main\csharp\Protocol\StompWireFormat.cs:line 199
      at Apache.NMS.Stomp.Protocol.StompWireFormat.CreateCommand(StompFrame frame) in c:\dev\NMS.Stomp\src\main\csharp\Protocol\StompWireFormat.cs:line 153
      at Apache.NMS.Stomp.Protocol.StompWireFormat.Unmarshal(BinaryReader dataIn) in c:\dev\NMS.Stomp\src\main\csharp\Protocol\StompWireFormat.cs:line 123
      at Apache.NMS.Stomp.Transport.Tcp.TcpTransport.ReadLoop() in c:\dev\NMS.Stomp\src\main\csharp\Transport\Tcp\TcpTransport.cs:line 285

      Attachments

        Issue Links

          Activity

            People

              jgomes Jim Gomes
              roymuller Roy Müller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: