jde-compile

simon <[email protected]>
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
Hello - Newbie query.

I am using JDE on emacs / windows.
I can run javac from command line no problem.

When try and use compile from the JDE menu it fails to start javac with the 
following : (see below BACTRACE / MESSAGES & .EMACS file)

Thanks very much for your time in this matter

Simon


BACKTRACE ##################

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-nondirectory(nil)
  jde-compile-compiler([object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  apply(jde-compile-compiler [object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  (setq lastval (apply (car ...) newargs))
  (let* ((scoped-class ...) (eieio-generic-call-key ...) (has-return-val ...) 
(eieio-generic-call-next-method-list ...)) (setq found t) (setq lastval 
(apply ... newargs)) (when has-return-val (setq rval lastval rvalever t)))
  (if (car lambdas) (let* (... ... ... ...) (setq found t) (setq lastval ...) 
(when has-return-val ...)))
  (while lambdas (if (car lambdas) (let* ... ... ... ...)) (setq lambdas (cdr 
lambdas) keys (cdr keys)))
  (let ((rval nil) (lastval nil) (rvalever nil) (found nil)) (while lambdas 
(if ... ...) (setq lambdas ... keys ...)) (if (not found) (if ... ... ...)) 
rval)
  (let ((newargs nil) (mclass nil) (lambdas nil) (tlambdas nil) (keys nil) 
(eieio-generic-call-methodname method) (eieio-generic-call-arglst args) 
(firstarg nil) (primarymethodlist nil)) (setq newargs args firstarg (car 
newargs)) (if (and ... ... ... ...) (load ...)) (cond (... ...) (... ...)) 
(when (object-p firstarg) (setq tlambdas ...) (setq lambdas ... keys ...) (setq 
tlambdas ...) (when tlambdas ...) (setq tlambdas ...) (setq lambdas ... 
keys ...)) (when (not lambdas) (setq tlambdas ...) (setq lambdas ... keys ... 
primarymethodlist ...)) (let (... ... ... ...) (while lambdas ... ...) 
(if ... ...) rval))
  eieio-generic-call(jde-compile-run-exec ([object jde-compile-javac-15 "javac 
1.5.x" unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-
exec-buffer "compilation buffer" "*compilation*" #<buffer *compilation*> 
nil ...] #<window 3 on *Backtrace*> nil nil]))
  jde-compile-run-exec([object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  jde-compile-compiler([object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  apply(jde-compile-compiler [object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  (setq lastval (apply (car ...) newargs))
  (let* ((scoped-class ...) (eieio-generic-call-key ...) (has-return-val ...) 
(eieio-generic-call-next-method-list ...)) (setq found t) (setq lastval 
(apply ... newargs)) (when has-return-val (setq rval lastval rvalever t)))
  (if (car lambdas) (let* (... ... ... ...) (setq found t) (setq lastval ...) 
(when has-return-val ...)))
  (while lambdas (if (car lambdas) (let* ... ... ... ...)) (setq lambdas (cdr 
lambdas) keys (cdr keys)))
  (let ((rval nil) (lastval nil) (rvalever nil) (found nil)) (while lambdas 
(if ... ...) (setq lambdas ... keys ...)) (if (not found) (if ... ... ...)) 
rval)
  (let ((newargs nil) (mclass nil) (lambdas nil) (tlambdas nil) (keys nil) 
(eieio-generic-call-methodname method) (eieio-generic-call-arglst args) 
(firstarg nil) (primarymethodlist nil)) (setq newargs args firstarg (car 
newargs)) (if (and ... ... ... ...) (load ...)) (cond (... ...) (... ...)) 
(when (object-p firstarg) (setq tlambdas ...) (setq lambdas ... keys ...) (setq 
tlambdas ...) (when tlambdas ...) (setq tlambdas ...) (setq lambdas ... 
keys ...)) (when (not lambdas) (setq tlambdas ...) (setq lambdas ... keys ... 
primarymethodlist ...)) (let (... ... ... ...) (while lambdas ... ...) 
(if ... ...) rval))
  eieio-generic-call(jde-compile-launch ([object jde-compile-javac-15 "javac 
1.5.x" unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-
exec-buffer "compilation buffer" "*compilation*" #<buffer *compilation*> 
nil ...] #<window 3 on *Backtrace*> nil nil]))
  jde-compile-launch([object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  jde-compile-compiler([object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  apply(jde-compile-compiler [object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  (setq lastval (apply (car ...) newargs))
  (let* ((scoped-class ...) (eieio-generic-call-key ...) (has-return-val ...) 
(eieio-generic-call-next-method-list ...)) (setq found t) (setq lastval 
(apply ... newargs)) (when has-return-val (setq rval lastval rvalever t)))
  (if (car lambdas) (let* (... ... ... ...) (setq found t) (setq lastval ...) 
(when has-return-val ...)))
  (while lambdas (if (car lambdas) (let* ... ... ... ...)) (setq lambdas (cdr 
lambdas) keys (cdr keys)))
  (let ((rval nil) (lastval nil) (rvalever nil) (found nil)) (while lambdas 
(if ... ...) (setq lambdas ... keys ...)) (if (not found) (if ... ... ...)) 
rval)
  (let ((newargs nil) (mclass nil) (lambdas nil) (tlambdas nil) (keys nil) 
(eieio-generic-call-methodname method) (eieio-generic-call-arglst args) 
(firstarg nil) (primarymethodlist nil)) (setq newargs args firstarg (car 
newargs)) (if (and ... ... ... ...) (load ...)) (cond (... ...) (... ...)) 
(when (object-p firstarg) (setq tlambdas ...) (setq lambdas ... keys ...) (setq 
tlambdas ...) (when tlambdas ...) (setq tlambdas ...) (setq lambdas ... 
keys ...)) (when (not lambdas) (setq tlambdas ...) (setq lambdas ... keys ... 
primarymethodlist ...)) (let (... ... ... ...) (while lambdas ... ...) 
(if ... ...) rval))
  eieio-generic-call(jde-compile-compile ([object jde-compile-javac-15 "javac 
1.5.x" unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-
exec-buffer "compilation buffer" "*compilation*" #<buffer *compilation*> 
nil ...] #<window 3 on *Backtrace*> nil nil]))
  jde-compile-compile([object jde-compile-javac-15 "javac 1.5.x" 
unbound "1.5" "c:/Java/jdk1.5.0_06/bin/javac.exe" [object jde-compile-exec-
buffer "compilation buffer" "*compilation*" #<buffer *compilation*> nil 
(lambda ... ...)] #<window 3 on *Backtrace*> nil nil])
  jde-compile()
* call-interactively(jde-compile)


MESSAGES ################
(C:\emacs-21.3\bin\emacs.exe)
Loading c:/emacs-21.3/site-lisp/cedet/common/cedet.el (source)...
"c:/emacs-21.3/site-lisp/cedet/common/" added to `load-path'
Loading cl-macs...done
Setting up cedet...done
Setting up cogre...done
Setting up ede...done
Setting up eieio...done
Setting up semantic...
Loading derived...done
Loading advice...done
Loading regexp-opt...done
Loading mule-util...done
Loading font-lock...done
Loading c:/emacs-21.3/bin/fns-21.3.1.el (source)...done
Loading semantic-idle (source)...done
Setting up semantic...done
Setting up speedbar...done
Setting up cedet-contrib...done
Loading c:/emacs-21.3/site-lisp/cedet/common/cedet.el (source)...done
Defining colors...
Source file `c:/emacs-21.3/site-lisp/jde/lisp/jde-compile.el' newer than byte-
compiled file
jde-java-font-lock: building names cache...empty
Loading view...done
Type C-h for help, h for commands, q to quit.
Loading semantic-el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Unable to load color "silver"
Mark set
Loading wisent-java-tags (source)...done
Loading cl-seq...done
Setting customized JDE variables to startup values...
Loading semantic-edit (source)...done
Loading semanticdb-file (source)...done
Mark set
Loading jde-javadoc...
Setting customized JDE variables to startup values...
Loading jde-javadoc...done
Loading semantic-decorate-mode (source)...done
(No files need saving)
jde-compile-compiler: 
Loading debug...done
Entering debugger...
 [2 times]
(No files need saving)
jde-compile-compiler: Wrong type argument: stringp, nil


.EMACS#######################
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.