Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

The Image size cannot be null error when Image created using ImedImage content type #16

Open
nsmythili opened this issue Jun 21, 2019 · 0 comments

Comments

@nsmythili
Copy link

nsmythili commented Jun 21, 2019

When ImedImage type is used to create Image the following error occurs when Image Editor is used to edit the image.

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: image size code must not be null
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:965)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.percussion.utils.security.PSSecurityHeaderFilter.doFilter(Unknown Source)
com.percussion.webdav.PSWebDavRequestFilter.doFilter(Unknown Source)
com.percussion.servlets.PSSecurityFilter.doFilter(Unknown Source)
com.percussion.servlets.PSCharacterSetFilter.doFilter(Unknown Source)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.IllegalArgumentException: image size code must not be null
com.percussion.pso.imageedit.services.impl.ImageSizeDefinitionManagerImpl.getImageSize(ImageSizeDefinitionManagerImpl.java:67)
com.percussion.pso.imageedit.web.impl.ImageItemSupport.readMetaData(ImageItemSupport.java:219)
com.percussion.pso.imageedit.web.impl.ImagePersistenceManagerImpl.OpenImage(ImagePersistenceManagerImpl.java:148)
com.percussion.pso.imageedit.web.ImageEditorWizard.formBackingObject(ImageEditorWizard.java:763)
org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormController.java:361)
org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java:341)
org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:281)
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant