Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
None
-
None
-
None
Description
Case 1 - When I upload the image (copyof2cms7.......) I see below error on front end and attached exceptions in console. Also I am not expecting to see "an error occurred while parsing image metadata" on front end or the exception in the console.
File copyof2cms7_5074_BandWr.jpg is too large, the maximum allowed file size is 500K.
An error occurred while parsing image metadata.
Case 2 - When I upload the image (cms7_5074.......) I see only below info message in front end. No exceptions in this case
Image cms7_5074_BandW.jpg is too high, max allowed vertical pixels is 1,280
File cms7_5074_BandW.jpg is too large, the maximum allowed file size is 500K.
----------------------------------------------------------------------------------------------
Exceptions from first case
[INFO] [talledLocalContainer] 17.08.2012 11:43:01 ERROR [org.hippoecm.frontend.plugins.yui.upload.validation.ImageUploadValidationService.validateSizes():70] Error processing upload
[INFO] [talledLocalContainer] org.apache.sanselan.ImageReadException: Unknown parameter: READ_THUMBNAILS
[INFO] [talledLocalContainer] at org.apache.sanselan.formats.bmp.BmpImageParser.getImageInfo(BmpImageParser.java:482)
[INFO] [talledLocalContainer] at org.apache.sanselan.Sanselan.getImageInfo(Sanselan.java:589)
[INFO] [talledLocalContainer] at org.apache.sanselan.Sanselan.getImageInfo(Sanselan.java:502)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.yui.upload.validation.ImageUploadValidationService.validateSizes(ImageUploadValidationService.java:63)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.yui.upload.validation.ImageUploadValidationService.validate(ImageUploadValidationService.java:54)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.yui.upload.FileUploadWidget.handleFileUpload(FileUploadWidget.java:228)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.yui.upload.FileUploadWidget.access$000(FileUploadWidget.java:52)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.yui.upload.FileUploadWidget$1.onFileUpload(FileUploadWidget.java:151)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.yui.upload.ajax.AjaxMultiFileUploadComponent$UploadBehavior.onRequest(AjaxMultiFileUploadComponent.java:66)
[INFO] [talledLocalContainer] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
[INFO] [talledLocalContainer] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:36)
[INFO] [talledLocalContainer] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1252)
[INFO] [talledLocalContainer] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1331)
[INFO] [talledLocalContainer] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)
[INFO] [talledLocalContainer] at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
[INFO] [talledLocalContainer] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
[INFO] [talledLocalContainer] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[INFO] [talledLocalContainer] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
[INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
[INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
[INFO] [talledLocalContainer] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:662)