Internal Server Error on Dataset Metadata Edit in ESG

XMLWordPrintable

    • Type: Defect
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: 2.0.4
    • Component/s: None
    • None

      Attempts to retract or change the status of a dataset in ESG cause an Internal Server Error:


      Caused by: java.lang.ClassCastException: sgf.gateway.model.metadata.descriptive.DescriptiveMetadataImpl cannot be cast to sgf.gateway.model.metadata.descriptive.CADISDescriptiveMetadata
      at sgf.gateway.web.controllers.cadis.publish.EditCadisDatasetController.showForm(EditCadisDatasetController.java:174) ~[EditCadisDatasetController.class:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_31]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_31]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_31]
      at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_31]
      at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) ~[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) ~[spring-webmvc-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) ~[spring-webmvc-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) ~[spring-webmvc-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) ~[spring-webmvc-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) ~[spring-webmvc-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      ... 56 common frames omitted

              Assignee:
              Unassigned
              Reporter:
              Jason Cunning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: