Bug 26838 - Падает на некоторых файлах
Summary: Падает на некоторых файлах
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: writer2latex (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 12:02 MSK by Vladimir Cherny
Modified: 2012-01-20 14:22 MSK (History)
0 users

See Also:


Attachments
файл на котором падает writer2latex (33.50 KB, application/vnd.ms-word)
2012-01-20 12:02 MSK, Vladimir Cherny
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Cherny 2012-01-20 12:02:13 MSK
Created attachment 5295 [details]
файл на котором падает writer2latex

Падает на некоторых файлах:

This is Writer2LaTeX, Version 1.1.9 (2011-01-12)

Starting conversion...
Reading configuration file ../abstract.xml
Converting Тезисы_Лукин_Чернышов-2.doc
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:698)
	at java.lang.StringBuffer.delete(StringBuffer.java:373)
	at writer2latex.xmerge.OfficeDocument.secondHack(OfficeDocument.java:1248)
	at writer2latex.xmerge.OfficeDocument.read(OfficeDocument.java:571)
	at writer2latex.xmerge.OfficeDocument.read(OfficeDocument.java:442)
	at writer2latex.base.ConverterBase.convert(ConverterBase.java:97)
	at writer2latex.base.ConverterBase.convert(ConverterBase.java:91)
	at writer2latex.Application.doConversion(Application.java:249)
	at writer2latex.Application.main(Application.java:88)

Файл во вложении (если нужно, есть еще).
Comment 1 kirill 2012-01-20 14:22:44 MSK
Этот файл в формате DOC. Writer2latex работает с ODT.