Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#576297: writer2latex: Exception in thread "main" java.lang.StringIndexOutOfBoundsException:

3 views
Skip to first unread message

G. Allen Morris III

unread,
Apr 2, 2010, 1:30:01 PM4/2/10
to
Package: writer2latex
Version: 1.0-10
Severity: grave
Justification: renders package unusable


[gam3@frenchy: ~]$ w2l ./RN-OB.doc ./bob.tex

This is Writer2LaTeX, Version 1.0 (2008-09-21)

Starting conversion...
Converting ./RN-OB.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:87)
at writer2latex.base.ConverterBase.convert(ConverterBase.java:81)
at writer2latex.Application.doConversion(Application.java:230)
at writer2latex.Application.main(Application.java:86)

/etc/alternatives/java -> /usr/lib/jvm/java-6-sun/jre/bin/java
/etc/alternatives/java.1.gz -> /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
/etc/alternatives/java_vm -> /usr/lib/jvm/java-6-sun/jre/bin/java_vm
/etc/alternatives/javaws -> /usr/lib/jvm/java-6-openjdk/jre/bin/javaws

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-gam3-ma770 (SMP w/3 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages writer2latex depends on:
ii dpkg 1.15.5.6 Debian package management system
ii gij-4.1 [java2-runtime] 4.1.1-20 The GNU Java bytecode interpreter
ii libwriter2latex-java 1.0-10 OpenOffice.org Writer/Calc to LaTe
ii openjdk-6-jre [java2-runtime 6b17~pre3-1 OpenJDK Java runtime, using Hotspo
ii sun-java5-jre [java2-runtime 1.5.0-19-1 Sun Java(TM) Runtime Environment (
ii sun-java6-jre [java2-runtime 6-17-1 Sun Java(TM) Runtime Environment (
ii tex-common 2.05 common infrastructure for building

Versions of packages writer2latex recommends:
ii elinks [www-browser] 0.12~pre5-2 advanced text-mode WWW browser
ii evince [pdf-viewer] 2.28.2-1 Document (postscript, pdf) viewer
ii gv [pdf-viewer] 1:3.6.8-1 PostScript and PDF viewer for X
ii iceape-browser [www-b 2.0.1-1 Iceape Navigator (Internet browser
ii iceweasel [www-browse 3.5.6-1 lightweight web browser based on M
ii konqueror [www-browse 4:4.3.4-1 KDE 4's advanced file manager, web
ii lynx-cur [www-browser 2.8.8dev.2-1 Text-mode WWW Browser with NLS sup
ii openoffice.org-writer 1:3.1.1-12 full-featured office productivity
ii opera [www-browser] 9.61.2456.gcc4.qt3 The Opera Web Browser
ii w3m [www-browser] 0.5.2-2.1 WWW browsable pager with excellent
ii xpdf-reader [pdf-view 3.02-1.4+lenny1 Portable Document Format (PDF) sui

writer2latex suggests no packages.

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

G. Allen Morris III

unread,
Apr 3, 2010, 10:30:03 AM4/3/10
to
In any case it should not throw an exception. It should print out an
error message.


signature.asc

Rene Engelhard

unread,
Apr 3, 2010, 12:00:02 PM4/3/10
to
On Sat, Apr 03, 2010 at 09:56:54AM -0400, G. Allen Morris III wrote:
> In any case it should not throw an exception. It should print out an
> error message.

And in any case: it's not a "grave" (means: bug blocking the release
and eventually cause removal of the package) bug then.

Grüße/Regards,

René
--
.''`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' re...@debian.org | GnuPG-Key ID: D03E3E70
`- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70

0 new messages