I downloaded jde 2.1.5 and it seems to be better, I can override
methods,
but the implement interface seems a little flakey (import lines are
inserted within the class, this seems to be fixed by adding newlines
after the class close brace. This looked better in 2.1.2) 

implementing java.io.Serializable (no methods?) still gives the same
internal error.(End of stream: #<INTERNAL EMACS BUG (lisp-string
lstream) 0x0x8711e00> althought sometimes it looks a bit friendlier: 
End of stream: "internal input stream")

Finally worked out how to get a backtrace, hope this helps:

  # bind (standard-output stack-trace-on-signal debug-on-signal stack-trace-on-error 
debug-on-error)
  read("")
  (eval (read bsh-tq-reply))
)

  (if eval-return (eval (read bsh-tq-reply)) bsh-tq-reply)
)
  # bind (comint-filter bsh-process)
  (let* ((bsh-process ...) (comint-filter ...)) (setq bsh-tq-reply nil) 
(set-process-filter bsh-process (quote bsh-eval-filter)) (process-send-string 
bsh-process (concat expr "\n")) (if (not ...) (message "No reply from BeanShell")) 
(set-process-filter bsh-process comint-filter) (if eval-return (eval ...) 
bsh-tq-reply))
)
  # bind (eval-return expr)
  bsh-eval("jde.wizards.InterfaceFactory.makeInterface(\"java.io.Serializable\", true, 
true, false);" t)
  # bind (java-statement)
  bsh-eval-r("jde.wizards.InterfaceFactory.makeInterface(\"java.io.Serializable\", 
true, true, false);")
  # bind (nl-brace-p)
  (let* ((nl-brace-p ...) (code ...)) (if code (let ... ... ... ...)))
)
  # (condition-case ... . ((error (message "%s" ...))))
  (condition-case err (let* (... ...) (if code ...)) (error (message "%s" ...)))
)
  # bind (interface-name)
  jde-wiz-implement-interface("java.io.Serializable")
  # bind (command-debug-status)
  call-interactively(jde-wiz-implement-interface)
  # (condition-case ... . error)
  # (catch top-level ...)

Phillip Lord writes:
 > 
 >        
 >   Matthew> Cheers.
 > 
 >   Matthew>  I've set debug-on-error, but get nothing more.  But here's
 >   Matthew> something new, the first time I try override method wizard
 >   Matthew> in a session, I get the following:
 > 
 >   Matthew> Internal error: lstream not open: #<INTERNAL EMACS BUG
 >   Matthew> (filedesc lstream) 0x0x8255b00>
 > 
 >   Matthew> which could be related to problems in java native
 >   Matthew> threads...  (Xemacs 20.4 btw.)
 > 
 >   Matthew> FWIW, here's my .emacs and prj.el
 > 
 > 
 >         Hmmm. Well Im afraid this is outside my knowledge, as I
 > dont have an xemacs to try it out on. One thing that I would suggest
 > though is if you are using jde2.1.2 we are up to 2.1.6 (in beta!)
 > now, which has quite a lot of bug fixes and enhancements. I would
 > suggest that you try upgrading to this. The current 2.1.6 beta is
 > fairly stable, with the exception of the new debugger. Its still very
 > useful without that however so worth having for some of the new
 > commands. 
 > 
 > 
 >        Good luck....
 > 
 >        Phil

Reply via email to