Error 8228

Last post 11-18-2009, 6:47 AM by aspose.notifier. 5 replies.
Sort Posts: Previous Next
  •  09-01-2009, 1:55 PM 196156

    Error 8228 Java

    I have encountered error 8228 while attempting to save a Workbook.  Unlike some other threads regarding this problem, it is not the result of multiple calls to the save() method, it's called only once.  The file is created, but has a length if 0 bytes.

    It is probably worth noting that the workbook created is extremely large.  The program converts tables in a Word document into worksheets (one worksheet per Word table).  The Word file in question produces 1409 worksheets and when save() is called, the error occurs.

    Thanks for any assistance you can provide.

    Kent
    Filed under: 8228
     
  •  09-02-2009, 1:24 AM 196224 in reply to 196156

    Re: Error 8228

    Attachment: Present (inaccessible)

    Hi Kent,

     

    Thank you for considering Aspose.

     

    Please try the attached latest version of Aspose.Cells. If you still face any issue, please share the sample code to reproduce the issue and we will check it soon.

     

    Thank You & Best Regards,


    Nausherwan Aslam
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  09-03-2009, 11:17 AM 196572 in reply to 196224

    Re: Error 8228 Java

    Attachment: Present (inaccessible)
    Nausherwan,

    Thanks for your reply.  Unfortunately, the new Cells jar did not solve the problem.  Given the nature of the program, it doesn't make much sense to try and create sample code, so I've zipped the entire development directory (it's not too large a program at this point).  You should be able to open it as a project under an IDE such as Eclipse and run it.  The only thing you'll need to add is your own 'Aspose.Total.Java.lic' file in the top level directory (word2excel).

    The program opens a Word document, converts its tables to Excel worksheets, and saves the resulting Excel workbook. The exception is thrown in the Word2Excel.convert method from inside Workbook.save().  Here is the exception:

    java.lang.ArrayIndexOutOfBoundsException: 8228
        at com.aspose.cells.eS.a(Unknown Source)
        at com.aspose.cells.eS.a(Unknown Source)
        at com.aspose.cells.dL.a(Unknown Source)
        at com.aspose.cells.q.a(Unknown Source)
        at com.aspose.cells.Workbook.save(Unknown Source)
        at com.sonex.word2excel.Word2Excel.convert(Word2Excel.java:199)
        at com.sonex.word2excel.Word2Excel.actionPerformed(Word2Excel.java:151)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

    The program saves the Workbooks for smaller files without any problem, but throws the above error for very large files.  The file in question is almost 700 pages in length and contains 1409 tables.  I'm sorry but I cannot send you the file because it was supplied by our customer and contains confidential information.

    Thanks for your help.

    Kent

     
  •  09-03-2009, 12:35 PM 196593 in reply to 196572

    Re: Error 8228

    Hi Kent,

     

    Thank you for sharing your project and exception stack trace with us.

     

    We will further look into your issue and get back to you soon.  

     

    Thank You & Best Regards,


    Nausherwan Aslam
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  09-04-2009, 3:34 AM 196710 in reply to 196572

    Re: Error 8228

    Attachment: Present (inaccessible)

    Hi Kent,

     

    Thank you for considering Aspose.

     

    Please try the attached latest version of Aspose.Cells. We have fixed your mentioned issue.

     

    Thank You & Best Regards,


    Nausherwan Aslam
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  11-18-2009, 6:47 AM 208604 in reply to 196156

    Re: Error 8228

    The issues you have found earlier (filed as 10352) have been fixed in this update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
View as RSS news feed in XML