2017-06-09 19 views
0

作爲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

Tapestry的ComponentEventException只是包裝你PhysicalExamTemplateService.java:182拋出的運行時異常,所以你需要看看有沒有看到什麼真正的問題是。