Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-2171

Assign License with no License selected gives Internal Server Error

XMLWordPrintable

    • Icon: Defect Defect
    • Resolution: Won't Do
    • Icon: Major Major
    • Recycle Bin
    • 1.3.0-M1
    • Administration
    • None

      As rootAdmin, create a collection, go to page to "Assign License" to the collection. Don't select any licenses, then click "Assign License" button.
      Internal Server Error.

      Caused by: java.lang.NullPointerException
              at sgf.gateway.dao.metadata.impl.hibernate.CatalogDAOImpl.getLicense(CatalogDAOImpl.java:335)
              at sgf.gateway.service.metadata.impl.spring.CatalogServiceImpl.getLicense(CatalogServiceImpl.java:260)
              at sgf.gateway.web.controllers.browse.AssignLicenseController.onSubmit(AssignLicenseController.java:97)
              at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:272)
              at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:268)
              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:790)
              ... 65 more

              Unassigned Unassigned
              cgrant Christy Grant
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: