[Open Office] Still getting NullPointerExceptions from HelpLinker...

Bernhard Rosenkraenzer bero at arklinux.org
Wed Feb 15 08:09:41 EST 2006


On Monday, 13. February 2006 15:54, Caolan McNamara wrote:
> > HelpLinker @/tmp/mkDRzUsM
> > java.lang.NullPointerException
> >    at com.jclark.xsl.sax.XMLProcessorImpl.load (libxt.jar.so)
>
> You can use gdb here to find the stacktrace btw. Get the contents of the
> @/tmp/mk... file and...

Yes - an even easier way (since those @/tmp/mk... files are around 80k - a lot 
even for cut&paste):
cp /tmp/mk.... .
vi mk.....
Prepend "gdb HelpLinker -args "
to the line and run it as a shell script

The resulting stack trace is (as expected) the same null pointer exception 
that gets printed during the build, not much more information available.
Happens with any input file too, I tried removing all but one files from the 
mk... file to determine whether it's the code or something off in one of the 
files.

> 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.

Tried that, still getting the same error with that (and I've verified the 
script indeed did what it's supposed to).

Best regards,
bero


More information about the Openoffice mailing list