Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-8423

Error during start up on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.3
    • Packaging
    • Low

    Description

      While using ccm with the current C* 2.1-HEAD code on Windows, I frequently see this exception.

      [node1 ERROR] Exception calling "BeginConnect" with "4" argument(s): "The requested address 
      is not valid in its context"
      At 
      D:\jenkins\workspace\cassandra-2.1_dtest_win32\cassandra\bin\cassandra.ps1:358 
      char:9
      +         $connect = $tcpobject.BeginConnect($listenAddress, $port, $null, 
      $null)
      +         
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
          + FullyQualifiedErrorId : SocketException
       
      You cannot call a method on a null-valued expression.
      At 
      D:\jenkins\workspace\cassandra-2.1_dtest_win32\cassandra\bin\cassandra.ps1:359 
      char:9
      +         $wait = $connect.AsyncWaitHandle.WaitOne(25, $false)
      +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
          + FullyQualifiedErrorId : InvokeMethodOnNull

      I have not yet seen this exception when psutil is not installed, but that may not be relevant, as I dont know how that could possibly matter.

      Attachments

        1. 8423_ccm.txt
          2 kB
          Joshua McKenzie
        2. 8423_powershell.txt
          2 kB
          Joshua McKenzie

        Activity

          People

            JoshuaMcKenzie Joshua McKenzie
            philipthompson Philip Thompson
            Joshua McKenzie
            Philip Thompson
            Philip Thompson Philip Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: