You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/12/06 03:21:51 UTC

[Bug 58694] New: org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException

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

            Bug ID: 58694
           Summary: org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeEx
                    ception
           Product: POI
           Version: 3.13-FINAL
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: wataylor@as-st.com

Created attachment 33327
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33327&action=edit
My web application passes this file to POI after uploading it.  That works. 
When I try to write it back out, the sky falls.

Error writing work book
org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Rule M2.4
exception : this error should NEVER happen! Please raise a bug at
https://bz.apache.org/bugzilla/enter_bug.cgi?product=POI and attach a file that
triggers it, thanks!

I have attached the file which is input and read by POI after it has been
uploaded to my web application.  My program changes all of the C cells in
column A to Completed and then tries to write the spread sheet to request.out. 
I have attached the input file.

This first happened on the Linux production system with version 11 but it was
not happening on my windows 7 test system.  Suspecting that you'd ask me to
upgrade, I switched from poi 11 to poi 13 on Windows, and it started happening
on windows.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 58694] org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58694

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |NEEDINFO

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
I tried to reproduce this, but could not when using the trunk version of POI. I
used the following piece of code, can you provide the steps that reproduce the
problem for you (reduced to the bare minimum) so we can try to reproduce it? 

       for(Sheet sheet : wb) {
           for(Row row : sheet) {
               Cell cell = row.getCell(0);
               if(cell.getStringCellValue().equals("C")) {
                   cell.setCellValue("Completed");
               }
           }
       }
       Workbook wb2 = XSSFTestDataSamples.writeOutAndReadBack(wb);
       wb2.close();

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 58694] org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58694

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
No response for some time on the request for more information, therefore I am
setting closing this for now. Please reopen this with more information if you
still have this problem with the latest version of POI.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org