How to get rid of this badarg error

Ulf Wiger (AL/EAB) <>
Wed Sep 21 21:24:27 CEST 2005


MEENA SELVAM wrote:
> 
> I have some code as follows:
> 
> 1    {CookieInt, _} = string:to_integer(CookieStr),
>  2   io:format("[CookieInt] = ~p~n", [CookieInt]),
>   3  [CacheEntry] = ets:lookup(aaa_cache,CookieInt),
> 
> where CookieInt is printed as 15063539827397697793
> I get an error at Line 3 as follows
> 
> Unrecognised error:
> {badarg,[{ets,lookup,[aaa_cache,15063539827397697793]},
>                           
> {ssl_xnet_cmd,'-user_kick/2-fun-0-',1},
>                              {lists,foreach,2},


Who is the owner of the ETS table aaa_cache, and 
what is its protection mode (private, public or protected)?

/Uffe



More information about the erlang-questions mailing list