File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes POI invocation target  exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "POI invocation target  exception" Watch "POI invocation target  exception" New topic
Author

POI invocation target exception

Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 126
s anyone aware of InvocationTargetException in POI (being used for reading excel sheets).It is a very strange problem.
I have a swing based application which is reading excel sheets. Using this application an excel sheet is selected and processed. After teh same excel sheet is selected and processed a few times, it starts giving InvocationTargetException. If I copy the content from excel sheet and put it into another exel sheet and use that sheet, the problem disappears. It again comes after that excel sheet is processed a few times.
The exception is thrown in the part of code which creates a workbook.

Thank You
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1824

An InvocationTargetException is a reflection exception wrapper, and can mean just about anything. What is the cause of the InvocationTargetException (e.getCause())?


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: POI invocation target exception