My apps works well in Dev mode, but error ocurred in production mode.OS info:CentOS release 6.4 (Final)erlang info:Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [kernel-poll:false]error.log:2013-04-15 19:47:33.273 [error] <0.149.0> gen_server <0.149.0> terminated with reason: bad argument in call to erlang:list_to_atom(undefined) in boss_router_controller:handle_call/32013-04-15 19:47:33.277 [error] <0.149.0> CRASH REPORT Process <0.149.0> with 0 neighbours exited with reason: bad argument in call to erlang:list_to_atom(undefined) in boss_router_controller:handle_call/3 in gen_server:terminate/62013-04-15 19:47:33.278 [error] <0.148.0> Supervisor boss_router_sup had child router_controller started with boss_router_controller:start_link([{application,kanke},{controllers,[]}]) at <0.149.0> exit with reason bad argument in call to erlang:list_to_atom(undefined) in boss_router_controller:handle_call/3 in context child_terminated2013-04-15 19:47:33.279 [error] <0.136.0> CRASH REPORT Process <0.136.0> with 0 neighbours exited with reason: {{badarg,[{erlang,list_to_atom,[undefined]},{boss_router_controller,handle_call,3},{gen_server,handle_msg,5},{proc_lib,init_p_do_apply,3}]},{gen_server,call,[<0.149.0>,{route,"/"}]}} in gen_server:call/2crash.log:2013-04-15 19:47:33 =ERROR REPORT====** Generic server <0.149.0> terminating** Last message in was {route,"/"}** When Server state == {state,kanke,[],20501,24598,28695}** Reason for termination ==** {badarg,[{erlang,list_to_atom,[undefined]},{boss_router_controller,handle_call,3},{gen_server,handle_msg,5},{proc_lib,init_p_do_apply,3}]}2013-04-15 19:47:33 =CRASH REPORT====crasher:initial call: boss_router_controller:init/1pid: <0.149.0>registered_name: []exception exit: {badarg,[{erlang,list_to_atom,[undefined]},{boss_router_controller,handle_call,3},{gen_server,handle_msg,5},{proc_lib,init_p_do_apply,3}]}in function gen_server:terminate/6in call from proc_lib:init_p_do_apply/3ancestors: [<0.148.0>,boss_web,boss_sup,<0.56.0>]messages: []links: [<0.148.0>]dictionary: [{boss_environment,production}]trap_exit: falsestatus: runningheap_size: 987stack_size: 24reductions: 2149neighbours:2013-04-15 19:47:33 =SUPERVISOR REPORT====Supervisor: {<0.148.0>,boss_router_sup}Context: child_terminatedReason: {badarg,[{erlang,list_to_atom,[undefined]},{boss_router_controller,handle_call,3},{gen_server,handle_msg,5},{proc_lib,init_p_do_apply,3}]}Offender: [{pid,<0.149.0>},{name,router_controller},{mfargs,{boss_router_controller,start_link,[[{application,kanke},{controllers,[]}]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]2013-04-15 19:47:33 =CRASH REPORT====crasher:initial call: mochiweb_acceptor:init/3pid: <0.136.0>registered_name: []exception exit: {{badarg,[{erlang,list_to_atom,[undefined]},{boss_router_controller,handle_call,3},{gen_server,handle_msg,5},{proc_lib,init_p_do_apply,3}]},{gen_server,call,[<0.149.0>,{route,"/"}]}}in function gen_server:call/2in call from boss_web_controller:process_dynamic_request/5in call from boss_web_controller:process_request/5in call from timer:tc/3in call from boss_web_controller:build_dynamic_response/4in call from mochiweb_http:headers/5in call from proc_lib:init_p_do_apply/3ancestors: [mochiweb_http,boss_web,boss_sup,<0.56.0>]messages: []links: [<0.131.0>,#Port<0.11759>]dictionary: [{boss_environment,production},{mochiweb_request_cookie,[]}]trap_exit: falsestatus: runningheap_size: 1597stack_size: 24reductions: 1684neighbours:--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.