Mark Wielaard wrote:
> On Sun, 2009-06-21 at 16:46 +0100, Andrew Haley wrote:
>> Sam Ruby wrote:
>>> I'm trying to develop a JAXP implementation using CNI, but I get a
>>> NullPointerException when I try to get a DOMImplementation. I've
>>> attached a small script (tested on Ubuntu 9.04) which demonstrates the
>>> Any help would be appreciated.
>> Congratulations on this excellent test case. Next time I want to tell
>> people how to do it right, I'll point them at your posting.
>> However, I get
>> $ sh ~/testdomimpl.sh
>> $ gcj --version
>> gcj (GCC) 4.4.0 20090307 (Red Hat 4.4.0-0.23)
> I get the same with that version of gcj.
> But on an older gcj installation:
> gcj (Debian 4.3.2-2) 4.3.2
> at java.io.PrintStream.println(PrintStream.java:473)
> That is somewhat strange since that method seems fine:
> public void println (Object obj)
> print(obj == null ? "null" : obj.toString(), true);
> So maybe just upgrading to a newer Fedora and gcc 4.4 will be the
> solution, although I don't completely get what goes wrong on the old
I have no problem with 4.3 either. I think this may be an install
problem or some sort of library path problem.
If you can point me to a failure I can debug I'll have a look.