[Open Office] Still getting NullPointerExceptions
from HelpLinker...
Matthias Klose
doko at ubuntu.com
Sun Feb 19 13:03:11 EST 2006
Caolan McNamara wrote:
> On Mon, 2006-02-13 at 15:25 +0100, Bernhard Rosenkraenzer wrote:
>> Hi,
>> I'm still getting NullPointerException crashes from HelpLinker after patching
>> gcc with http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25426
>>
>> HelpLinker @/tmp/mkDRzUsM
>> java.lang.NullPointerException
>> at com.jclark.xsl.sax.XMLProcessorImpl.load (libxt.jar.so)
>> at com.jclark.xsl.sax.XSLProcessorImpl.loadStylesheet (libxt.jar.so)
>> at com.sun.star.help.HelpIndexer$ParseStuff.<init> (HelpLinker)
>> at com.sun.star.help.HelpCompiler.getSourceDocument (HelpLinker)
>> at com.sun.star.help.HelpCompiler.compile (HelpLinker)
>> at com.sun.star.help.HelpLinker.link (HelpLinker)
>> at com.sun.star.help.HelpLinker.main (HelpLinker)
>> dmake: Error code 1, while making '../../unxlngi6.pro/bin/sbasic_en-US.zip'
>> '---* tg_merge.mk *---'
>>
>> I tried using ecj rather than gcj -C to bytecompile the java files to make
>> sure it's not the gcj private/public bug, but that refuses to build the
>> included Xt (works nicely on system xt though) because it doesn't overload a
>> number of abstract methods.
>
> You can use gdb here to find the stacktrace btw. Get the contents of the
> @/tmp/mk... file and...
>
> gdb HelpLinker
> (gdb) handle SIGPWR nostop noprint
> (gdb) handle SIGXCPU nostop noprint
> (gdb) handle SIG33 nostop noprint
> (gdb) run *contents*
>
> Always a possibility is gcc#19870#, you can find a (rather silly)
> hackaround for that in the redhat spec where I sed out java
> privates/protecteds into publics.
this is most likely a miscompiled db4.x; db_java_wrap.c has to be
compiled using -fno-strict-aliasing.
Matthias
More information about the Openoffice
mailing list