gjdoc --version fails with NullPointerException

Bug #385682 reported by Alexander Sack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.4 (Ubuntu)
Fix Released
High
Matthias Klose
gcc-defaults (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

in karmic, gjdoc shipped by gcj-jdk fails with NullPointerException. This blocks building classpath 0.98, e.g.:
gjdoc --version
java.lang.NullPointerException
   at java.io.InputStreamReader.read(libgcj.so.10)
   at java.io.BufferedReader.fill(libgcj.so.10)
   at java.io.BufferedReader.readLine(libgcj.so.10)
   at java.util.Properties.load(libgcj.so.10)
   at java.util.Properties.load(libgcj.so.10)
   at gnu.classpath.tools.gjdoc.Main.getGjdocVersion(libgcj-tools.so.10)
   at gnu.classpath.tools.gjdoc.Main.start(libgcj-tools.so.10)
   at gnu.classpath.tools.gjdoc.Main.main(libgcj-tools.so.10)

Revision history for this message
Alexander Sack (asac) wrote :

pragmatic/minimal patch until someone finds time to transition to new Parser thing. Not yet tested, will do that next.

description: updated
Changed in gcj-4.4 (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Alexander Sack (asac) wrote :

i think we also need to update gcc-defaults once the gcj-4.4 fix is in.

Revision history for this message
Alexander Sack (asac) wrote :

rather gcc-4.4 source.

affects: gcj-4.4 (Ubuntu) → gcc-4.4 (Ubuntu)
Matthias Klose (doko)
Changed in gcc-4.4 (Ubuntu):
assignee: nobody → Matthias Klose (doko)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-4.4 - 4.4.0-6ubuntu1

---------------
gcc-4.4 (4.4.0-6ubuntu1) karmic; urgency=low

  * Merge with Debian; remaining changes:
    - Build from VCS, including FDL documents.

gcc-4.4 (4.4.0-6) unstable; urgency=low

  [ Matthias Klose ]
  * Update to SVN 20090612 from the gcc-4_4-branch (r148433).
    - Fixes PR c++/38064, PR c++/40139, PR target/40017, PR target/40266,
      PR bootstrap/40027, PR tree-optimization/40087, PR target/39856,
      PR rtl-optimization/40105, PR target/39942, PR middle-end/40204,
      PR debug/40109, PR tree-optimization/39999, PR libfortran/37754,
      PR fortran/22423, PR libfortran/39667, PR libfortran/39782,
      PR libfortran/38668, PR libfortran/39665, PR libfortran/39702,
      PR libfortran/39709, PR libfortran/39665i, PR libgfortran/39664,
      PR fortran/38654, PR libfortran/37754, PR libfortran/37754,
      PR libfortran/25561, PR libfortran/37754, PR middle-end/40291,
      PR target/40017, PR middle-end/40340, PR c++/40308, PR c++/40311,
      PR c++/40306, PR c++/40307, PR c++/40370, PR c++/40372, PR c++/40373,
      PR c++/40381, PR fortran/40019, PR fortran/39893.
  * gcj-4.4-jdk: Depend on libecj-java-gcj instead of libecj-java.
  * Let gjdoc --version use the Configuration class instead of
    version.properties (Alexander Sack). LP: #385682.
  * Preserve libgcc_s.so linker scripts. Closes: #532263.

  [Ludovic Brenta]
  * debian/patches/ppc64-ada.dpatch,
    debian/patches/ada-mips.dpatch,
    debian/patches/ada-mipsel.dpatch: remove, merged upstream.
  * debian/patches/*ada*.dpatch:
    - rename to *.diff;
    - remove the dpatch prologue shell script
    - refresh with quilt -p ab and without time stamps
    - adjust to GCC 4.4
  * debian/patches/ada-library-project-files-soname.diff,
    debian/patches/ada-polyorb-dsa.diff,
    debian/patches/pr39856.diff: new.
  * debian/rules.patch: adjust accordingly.
  * debian/rules.defs: re-enable Ada.
  * debian/rules2: do a lean bootstrap when building Ada.
  * debian/rules.d/binary-ada.mk: do not build gnatbl or gprmake anymore,
    removed upstream.

 -- Matthias Klose <email address hidden> Fri, 12 Jun 2009 15:45:50 -0400

Changed in gcc-4.4 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Alexander Sack (asac) wrote :

proper patch for upstream that doesn't change API. Already upstreamed through mail

Changed in gcc-defaults (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.