• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

POI invocation target exception

 
Thomas Greene
Ranch Hand
Posts: 127
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1824
Eclipse IDE Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An InvocationTargetException is a reflection exception wrapper, and can mean just about anything. What is the cause of the InvocationTargetException (e.getCause())?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic