mpxj - Unsupported encoding command ansicpg949 -
using mpxj~, .mpp
file upload.
net.sf.mpxj.mpp.mppreader called -> read(inputstream is)
error code:
projectreader reader = new mppreader (); projectfile project; try { project = reader.read(uploadfile.getinputstream());
error file : rtfparserkit
mpxj bug ticket : http://sourceforge.net/p/mpxj/bugs/289/
help~
java.lang.illegalargumentexception: unsupported encoding command ansicpg949 @ com.rtfparserkit.parser.standard.standardrtfparser.processencoding(standardrtfparser.java:349) @ com.rtfparserkit.parser.standard.standardrtfparser.processcommand(standardrtfparser.java:150) @ com.rtfparserkit.parser.raw.rawrtfparser.handlecommand(rawrtfparser.java:278) @ com.rtfparserkit.parser.raw.rawrtfparser.handlecommand(rawrtfparser.java:241) @ com.rtfparserkit.parser.raw.rawrtfparser.parse(rawrtfparser.java:87) @ com.rtfparserkit.parser.standard.standardrtfparser.parse(standardrtfparser.java:50) @ com.rtfparserkit.converter.text.abstracttextconverter.convert(abstracttextconverter.java:41) @ com.rtfparserkit.converter.text.stringtextconverter.convert(stringtextconverter.java:34) @ net.sf.mpxj.common.rtfhelper.strip(rtfhelper.java:61) @ net.sf.mpxj.mpp.mpp14reader.processtaskdata(mpp14reader.java:1513) @ net.sf.mpxj.mpp.mpp14reader.process(mpp14reader.java:102) @ net.sf.mpxj.mpp.mppreader.read(mppreader.java:136) @ net.sf.mpxj.mpp.mppreader.read(mppreader.java:79)
this issue fixed in next version of mpxj (5.1.19 or later)
Comments
Post a Comment