[
https://issues.apache.org/jira/browse/CASSANDRA-8423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14236017#comment-14236017
]
Philip Thompson commented on CASSANDRA-8423:
--------------------------------------------
I've committed the ccm patch. +1 to the powershell changes, the checks for null
or empty are much cleaner now.
> Error during start up on windows
> --------------------------------
>
> Key: CASSANDRA-8423
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8423
> Project: Cassandra
> Issue Type: Bug
> Reporter: Philip Thompson
> Assignee: Joshua McKenzie
> Priority: Minor
> Labels: windows
> Fix For: 2.1.3
>
> Attachments: 8423_ccm.txt, 8423_powershell.txt
>
>
> While using ccm with the current C* 2.1-HEAD code on Windows, I frequently
> see this exception.
> {code}[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{code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)