Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-14631

sakai.metaobj.form.helper/formCreateHelper.osp crashes with NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.2
    • Fix Version/s: None
    • Component/s: Metaobj, OSP: Forms
    • Labels:
      None
    • Environment:
      RedHat 5 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686 i686 i386 GNU/Linux. Tomcat 5.5. MySQL 5.

      Description

      When building forms (sakai.metaobj.form.resourceCreateHelper.helper/formCreateHelper.osp and osp.review.processor.helper/sakai.metaobj.form.helper/formCreateHelper.osp) a NullPointerException is thrown for various forms. This has been seen in the OSP tools.

      Below are the stack traces. Please advise what other details are required to identify the bug.

        • This bug causes the OSP Evaluation Tool to crash and cannot evaluate student submissions **

      usage-session: f0c82265-fbed-4af4-a266-81be02072773
      stack-trace-digest: 880F92A07CD88740C81AEDFF6743E688B57FAA28
      sakai-version: 2.5.2
      service-version: release
      app-server: eportfolio-1
      user-agent: SakaiPortalLogin.jws
      browser-id: UnknownBrowser
      IP: 138.25.40.88
      request-path: /portal/tool/c790396a-b463-4217-8f86-dd3d47c73425/sakai.metaobj.form.resourceCreateHelper.helper/formCreateHelper.osp
      time: 10/10/2008 13:46:01

      stack trace:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is java.lang.NullPointerException
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
      caused by: org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is java.lang.NullPointerException
      at org.sakaiproject.cheftool.ToolServlet.sendToHelper(ToolServlet.java:652)
      caused by: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
      caused by: java.lang.NullPointerException
      at org.sakaiproject.metaobj.utils.xml.impl.UriElementType.getSchemaNormalizedValue(UriElementType.java:73)
      at org.sakaiproject.metaobj.utils.xml.impl.UriElementType.getSchemaNormalizedValue(UriElementType.java:66)
      at org.sakaiproject.metaobj.utils.xml.impl.SimpleSchemaNodeImpl.getSchemaNormalizedValue(SimpleSchemaNodeImpl.java:93)
      at org.sakaiproject.metaobj.shared.model.ElementBean.put(ElementBean.java:125)
      at org.sakaiproject.metaobj.shared.model.StructuredArtifact.put(StructuredArtifact.java:109)
      at org.sakaiproject.metaobj.shared.control.XmlControllerBase.retrieveFileAttachments(XmlControllerBase.java:328)
      at org.sakaiproject.metaobj.shared.control.AddXmlElementController.formBackingObject(AddXmlElementController.java:84)
      at org.sakaiproject.metaobj.utils.mvc.impl.servlet.FormControllerImpl.formBackingObject(FormControllerImpl.java:144)
      at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormController.java:343)
      at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java:323)
      at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:263)
      at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.spring.util.SpringTool.dispatch(SpringTool.java:231)
      at org.sakaiproject.spring.util.SpringTool.doGet(SpringTool.java:294)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:529)
      at org.sakaiproject.cheftool.ToolServlet.sendToHelper(ToolServlet.java:652)
      at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:212)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1005)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:459)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1343)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:163)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:86)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:592)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:595)

      usage-session: ef67db97-bcaf-4ec6-9794-8b7bc881dfc5
      stack-trace-digest: 2BE5E3624B436BA00603F884E17D81D73821A5A6
      sakai-version: 2.5.2
      service-version: release
      app-server: eportfolio-1
      user-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008091700 SUSE/3.0.3-1.1 Firefox/3.0.3
      browser-id: Lin-Mozilla
      IP: 138.25.40.88
      time: 7/10/2008 07:24:15

      user comment:

      stack trace:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is java.lang.NullPointerException
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
      caused by: org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is java.lang.NullPointerException
      at org.sakaiproject.spring.util.SpringTool.sendToHelper(SpringTool.java:302)
      caused by: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
      caused by: java.lang.NullPointerException
      at org.sakaiproject.metaobj.shared.mgt.home.StructuredArtifactDefinition.<init>(StructuredArtifactDefinition.java:101)
      at org.sakaiproject.metaobj.shared.mgt.factories.DbXmlHomeFactoryImpl.createHome(DbXmlHomeFactoryImpl.java:82)
      at org.sakaiproject.metaobj.shared.mgt.factories.DbXmlHomeFactoryImpl.getHome(DbXmlHomeFactoryImpl.java:58)
      at org.sakaiproject.metaobj.shared.mgt.factories.DbXmlHomeFactoryImpl.handlesType(DbXmlHomeFactoryImpl.java:46)
      at org.sakaiproject.metaobj.shared.mgt.HomeFactoryImpl.getHome(HomeFactoryImpl.java:60)
      at org.sakaiproject.metaobj.shared.control.XmlControllerBase.getSchema(XmlControllerBase.java:218)
      at org.sakaiproject.metaobj.shared.control.AddXmlElementController.formBackingObject(AddXmlElementController.java:62)
      at org.sakaiproject.metaobj.utils.mvc.impl.servlet.FormControllerImpl.formBackingObject(FormControllerImpl.java:144)
      at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormController.java:343)
      at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java:323)
      at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:263)
      at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.spring.util.SpringTool.dispatch(SpringTool.java:231)
      at org.sakaiproject.spring.util.SpringTool.doGet(SpringTool.java:294)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:529)
      at org.sakaiproject.spring.util.SpringTool.sendToHelper(SpringTool.java:302)
      at org.sakaiproject.spring.util.SpringTool.dispatch(SpringTool.java:145)
      at org.sakaiproject.spring.util.SpringTool.doGet(SpringTool.java:316)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:529)
      at org.sakaiproject.spring.util.SpringTool.sendToHelper(SpringTool.java:302)
      at org.sakaiproject.spring.util.SpringTool.dispatch(SpringTool.java:145)
      at org.sakaiproject.spring.util.SpringTool.doGet(SpringTool.java:316)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:555)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:459)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1343)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:163)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:86)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:891)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:592)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:595)

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                osp-jira OSP Jira Team (Inactive)
                Reporter:
                mjlucaseng James Lucas (Inactive)
                Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration