Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
13 replies
Subscribers
5 subscribers
Views
17475 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I'm trying to read an xlsx file with Apache Poi. Program works but when I tr
olivierl
over 12 years ago
I'm trying to read an xlsx file with Apache Poi. Program works but when I try to put it in a smart service, I get an error java.lang.reflect.InvocationTargetException
after line XSSFWorkbook
File file = new File(fileName);
OPCPackage opcPackage = OPCPackage.open(file);
XSSFWorkbook myWorkbook = new XSSFWorkbook(opcPackage);
I wonder if the error would come from user's rights as the error seems to be at createDocumentPart. I'm using Appain 7 on Windows server 2008. With which account does run a smart service ? Where is it's temp folder ?
Thanks,
Olivier
ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536883553, classname=com.solypse.etde.SolImportExcel
org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException
at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:62)
at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPa...
OriginalPostID-58453
OriginalPostID-58453
Discussion posts and replies are publicly visible
Parents
0
olivierl
over 12 years ago
Well, that was dom4j ! It would have probably been the last I would have removed as it comes with poi. I saw the plugin list but as it was written "you do not need" I didn't relate to it . Now I'm going to read it as "you must not" . Thanks again very much for all answers, I hope that my question will at least help others some days.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
olivierl
over 12 years ago
Well, that was dom4j ! It would have probably been the last I would have removed as it comes with poi. I saw the plugin list but as it was written "you do not need" I didn't relate to it . Now I'm going to read it as "you must not" . Thanks again very much for all answers, I hope that my question will at least help others some days.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data