At 01:12 PM 2/3/00 +0100, you wrote:
>>>>>> "Paul" == Paul Kinnucan <[EMAIL PROTECTED]> writes:
>
>    Paul> At 04:29 PM 2/2/00 +0100, you wrote:
>    >>>>>>> "Paul" == Paul Kinnucan <[EMAIL PROTECTED]> writes:
>    >> 
>    Paul> At 10:11 AM 2/2/00 +0100, Dr. Volker Zell wrote:
>    >> >>>>>>> "Nascif" == Nascif Abousalh-Neto <[EMAIL PROTECTED]> 
>    >> writes:
>    >> >> 
>    Nascif> Hi,
>    Nascif> I'm trying to use the JDEbug on 2.1.6beta16, NTEmacs 20.4.1,
>    Paul> Windows NT 4.
>    >> >> 
>    Nascif> When I try to debug an application I get the following error:
>    >> >> 
>    Nascif> *** Debugger Output for Process TOMExample(2) ***
>    >> >> 
>    Nascif> Error: debugger unable to launch TOMExample.
>    Nascif> Reason: VM initialization failed for:
>    Paul> c:/jdk1.2.2/jre^Hinjavaw -Xdebug
>    >> >> 
>    >> >> 
>    Nascif> Looks like there is some confusion between UNIX and DOS style
>    Paul> slashes when
>    Nascif> JDE tries to use the jde-bug-jre-home variable to generate the
>    Paul> name of the
>    Nascif> VM. I'm using bash, is there any assumption in the code that
>    Paul> the user will
>    Nascif> use a DOS shell to launch the VM?
>    >> >> 
>    >> >> 
>    >> >> I get the exact same error with cygnus-Xemacs running on Win-NT-SP3 
>    >> using
>    Paul> bash as my shell.
>    >> >> Is anybody out there who is running Jdebug succesfully under 
>cygnus and
>    Paul> Xemacs ???
>    >> >> 
>    >> 
>    Paul> I'll ask you the same question I asked Nascif: did you include the 
>    >> JPDA bin
>    Paul> directory in your system's command path?
>    >> 
>    >> Yes
>    >> 
>
>    Paul> If you would like me to help you solve this problem, please try 
>again to
>    Paul> launch your application. When you get the error message, use
>    JDE-> Help->Submit Bug Report to generate a snapshot of your system and
>    Paul> forward the snapshot to me. It is imperative that the snapshot 
>includes the
>    Paul> contents of the *JDEbug* buffer.
>
>Ok it works now, my problem was that my exec-path was hardcoded and the 
>jdpa-bin directory
>was not there.
>
>But now I have other problems: (I'm using the latest jde version beta 17)
>
>
>1.)
>
>When I first want to overid a method after visiting a buffer I get the 
>following:
>
>   Setting JDE variables to startup values...
>   Quit
>   Starting the BeanShell. Please wait...
>   Symbol's value as variable is void: BeanShell
>
>The second time it works.
>

This is a beanshell startup problem that occurs on Unix systems and
apparently on Cygnus executables on Windows. The fix on Unix systems is to
increase bsh-startup-timeout. This should work for Cygnus, assuming that
the Cygnus build for Emacs does not return windows-nt as the value for
system-type.


>2.)
>
>When I type C-c C-v C-f
>and enter lets say: Serializable I get
>
>   Error: could not find interface named: Serializable. Note: name must be 
>qualified.
>
>as expected, because it's not qualified
>but when entering java.io.Serializable I get
>
>   End of stream: "internal input stream"
>
>This used to work in beta16.
>

Are you sure? Nothing has changed in the jde-wiz.el code so you should have
gotten an error previously. The problem is tha java.io.Serializable is a
built-in interface without any methods. I get the same error when you try
to implement java.lang.Cloneable, which is another built-in, methodless
interface. Anyway, the wizard needs to be updated to handle these special
cases. Thanks for reporting this.


>3.)
>
>When trying to complete on a handle with C-c C-v C-. I get

What is a "handle?" I'm not familiar with that term in a Java context.

Could you please send me the exact code you are trying to complete when
this error occurs.

Completion seems to work fine on my system.

- paul

>
>  Wrong type argument: sequencep, 0
>
>This used to work also on beta16.

C

