[uportal-user] An attempt is made to reference a node in a context where it does not exist

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[uportal-user] An attempt is made to reference a node in a context where it does not exist

Andrew Petro-3
Started seeing this in the production logs, looks like it's always on attempts to access a Portlet resource URL.
MyUW uses some resource URLs to provide JSON and even markup for uPortal-home to use in rendering widgets.

Anyone seen this before?

Looks like maybe DLM is trying to compute the user's layout on the way to rendering the portlet resource URL.

Which is odd, because I'd have thought the user's layout was already figured out in the course of rendering the uPortal-home home page.
That is, here, it's the benefit information widget (markup generated server-side out of a resource URL), but to know that the user had that widget on their homepage, in their layout, it would have already had to resolve the user's DLM layout,
so why is it messing around with personal layout fragment (PLF) incorporation on the way to rendering this resource URL?

ERROR [ajp-nio-8009-exec-29] o.j.p.web.ExceptionLoggingFilter 2019-10-17 13:59:35,607 - uPortal: unhandled exception 'NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.' for URL=/portal/p/university-staff-benefits-statement/max/benefitInformationWidget.resource.uP, user=vREDACTEDv , from IP=1REDACTED0 org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist. at com.sun.org.apache.xerces.internal.dom.ParentNode.internalRemoveChild(ParentNode.java:504) ~[na:1.8.0_222] at com.sun.org.apache.xerces.internal.dom.ParentNode.removeChild(ParentNode.java:484) ~[na:1.8.0_222] at org.jasig.portal.layout.dlm.PositionManager.adjustPositionSet(PositionManager.java:211) ~[classes/:na] at org.jasig.portal.layout.dlm.PositionManager.evaluateAndApply(PositionManager.java:159) ~[classes/:na] at org.jasig.portal.layout.dlm.PositionManager.applyPositions(PositionManager.java:143) ~[classes/:na] at org.jasig.portal.layout.dlm.PLFIntegrator.applyChildChanges(PLFIntegrator.java:91) ~[classes/:na] at org.jasig.portal.layout.dlm.PLFIntegrator.mergeFolder(PLFIntegrator.java:210) ~[classes/:na] at org.jasig.portal.layout.dlm.PLFIntegrator.applyChildChanges(PLFIntegrator.java:78) ~[classes/:na] at org.jasig.portal.layout.dlm.PLFIntegrator.mergeFolder(PLFIntegrator.java:210) ~[classes/:na] at org.jasig.portal.layout.dlm.PLFIntegrator.applyChildChanges(PLFIntegrator.java:78) ~[classes/:na] at org.jasig.portal.layout.dlm.PLFIntegrator.mergePLFintoILF(PLFIntegrator.java:62) ~[classes/:na] at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.getCompositeLayout(RDBMDistributedLayoutStore.java:1352) ~[classes/:na] at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore._getUserLayout(RDBMDistributedLayoutStore.java:1183) ~[classes/:na] at org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.getUserLayout(RDBMDistributedLayoutStore.java:374) ~[classes/:na] at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_222] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.9.RELEASE.jar:3.2.9.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) ~[spring-aop-3.2.9.RELEASE.jar:3.2.9.RELEASE] at com.sun.proxy.$Proxy546.getUserLayout(Unknown Source) ~[na:na]
...

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-user/86e9079c-9912-4cc8-bfc6-476314b7b16f%40apereo.org.