Reporter |
|
---|---|
Created | Aug 12, 2015 11:50:39 AM |
Updated | Aug 12, 2015 11:59:18 AM |
Assignee | Sergey Kuks (coox) |
Priority | Normal |
State | Submitted |
Type | Bug |
Target Wave | Undefined |
Fixed In Wave | Undefined |
Affected Wave | No affected wave |
Subsystem | Licensing and Evaluation |
Fix versions | No Fix versions |
Affected versions | No Affected versions |
Fixed in builds | No Fixed in build |
VsVersion | All Versions |
— EXCEPTION #1/3 [SocketException]
Message = “The attempted operation is not supported for the type of object referenced”
ExceptionPath = Root.InnerException.InnerException
NativeErrorCode = 10045
ClassName = System.Net.Sockets.SocketException
HResult = E_FAIL=EFail=80004005
Source = System
StackTraceString = “
”
— Outer —
— EXCEPTION #2/3 [DnsException]
Message = “unspecified error”
ExceptionPath = Root.InnerException
errcode = 0
ClassName = JetBrains.Util.DnsAPI.DnsException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.Platform.Util
StackTraceString = “
”
— Outer —
— EXCEPTION #3/3 [LoggerException]
Message = “unspecified error”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
Message = “The attempted operation is not supported for the type of object referenced”
ExceptionPath = Root.InnerException.InnerException
NativeErrorCode = 10045
ClassName = System.Net.Sockets.SocketException
HResult = E_FAIL=EFail=80004005
Source = System
StackTraceString = “
at System.Net.IPAddress.get_Address() at JetBrains.Util.DnsAPI.DnsServerCollection.ToIP4_Array() at JetBrains.Util.DnsAPI.DnsRequest.GetResponse()
— Outer —
— EXCEPTION #2/3 [DnsException]
Message = “unspecified error”
ExceptionPath = Root.InnerException
errcode = 0
ClassName = JetBrains.Util.DnsAPI.DnsException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.Platform.Util
StackTraceString = “
at JetBrains.Util.DnsAPI.DnsRequest.GetResponse() at JetBrains.Application.License2.LicenseServer.LisenseServerUtils.TryDnsRequest(DnsRequest request, ILogger logger)
— Outer —
— EXCEPTION #3/3 [LoggerException]
Message = “unspecified error”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Application.License2.LicenseServer.LisenseServerUtils.TryDnsRequest(DnsRequest request, ILogger logger) at JetBrains.Application.License2.LicenseServer.LisenseServerUtils.<TryDnsRequests>d__21.MoveNext() at JetBrains.Application.License2.LicenseServer.LisenseServerUtils.<FindLicenseServerUrls>d__a.MoveNext() at System.Collections.Generic.JetHashSet`1..ctor(IEnumerable`1 enumerable, IEqualityComparer`1 comparer) at JetBrains.Application.License2.LicenseServer.LisenseServerUtils.DetectLicenseServers(ILogger logger, IWebProxy proxy) at JetBrains.Application.License2.LicenseServer.LicenseServerViewSubmodel.<AutoDetectLicenseServers>b__1d() at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass11.<Create>b__e(Object state) at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task) at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
if (this.servers.Count > 0)
{
IP4_Array ip4 = this.servers.ToIP4_Array();
//allocate memory:
//just trying to put the IP4_Array object into
//memory doesn't work because SizeOf bitches
//therefore, we just bypass that and sum the
//size of the fields of the IP4_Array struct.
//IP4_Array consists of an int plus an array of
//ints representing IP addresses - therefore, you
//take the (size of the array x 4 bytes) + 4 bytes
//and you've got the size of the struct.
int intsize = Marshal.SizeOf(typeof(int));
int size = intsize + (intsize * ip4.AddrCount);
pServers = Marshal.AllocCoTaskMem(size);
Marshal.StructureToPtr(ip4, pServers, false);
}
if (this.m_Family == AddressFamily.InterNetworkV6)
throw new SocketException(SocketError.OperationNotSupported);