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

NullPointerException in Worksite Setup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: Worksite Setup
    • Labels:
      None

      Description

      Kevin from IU reported the following problem:

      "I have pulled 2-6-x from svn and built and deployed to a new db & tomcat. (so I'm not dealing with established
      data) I also opted to use a very minimal sakai.properties file just db info and ldap params.

      I am not able to create any course sites. I get the standard
      "An unexpected error has occurred" page when trying to do this.

      Here are the first few lines of catalina.out when this error happens..

      15:35:04,349 ERROR ApplicationDispatcher.java:711 sitesetup]:711 - Servlet.service() for servlet sakai.sitesetup threw exception
      java.lang.NullPointerException
      at org.sakaiproject.site.tool.SiteAction.buildContextForTemplate(SiteAction.java:2765)
      at org.sakaiproject.site.tool.SiteAction.buildMainPanelContext(SiteAction.java:932)
      at sun.reflect.GeneratedMethodAccessor542.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.toolModeDispatch(VelocityPortletPaneledAction.java:401)
      at org.sakaiproject.site.tool.SiteAction.toolModeDispatch(SiteAction.java:10967)
      at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:227)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1014)
      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)
      ....

      Does anyone know what site setup is doing here?

      Creating course sites on nightly2 works but this does seem to have the demo data set loaded into CM.

      I'm not using demo data but I have inserted a valid term into CM_ACADEMIC_SESSION_T "

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                jleasia John Leasia (Inactive)
                Reporter:
                zqian Zhen Qian
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration