Backtrace formatting forgetting to define @1
Imported from https://youtrack.roxen.com/issue/PIKE-141
Reported by Jonas Walldén jonasw@roxen.com
I got a backtrace in 6.2.202 referencing @1
in different frames, but there was not any @1=...
entry that defines the shared item.
12:56:46 6d 2h 5m : Internal server error: Cannot index the NULL value with "site".
12:56:46 : packages/sitebuilder/modules/ac/acauth_jwt.pike (a0b9c1c2):434: RoxenModule(EP/acauth_jwt#0)->set_entities(Context())
12:56:46 : etc/modules/RXML.pmod/module.pmod (b3546505):1202: RXMLTagSet(EP,rxml_tag_set)->call_prepare_funs(@0=Context())
12:56:46 : etc/modules/RXML.pmod/module.pmod (b3546505):1040: RXMLTagSet(EP,rxml_tag_set)->new_context(,,,0)
12:56:46 : etc/modules/RXML.pmod/module.pmod (b3546505):1053: RXMLTagSet(EP,rxml_tag_set)->get_parser(RXML.t_html(text/html, xml),,,1)
12:56:46 6d 2h 5m : base_server/rxml.pike (fdac9c13):259: Configuration(EP)->parse_rxml("<return code='401' /><nooutput><emit source=values scope=ef variable='modvar.site.401-files'>\n <if not='' variable='ef.value is '>\n "+[466]+"modvar.site.401-message:none;</eval></else>",@1,0,UNDEFINED)
12:56:46 : etc/modules/Roxen.pmod (82018255):747: Roxen.http_rxml_answer("<return code='401' /><nooutput><emit source=values scope=ef variable='modvar.site.401-files'>\n <if not='' variable='ef.value is '>\n "+[468]+"modvar.site.401-message:none;</eval></else>",@1,0,"text/html")
12:56:46 : base_server/configuration.pike (75b20724):3077: Configuration(EP)->auth_failed_file(@1,UNDEFINED)
12:56:46 : etc/modules/Roxen.pmod (82018255):1587: Roxen.http_auth_required("Platform",UNDEFINED,@1)
12:56:46 : packages/sitebuilder/modules/ac/acauth_httpbasic.pike (9f04e4fc):299: RoxenModule(EP/acauth_httpbasic#0)->active_auth(ProtPoint[38](RoxenModule(EP/sitebuilder#0), "file:/roxen-files/print/external-plugins/drpublish"),@1,"Platform",UNDEFINED)
12:56:46 6d 2h 5m : packages/sitebuilder/modules/ac/pike-modules/AC.pmod (d6ee5e8e):8165: AC_DB[3:89]->active_auth(@2=ProtPoint[38](RoxenModule(EP/sitebuilder#0), "file:/roxen-files/print/external-plugins/drpublish"),@1,UNDEFINED,"Platform",0)
12:56:46 : packages/sitebuilder/modules/ac/pike-modules/AC.pmod (d6ee5e8e):6454: ModuleAC(RoxenModule(EP/sitebuilder#0))->access_throw(38,@1,UNDEFINED,UNDEFINED)
12:56:46 : packages/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike (7fd66d22):2820: Workarea(EP:)->access_throw(@1,UNDEFINED)
12:56:46 : packages/sitebuilder/pike-modules/Sitebuilder.pmod/Workarea.pike (7fd66d22):4971: Workarea(EP:)->wa_find_file("roxen-files/print/external-plugins/drpublish/",0,1,RoxenModule(EP/insite_editor#0),@1,0)
12:56:46 : packages/sitebuilder/modules/manager/workarea.pike (993e1caf):1090: RoxenModule(EP/insite_editor#0)->find_file("roxen-files/print/external-plugins/drpublish/",@1)
12:56:46 6d 2h 5m : packages/sitebuilder/modules/manager/insite_editor.pike (90e8cd20):1381: RoxenModule(EP/insite_editor#0)->find_file("roxen-files/print/external-plugins/drpublish/",@1)
12:56:46 : base_server/configuration.pike (75b20724):2499: Configuration(EP)->low_get_file(@1,UNDEFINED)
12:56:46 : base_server/configuration.pike (75b20724):2763: Configuration(EP)->get_file(@1,UNDEFINED,UNDEFINED)
12:56:46 : base_server/configuration.pike (75b20724):2738: Configuration(EP)->handle_request(@1,UNDEFINED)
12:56:46 : protocols/http.pike (bda6e7bd):3322: RequestID(/roxen-files/print/external-plugins/drpublish/?language=en&skin=light&publicationId=3&publicationName=NTB&app=pp-preview&title=Paper%20Preview&url=https%3A%2F%2Fep-test-2.roxen.com%2Froxen-files%2Fprint%2Fexternal-plugins%2Fdrpublish%2F&required=false&configUrl=&config=false&hidden=false&authMethod=JWT&hasJwtSecret=true&publicationAccesslevel=&isAuth=true&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcHRvbWEiLCJpYXQiOjE1NDAzNzg2MDYsImV4cCI6MTU0MDQwNzQwNiwic3ViIjoicm94ZW4ifQ.HI882tsxgfbZGCeQcyqhLwlWyWit733VxKpTGpuJkjo&appName=pp-preview&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcHRvbWEiLCJpYXQiOjE1NDAzNzg2MDYsImV4cCI6MTU0MDQwNzQwNiwic3ViIjoicm94ZW4ifQ.HI882tsxgfbZGCeQcyqhLwlWyWit733VxKpTGpuJkjo&permissionLevel=limited)->handle_request()
12:56:46 6d 2h 5m : protocols/http.pike (bda6e7bd):3214: RequestID(/roxen-files/print/external-plugins/drpublish/?language=en&skin=light&publicationId=3&publicationName=NTB&app=pp-preview&title=Paper%20Preview&url=https%3A%2F%2Fep-test-2.roxen.com%2Froxen-files%2Fprint%2Fexternal-plugins%2Fdrpublish%2F&required=false&configUrl=&config=false&hidden=false&authMethod=JWT&hasJwtSecret=true&publicationAccesslevel=&isAuth=true&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcHRvbWEiLCJpYXQiOjE1NDAzNzg2MDYsImV4cCI6MTU0MDQwNzQwNiwic3ViIjoicm94ZW4ifQ.HI882tsxgfbZGCeQcyqhLwlWyWit733VxKpTGpuJkjo&appName=pp-preview&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcHRvbWEiLCJpYXQiOjE1NDAzNzg2MDYsImV4cCI6MTU0MDQwNzQwNiwic3ViIjoicm94ZW4ifQ.HI882tsxgfbZGCeQcyqhLwlWyWit733VxKpTGpuJkjo&permissionLevel=limited)->handle_request_from_queue()
12:56:46 : base_server/roxen.pike (b33c7b81):763: roxen()->handler_thread(6)