-
Type: Feature
-
Status: Done
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.15.0
-
Component/s: appng-core, appng-taglib
-
Labels:None
When using multiple appNG taglets on the same JSP Page, the platform scope is no more available after the executing the first taglet.
This is because the TagletAdapter calls ApplicationProvider.setPlatformScope before calling the TagletProcessor, which is correct, but this needs to be reset when done with the taglet.
This leads to an NPE in RequestFactoryBean:
2017-10-17 11:33:36,867 ERROR [ajp-nio-8109-exec-3] taglib.TagletAdapter : Unable to load Taglet 'xxx' in application 'yyy' (path: zzz.jsp ) java.lang.NullPointerException at org.appng.api.support.RequestFactoryBean.afterPropertiesSet(RequestFactoryBean.java:90) at org.appng.core.model.ApplicationProvider.getApplicationRequest(ApplicationProvider.java:804) at org.appng.taglib.TagletAdapter.doEndTag(TagletAdapter.java:148)