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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.6.0
    • Component/s: Stomp
    • Labels:
      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

            • Assignee:
              jgomes Jim Gomes
              Reporter:
              roymuller Roy Müller

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment