Package: jde
Version: 2.3.5.1-5
Severity: normal

Using Emacs23, when you compile a program in JDE (using C-c C-v C-c),
you get the error:

  wrong-type-argument number-or-marker-p "0"

jde-compile falls over when compilation is finished and goes into the
debugger if debug-on-error is enabled.

More information:  
   http://blog.grumblesmurf.org/2008/05/bug-in-jdee-with-cvs-emacs.html


This can be fixed with the following patch applied to jde/beanshell.el

--- beanshell.el~       2008-07-09 19:59:33.000000000 -0400
+++ beanshell.el        2009-11-25 15:00:43.000000000 -0500
@@ -341,7 +341,7 @@
 
               (insert output)
               (compilation-handle-exit 
-               'exit status
+               'exit (string-to-number status)
                (if (string= "0" status)
                    "finished\n"
                  (format "exited abnormally with code %s\n"


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages jde depends on:
ii  bsh                          2.0b4-10    Java scripting environment (BeanSh
ii  cedet-contrib                1:1.0pre4-3 Collection of Emacs Development En
ii  cogre                        1:1.0pre4-3 Connected Graph Editor
ii  eieio                        1:1.0pre4-3 Enhanced Implementation of Emacs I
ii  elib                         1.0-11.1    Library of commonly-used Emacs fun
ii  emacs23 [emacsen]            23.1+1-4    The GNU Emacs editor (with GTK+ us
ii  emacsen-common               1.4.19      Common facilities for all emacsen
ii  java-common                  0.33        Base of all Java packages
ii  semantic                     1:1.0pre4-3 Parser Infrastructure for Emacsen
ii  speedbar                     1:1.0pre4-3 Everything browser, or Dired on st

Versions of packages jde recommends:
ii  ecb                       2.32-1         code browser for Emacs supporting 
ii  gcj                       4:4.3.3-9+nmu1 The GNU Java compiler (transitiona
ii  gcj-4.3 [java-compiler]   4.3.4-4        The GNU compiler for Java(TM)
ii  gcj-4.4-jre-headless [jav 4.4.1-6        Java runtime environment using GIJ
ii  gcj-jdk [java-compiler]   4:4.3.3-9+nmu1 gcj and classpath development tool
ii  gcj-jre-headless [java-vi 4:4.3.3-9+nmu1 Java runtime environment using GIJ
ii  gij                       4:4.3.3-9+nmu1 The GNU Java bytecode interpreter 
ii  gij-4.3 [java-virtual-mac 4.3.4-4        The GNU Java bytecode interpreter
ii  java-gcj-compat [java-vir 1.0.80-5.1     Java runtime environment using GIJ
ii  java-gcj-compat-headless  1.0.80-5.1     Java runtime environment using GIJ
ii  openjdk-6-jdk [java-compi 6b16-4         OpenJDK Development Kit (JDK)
ii  openjdk-6-jre-headless [j 6b16-4         OpenJDK Java runtime, using Hotspo
ii  sun-java5-jdk [java-compi 1.5.0-19-1     Sun Java(TM) Development Kit (JDK)
ii  sun-java5-jre [java-virtu 1.5.0-19-1     Sun Java(TM) Runtime Environment (
ii  sun-java6-jdk [java-compi 6-16-1         Sun Java(TM) Development Kit (JDK)
ii  sun-java6-jre [java-virtu 6-16-1         Sun Java(TM) Runtime Environment (

Versions of packages jde suggests:
ii  ant                           1.7.1-4    Java based build tool like make
ii  checkstyle                    4.4+dfsg-4 checks Java source against a codin
pn  libtomcat5.5-java             <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to