error -link_match_fun/2-fun-1-

francisco treacy francisco.treacy at gmail.com
Sat Dec 5 04:16:26 EST 2009


A user of Riakka has reported an error in the test suite, but I cannot
spot the problem.  The test suite works perfectly fine in my computer
and other known users of Riakka.

{error,function_clause,
       [{jiak_object,'-link_match_fun/2-fun-1-',
                     [{struct,[{<<"bucket">>,

<<"riakka-1982bffc-e53b-4cb4-b9e0-289550bd8a71">>},
                               {<<"key">>,
                                <<"2ec65c25-8ef7-47ab-8cf0-c7c94990cc48">>},
                               {<<"tag">>,<<"_">>}]},
                      <<"riakka-1982bffc-e53b-4cb4-b9e0-289550bd8a71">>]},
        {lists,'-filter/2-lc$^0/1-0-',2},
        {jaywalker_resource,'-execute_query/3-lc$^0/1-0-',3},
        {jaywalker_resource,execute_query,3},
        {jaywalker_resource,to_json,2},
        {webmachine_resource,resource_call,3},
        {webmachine_resource,do,3},
        {webmachine_decision_core,resource_call,1}]}

Could this be a version-specific Riak problem?  E.g. some characters
not allowed in keys?

Thanks,

Francisco


=> The full trace:

INF [20091204-15:24:41.679] dispatch: GET
http://localhost:8098/jiak/riakka-1982bffc-e53b-4cb4-b9e0-289550bd8a71/01311aae-e533-4ab8-8c54-f97a77cc2b15/riakka-1982bffc-e53b-4cb4-b9e0-289550bd8a71,_,_
dispatch.StatusCode: Exceptional resoponse code: 500
<html><head><title>500 Internal Server
Error</title></head><body><h1>Internal Server Error</h1>The server
encountered an error while processing this
request:<br><pre>{error,function_clause,
       [{jiak_object,'-link_match_fun/2-fun-1-',
                     [{struct,[{<<"bucket">>,

<<"riakka-1982bffc-e53b-4cb4-b9e0-289550bd8a71">>},
                               {<<"key">>,
                                <<"2ec65c25-8ef7-47ab-8cf0-c7c94990cc48">>},
                               {<<"tag">>,<<"_">>}]},
                      <<"riakka-1982bffc-e53b-4cb4-b9e0-289550bd8a71">>]},
        {lists,'-filter/2-lc$^0/1-0-',2},
        {jaywalker_resource,'-execute_query/3-lc$^0/1-0-',3},
        {jaywalker_resource,execute_query,3},
        {jaywalker_resource,to_json,2},
        {webmachine_resource,resource_call,3},
        {webmachine_resource,do,3},
        {webmachine_decision_core,resource_call,1}]}</pre><P><HR><ADDRESS>mochiweb+webmachine
web server</ADDRESS></body></html>
	at dispatch.Http$$anonfun$when$1.apply(Http.scala:83)
	at dispatch.Http$$anonfun$when$1.apply(Http.scala:81)
	at dispatch.Http.x(Http.scala:77)
	at dispatch.Http.when(Http.scala:81)
	at riakka.Jiak$$anon$1.riakka$RiakkaExceptionHandler$$super$when(Riakka.scala:20)
	at riakka.RiakkaExceptionHandler$class.when(Model.scala:53)
	at riakka.Jiak$$anon$1.when(Riakka.scala:20)




More information about the riak-users mailing list