Windows error 0x00002091, 8337

Detailed Error Information

DS_CANT_DEREF_ALIAS[1]

MessageThe alias cannot be dereferenced.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80072091.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code8337 (0x2091)

Questions

-1votes
3answers

NSInternalInconsistencyException with NSUserDefaults when using method setValue: forPath

My code is as follows: NSMutableDictionary *configure = [[NSUserDefaults standardUserDefaults] objectForKey:@"configure"]; if (!configure){ configure = [NSMutableDictionary dictionary]; [configure setValue:[NSMutableDictionary dictionary] forKeyPath:@"select"] ; [configure setValue:[NSMutableDictionary dictionary] forKeyPath:@"select.around"]; [configure setValue: @"All" forKeyPath:@"select.around.name"]; [[NSUserDefaults standardUserDefaults] setObject:configure forKey:@"configure"]; [[NSUserDefaults standardUserDefaults] synchronize]; } NSString *keyPath = @"configure.select.around"; NSMutableDictionary *aroundConfigure = [[[NSUserDefaults standardUserDefaults] valueForKeyPath:keyPath] mutableCopy]; [aroundConfigure [...] read more
iphone
nsuserdefaults
setvalue

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0