对Tapestry不熟悉我发现自己对某些例外的真正含义感到茫然。 Tapestry文档和谷歌搜索是有限的。是的我暂时支持遗留应用程序,但我们将进行升级。与此同时,有人可以了解以下异常究竟意味着什么以及可能导致它的原因(一般而言)。虽然我知道你没有确切的答案,但我正在寻找一个可能导致这种情况的大方向或想法。
Tapestry版本:5.3.8 Tomcat的:8
Machine: xxx-xxx-xxxx-xxxx-xxxx-xxxx
Mode: Production
User ID: xxxxxxx
Patient ID: xxxxxxx
Practice: xxxxx xxxxx xxxxx xxx xx
For: xxx.xxx.xxx.xxx
User Role: xxxx xxxxx xxxxxx
Request Path: https://www.somewebsite.net/app/dashboard/chart.component.form
XMLHttpRequest: true
org.apache.tapestry5.runtime.ComponentEventException
multiple active template data is not allowed. appUserId=xxxxxxx patientAppUserId=xxxxxx
context
eventType
location
org.apache.tapestry5.ioc.internal.OperationException
multiple active template data is not allowed. appUserId=xxxxxxx patientAppUserId=xxxxx
location
trace
org.apache.tapestry5.runtime.ComponentEventException
multiple active template data is not allowed. appUserId=xxxxxx patientAppUserId=xxxxxx
context
eventType
location
java.lang.RuntimeException
multiple active template data is not allowed. appUserId=xxxxx patientAppUserId=xxxxxxx
com.ageology.amsa.services.practice.PhysicalExamTemplateService.getDefaultTemplateId(PhysicalExamTemplateService.java:182)
$IPhysicalExamTemplateService_153b979dc40fb2.getDefaultTemplateId(Unknown Source)
$IPhysicalExamTemplateService_153b979dc3ec0c.getDefaultTemplateId(Unknown Source)
com.ageology.amsa.components.physiciandashboard.PhysExamComponent.initData(PhysExamComponent.java:222)
com.ageology.amsa.components.physiciandashboard.PhysExamComponent.onSuccessFromPhysicalExamForm(PhysExamComponent.java:234)
com.ageology.amsa.components.physiciandashboard.PhysExamComponent.dispatchComponentEvent(PhysExamComponent.java)
答案 0 :(得分:0)
Tapestry的ComponentEventException只是包装了PhysicalExamTemplateService.java:182引发的Runtime异常,所以你需要查看那里真正的问题是什么。