>Here is the stacktrace:
>
>Signaling: (wrong-type-argument sequencep 0)
>  concat("lst[" 0 "]=\"" "java.lang." "\";\n")
>  (lambda (x) (setq count (+ 1 count)) (concat "lst[" count "]=\"" (car ...) 
>"\";\n"))(("java.lang." "*"))
>  mapconcat((lambda (x) (setq count (+ 1 count)) (concat "lst[" count "]=\"" 
>(car ...) "\";\n")) (("java.lang." "*")) " ")
>  (let ((count -1)) (mapconcat (function ...) import " "))
>)
>  (concat "{ " "String[] lst = new String[" (length import) "];\n" (let 
>(...) (mapconcat ... import " ")) "jde.util.Completion.getClassInfo(\"" name 
>"\",lst);\n" "}")
>)
>  (save-excursion (concat "{ " "String[] lst = new String[" (length import) 
>"];\n" (let ... ...) "jde.util.Completion.getClassInfo(\"" name "\",lst);\n" 
>"}"))
>)
>  jde-complete-get-classinfo-javacode("String" (("java.lang." "*")))
>  (bsh-eval (jde-complete-get-classinfo-javacode name guessed))
>)
>  (setq result (bsh-eval (jde-complete-get-classinfo-javacode name guessed)))
>)
>  (if (not (null name)) (setq result (bsh-eval ...)))
>)
>  (if (stringp guessed) (setq result (bsh-eval ...)) (if (not ...) (setq 
>result ...)))
>)
>  (let ((guessed ...) result) (if (stringp guessed) (setq result ...) (if 
>... ...)) (if (not ...) (eval ...) nil))
>)
>  jde-complete-get-classinfo("String")
>  (setq classinfo (jde-complete-get-classinfo vtype))
>)
>  (progn (setq classinfo (jde-complete-get-classinfo vtype)) (setq fulllist 
>(jde-complete-build-completion-list classinfo)) (setq 
>jde-complete-current-list (jde-complete-find-all-completions ... fulllist)) 
>(setq jde-complete-current-list-index -1) (jde-complete-complete-cycle))
>)
>  (if (not (null vtype)) (progn (setq classinfo ...) (setq fulllist ...) 
>(setq jde-complete-current-list ...) (setq jde-complete-current-list-index 
>-1) (jde-complete-complete-cycle)) (message (format "Can't find any 
>declaration for `%s'!" ...)))
>)
>  (progn (setq vtype (jde-complete-declared-type-of ...)) (if (not ...) 
>(progn ... ... ... ... ...) (message ...)))
>)
>  (if (not (null pair)) (progn (setq vtype ...) (if ... ... ...)) (message 
>"No completion at this point."))
>)
>  (let* ((pair ...) vtype classinfo fulllist) (setq 
>jde-complete-current-list nil) (if (not ...) (progn ... ...) (message "No 
>completion at this point.")))
>)
>  (if (and (not ...) (markerp jde-complete-current-beginning) (markerp 
>jde-complete-current-end) (marker-position jde-complete-current-beginning) 
>(marker-position jde-complete-current-end) (>= ... ...) (<= ... ...) (eq 
>last-command this-command)) (progn (jde-complete-complete-cycle)) (let* (... 
>vtype classinfo fulllist) (setq jde-complete-current-list nil) (if ... ... 
>...)))
>)
>  (lambda nil "Smart-complete the method at point." (interactive) (if (and 
>... ... ... ... ... ... ... ...) (progn ...) (let* ... ... ...)))()
>  call-interactively(jde-complete-at-point)
>
>
>    Paul> - Paul
>
>Ciao
>  Volker
>
>-- 
>___________________________________________________________________________
>
>   "Is a dream a lie if it don't come true or is it something worse ..."
>
>                                              Dr. Volker Zell
>      __ /  _  /  __  / ___/  /    ___/       -- Senior Dozent --
>     /  /  /__/  /_  / /     /    __/         Gesch�ftsstelle D�sseldorf
>   ____/__/ _|__/ __/____/ ____/____/         Hamborner Str. 51
>                                              D-40472 D�sseldorf
>   e-Mail: mailto:[EMAIL PROTECTED]
>   WWW:    http://trgsund5.de.oracle.com/
>   Tel:    (+49) 211-74839-414                   
>   Fax:    (+49) 211-74839-44
>___________________________________________________________________________

Reply via email to