When using JDEE (2.2.9beta4) I have the tempo template for generating a new class failing when it it is required to choose from multiple Interfaces. For example:
After using the command: M-x jde-gen-class-buffer I get the usual prompt for file, and then the tempo prompts for package , extends, implements. I enter "Serializable" after the implements prompt and receive the following information in the the minibuffer: Starting the BeanShell. Please wait... and then a JDE Dialog buffer appears with: Select interface to implement. (*) java.io.Serializable ( ) sunw.io.Serializable [Ok] [Cancel] Then the Backtrace buffer appears: Signaling: (wrong-type-argument stringp #<buffer JDE Dialog>) jde-gen-get-interface-implementation() eval((jde-gen-get-interface-implementation)) tempo-insert((jde-gen-get-interface-implementation) nil) #[(elt) "Â \"‡" [elt on-region tempo-insert] 3]((jde-gen-get-interface-implementation)) mapcar(#[(elt) "Â \"‡" [elt on-region tempo-insert] 3] ((funcall jde-gen-boilerplate-function) (jde-gen-get-package-statement) "/**" (quote >) (quote n) " * " (file-name-nondirectory buffer-file-name) (quote >) (quote n) " *" (quote >) (quote n) " *" (quote >) (quote n) " * Created: " (current-time-string) (quote >) (quote n) " *" (quote >) (quote n) " * @author <a href=\"mailto:" (eval user-mail-address) "\">" (user-full-name) "</a>" (quote >) (quote n) " * @version" (quote >) (quote n) " */" (quote >) (quote n) (quote (quote >)) (quote n) "public class " (file-name-sans-extension (file-name-nondirectory buffer-file-name)) " " (jde-gen-get-extend-class) (if jde-gen-k&r nil (quote >) (quote n)) "{" (quote >) (quote n) "public " (file-name-sans-extension (file-name-nondirectory buffer-file-name)) " ()" (if jde-gen-k&r nil (quote >) (quote n)) "{" ... . ((quote >) (quote n) (quote >) (quote p) (quote n) "}" > (quote >) (quote n) (jde-gen-get-interface-implementation) (quote >) (quote n) "}" > "// " (file-name-sans-extension ...) (quote >) (quote n)))) tempo-insert-template(tempo-template-java-class-buffer-template nil) jde-gen-class() jde-gen-class-buffer("c:/Documents/Java/Scratch/TryTempo.java") call-interactively(jde-gen-class-buffer) execute-extended-command(nil) call-interactively(execute-extended-command) I'm using JDK 1.3 on a win2k box. My .emacs is listed below: ;; .emacs - emacs startup file (setq debug-on-error t) (add-to-list 'load-path (expand-file-name "c:/Local/TeX/NTEmacs/site-lisp/jde-2.2.9beta4/lisp")) (add-to-list 'load-path (expand-file-name "c:/Local/TeX/NTEmacs/site-lisp/elib-1.0")) (add-to-list 'load-path (expand-file-name "c:/Local/TeX/NTEmacs/site-lisp/speedbar-0.14beta1")) (add-to-list 'load-path (expand-file-name "c:/Local/TeX/NTEmacs/site-lisp/eieio-0.17beta3")) (add-to-list 'load-path (expand-file-name "c:/Local/TeX/NTEmacs/site-lisp/semantic-1.4beta11")) (custom-set-variables '(jde-compile-option-classpath '("." "c:/Java/Classes/")) '(jde-compile-option-debug '("all" (t nil nil))) '(jde-compile-option-directory "c:/Java/Classes/") '(jde-run-option-classpath '("c:/Java/Classes/"))) (require 'overlay-fix) (require 'jde) Note: I do not have failure when implementing other interfaces, which are unique, such as "Cloneable".