--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: libgcj7-0: Throws NullPointerException in javax.xml.parsers.SAXParser.parse
- From: Marcus Husar <mail@marcus-husar.de>
- Date: Fri, 10 Nov 2006 20:18:59 +0100
- Message-id: <4554D0A3.1030403@marcus-husar.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: libgcj7-0
Version: 4.1.1-17
Severity: important
*** Please type your report below this line ***
The method in parse() ind javax.xml.parsers.SAXParser throws a
NullPointerException. The problem only occurs when I compile a binary
of my application.
Exception in thread "main" java.lang.NullPointerException
at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.70)
at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.70)
at gnu.java.nio.channels.FileChannelImpl.create(libgcj.so.70)
at java.io.FileInputStream.<init>(libgcj.so.70)
at javax.xml.parsers.SAXParser.parse(libgcj.so.70)
at lemming.rule.RuleReader.<init>(Lemming)
at Lemming.main(Lemming)
If I build a jar of the application, I have no problems with
gcj/gij. Sun's SDK has no problems, too.
A few days ago I even had no problems with the application compiled as a
binary. There have been a few updates of gcj and libgcj the last
days. Perhaps this is the problem.
===
I have an older version of my application as binary. The binary still
works without problems. If I compile a new binary of the same code,
the same fault as above occurs.
Perhaps not libgcj is the problem, it could be gcj, too.
Debian Release: 4.0
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2-1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libgcj7-0 depends on:
ii gcj-4.1-base 4.1.1-17 The GNU Compiler Collection
(gcj b
ii libasound2 1.0.13-1 ALSA library
ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-19 GCC support library
ii libgcj-common 1:4.1.1-19 Java runtime library
(common files
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages libgcj7-0 recommends:
ii libgcj7-jar 4.1.1-17 Java runtime library for
use with
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFVNCjAdmUVGnNrfMRAmwgAJ92GXfcRrlk5Z+eW/+bPLO13pnIngCffEco
9j5WUGw65I3bJP4TkOKX9lA=
=VUYd
-----END PGP SIGNATURE-----
--- End Message ---