Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4355

RS when open a saved presentation in quality management

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.1.6
    • Component/s: QM
    • Labels:
      None

      Description

      The RS appears if the saved presentation contains a filter of "Type of curriculum element".

      2019-11-18 09:03:03.223 [ajp-nio2-8067-exec-3] ERROR  AnalysisPresentationXStream ^%^ I2888292-J19907 ^%^ org.olat.modules.quality.analysis.manager.AnalysisPresentationXStream ^%^ 229377 ^%^ 212.25.11.24 ^%^ https://openolat.xyz.ch/auth/QualitySite/0/quality/0/datacollections/0 ^%^ Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0) Gecko/20100101 Firefox/70.0 ^%^ com.thoughtworks.xstream.converters.ConversionException:  ---- Debugging information ---- cause-exception     : com.thoughtworks.xstream.security.ForbiddenClassException cause-message       : org.olat.modules.curriculum.model.CurriculumElementTypeRefImpl class               : java.util.ArrayList required-type       : java.util.ArrayList converter-type      : com.thoughtworks.xstream.converters.collections.CollectionConverter path                : /AnalysisSearchParameter/contextCurriculumElementTypeRefs/org.olat.modules.curriculum.model.CurriculumElementTypeRefImpl line number         : 11 class[1]            : org.olat.modules.quality.analysis.AnalysisSearchParameter required-type[1]    : org.olat.modules.quality.analysis.AnalysisSearchParameter converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter version             : 14.1-SNAPSHOT ------------------------------- 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:77) 	
       at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) 	
       at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499) 	
       at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425) 	
       at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) 	
       at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) 	
       at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) 	
       at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) 	
       at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) 	
       at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) 	
       at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1329) 	
       at org.olat.modules.quality.analysis.manager.AnalysisPresentationXStream.fromXml(AnalysisPresentationXStream.java:80) 	
       at org.olat.modules.quality.analysis.manager.AnalysisPresentationDAO.fromXMLs(AnalysisPresentationDAO.java:174) 	
       at org.olat.modules.quality.analysis.manager.AnalysisPresentationDAO.load(AnalysisPresentationDAO.java:129) 	
       at org.olat.modules.quality.analysis.manager.QualityAnalysisServiceImpl.loadPresentations(QualityAnalysisServiceImpl.java:130) 	
       at org.olat.modules.quality.ui.QualityHomeController.getAnalysisPresentationLinks(QualityHomeController.java:139) 	
       at org.olat.modules.quality.ui.QualityHomeController.createPanels(QualityHomeController.java:127) 	
       at org.olat.modules.quality.ui.QualityHomeController.event(QualityHomeController.java:216) 	
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206) 	
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240) 	
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) 	
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238) 	
       at org.olat.core.gui.components.stack.BreadcrumbedStackedPanel.dispatchEvent(BreadcrumbedStackedPanel.java:258) 	
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:245) 	
       at org.olat.core.gui.components.link.Link.dispatch(Link.java:205) 	
       at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:192) 	
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) 	
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1201) 	
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:398) 	
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282) 	
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) 	
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:263) 	
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:184) 	
       at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269) 	
       at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:216) 	
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) 	
       at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:160) 	
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) 	
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) 	
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 	
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 	
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 	
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 	
       at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:95) 	
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 	
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 	
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) 	
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) 	
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) 	
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) 	
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) 	
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) 	
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) 	
       at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479) 	
       at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) 	
       at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800) 	
       at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1699) 	
       at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 	
       at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1050) 	
       at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:630) 	
       at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:608) 	
       at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) 	
       at sun.nio.ch.Invoker$2.run(Invoker.java:218) 	
       at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) 	
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 	
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 	
       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 	
       at java.lang.Thread.run(Thread.java:748) Caused by: com.thoughtworks.xstream.security.ForbiddenClassException: org.olat.modules.curriculum.model.CurriculumElementTypeRefImpl 	
       at com.thoughtworks.xstream.security.NoTypePermission.allows(NoTypePermission.java:26) 	
       at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:74) 	
       at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) 	
       at org.olat.core.util.xml.EnhancedMapper.realClass(EnhancedMapper.java:49) 	
       at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) 	
       at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47) 	
       at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) 	
       at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:131) 	
       at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) 	
       at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98) 	
       at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91) 	
       at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85) 	
       at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) 	
       at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) 	
       at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499) 	
       at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425) 	
       at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) 	
       at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) 	
       at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) 	
       at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) 	
       at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) 	
       at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) 	
       at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) 	
       at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1329) 	
       at org.olat.modules.quality.analysis.manager.AnalysisPresentationXStream.fromXml(AnalysisPresentationXStream.java:80) 	
       at org.olat.modules.quality.analysis.manager.AnalysisPresentationDAO.fromXMLs(AnalysisPresentationDAO.java:174) 	
       at org.olat.modules.quality.analysis.manager.AnalysisPresentationDAO.load(AnalysisPresentationDAO.java:129) 	
       at org.olat.modules.quality.analysis.manager.QualityAnalysisServiceImpl.loadPresentations(QualityAnalysisServiceImpl.java:130) 	
       at org.olat.modules.quality.ui.QualityHomeController.getAnalysisPresentationLinks(QualityHomeController.java:139) 	
       at org.olat.modules.quality.ui.QualityHomeController.createPanels(QualityHomeController.java:127) 	
       at org.olat.modules.quality.ui.QualityHomeController.<init>(QualityHomeController.java:92) 	
       at org.olat.modules.quality.ui.QualityMainController.<init>(QualityMainController.java:63) 	
       at org.olat.modules.quality.site.QualitySite.createController(QualitySite.java:70) 	
       at org.olat.modules.quality.site.QualitySite.createController(QualitySite.java:48) 	
       at org.olat.core.gui.control.navigation.AbstractSiteInstance.createController(AbstractSiteInstance.java:66) 	
       at org.olat.core.commons.fullWebApp.BaseFullWebappController.activateSite(BaseFullWebappController.java:847) 	
       at org.olat.core.commons.fullWebApp.BaseFullWebappController.event(BaseFullWebappController.java:635) 	
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206) 	
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240) 	
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) 	
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238) 	... 44 more
      
      

      and

      2019-11-16 09:08:16.981 [ajp-nio2-8067-exec-6] ERROR OLATRuntimeException ^%^ I571260-J3743 org.olat.core.logging.OLATRuntimeException ^%^ 121831442 ^%^ 217.192.12.130https://openolat.xyz.ch/auth/QualitySite/0/quality/0Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36 ^%^ **RedScreen**<dispatchinfo>	<componentinfo>		<compname>analysis.link0</compname>		<compclass>org.olat.core.gui.components.link.Link</compclass>		<extendedinfo>n/a</extendedinfo>		<event>			<class&amp;gt;org.olat.core.gui.control.Event</class&amp;gt;			<command>analysis.link</command>			<tostring>com:analysis.link,org.olat.core.gui.control.Event@5f841feb</tostring>		</event>	</componentinfo>	<controllerinfo>		<controllername>org.olat.modules.quality.ui.QualityHomeController</controllername>		<controllername>org.olat.modules.quality.ui.QualityMainController</controllername>		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>	</controllerinfo></dispatchinfo>Caused by: java.lang.NullPointerException at org.olat.modules.quality.analysis.manager.AnalysisFilterDAO.appendFrom(AnalysisFilterDAO.java:563) at org.olat.modules.quality.analysis.manager.AnalysisFilterDAO.getAvailableAttributes(AnalysisFilterDAO.java:88) at org.olat.modules.quality.analysis.manager.QualityAnalysisServiceImpl.getAvailableAttributes(QualityAnalysisServiceImpl.java:145) at org.olat.modules.quality.analysis.ui.AnalysisController.<init>(AnalysisController.java:169) at org.olat.modules.quality.analysis.ui.AnalysisListController.doOpenAnalysis(AnalysisListController.java:240) at org.olat.modules.quality.analysis.ui.AnalysisListController.doOpenPresentation(AnalysisListController.java:233) at org.olat.modules.quality.analysis.ui.AnalysisListController.activate(AnalysisListController.java:188) at org.olat.modules.quality.ui.QualityHomeController.doOpenAnalysis(QualityHomeController.java:277) at org.olat.modules.quality.ui.QualityHomeController.doOpenPresentation(QualityHomeController.java:267) at org.olat.modules.quality.ui.QualityHomeController.event(QualityHomeController.java:213) at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206) at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240) at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238) at org.olat.core.gui.components.link.Link.dispatch(Link.java:205) at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:192) at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1201) at org.olat.core.gui.components.Window.dispatchRequest(Window.java:398) ... 39 more
      

        Attachments

          Activity

            People

            Assignee:
            uhensler Urs Hensler
            Reporter:
            uhensler Urs Hensler
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m