https://bz.apache.org/bugzilla/show_bug.cgi?id=68387

            Bug ID: 68387
           Summary: Issue with adding photos when working concurrently
                    with SXSSFWorkbook.
           Product: POI
           Version: 5.2.2-FINAL
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SXSSF
          Assignee: dev@poi.apache.org
          Reporter: h-...@rambler.ru
  Target Milestone: ---

Issue pertains to a possible problem with the method `public int
addPicture(byte[] pictureData, int format)` when used in conjunction with the
implementation of XSSFWorkbook, where the field `private List<XSSFPictureData>
pictures` is not thread-safe.

Ideally, there should be a convenient way to add photos while working in
multiple threads, for example, by creating a method that takes Sheet,
ClientAnchor, and BufferedImage as parameters.

Platform Java 17
apache.poi.version - 5.2.5

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to