Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9259

Uploading images at catalog/control/addImageForProduct does not work

    XMLWordPrintableJSON

Details

    Description

      java.lang.Exception: Service [addMultipleuploadForProduct] threw an unexpected exception/error
              at org.apache.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:361) [ofbiz.jar:?]
              at org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:302) [ofbiz.jar:?]
      
      
      2017-07-09 15:42:40,189 |sse-nio-8443-exec-11 |CallService                   |E| ERROR: Could not complete the Method to upload multiple images for product [file:/home/devanshu/ofbiz_dev/bug_crush/trunk/applications/product/minilang/product/imagemanagement/ImageManagementServices.xml#UploadProductImages] process [problem invoking the [addMultipleuploadForProduct] service with the map named [addAdditionalViewForProductMap] containing [{userLogin=[GenericEntity:UserLogin][createdStamp,2017-07-09 02:42:04.614(java.sql.Timestamp)][createdTxStamp,2017-07-09 02:42:04.609(java.sql.Timestamp)][currentPassword,{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,null()][externalAuthId,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Asia/Calcutta(java.lang.String)][lastUpdatedStamp,2017-07-09 02:43:49.871(java.sql.Timestamp)][lastUpdatedTxStamp,2017-07-09 02:43:49.702(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)], productId=GZ-1000, _uploadedFile_contentType=image/png, timeZone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null], locale=en_US, productContentTypeId=IMAGE, imageResize=null, uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=204237 cap=204237], _uploadedFile_fileName=3d Spider Man Homecoming M Movie Tickets Online Booking  Showtimes in Indore   Paytm.com.png}]: Service [addMultipleuploadForProduct] target threw an unexpected exception (null)]
      
      

      Steps followed for regeneration:

      • Go to Catalog application.
      • Click on the (Image Management) menu item.
      • Click on the (Upload) sub-menu item.
      • Set a product and upload image(s).
      • Click on the (Upload) button.

      Attachments

        1. OFBIZ-9259.patch
          1 kB
          Devanshu Vyas

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: