I got an emacs lisp error in JDE when attempting to display a string. The
string was a Windows style path name.
Environment:
NT 4.0 service pack 5
JDE 2.1.6b11
NTEmacs 20.4.1
cc-mode 5.25
I've attached a bunch of relevant files.
-- Jim
Loading d:/Home/playpen/prj.el (source)...done
Buffer is read-only: #<buffer *Help*>
Mark saved where search started
Quit
Please enter a number.
Debug message:
jde.debugger.JDEException: Parse error in expression. Are you accessing local
variables without compiling with -g?
at jde.debugger.Etc.evaluate(Etc.java:103)
at jde.debugger.GeneralCommands.doEvaluate(GeneralCommands.java:471)
at jde.debugger.Application.handleCommand(Application.java:735)
at jde.debugger.Jdebug.handleAppCommand(Jdebug.java:357)
at jde.debugger.Jdebug.access$1(Jdebug.java:337)
at jde.debugger.Jdebug$1.run(Jdebug.java:215)
Error: could not evaluate ".startsWith("height=")".
Debug message:
jde.debugger.JDEException: Parse error in expression. Are you accessing local
variables without compiling with -g?
at jde.debugger.Etc.evaluate(Etc.java:103)
at jde.debugger.GeneralCommands.doEvaluate(GeneralCommands.java:471)
at jde.debugger.Application.handleCommand(Application.java:735)
at jde.debugger.Jdebug.handleAppCommand(Jdebug.java:357)
at jde.debugger.Jdebug.access$1(Jdebug.java:337)
at jde.debugger.Jdebug$1.run(Jdebug.java:215)
Error: could not evaluate "token.startsWith("height=")".
Debug message:
jde.debugger.JDEException: Parse error in expression. Are you accessing local
variables without compiling with -g?
at jde.debugger.Etc.evaluate(Etc.java:103)
at jde.debugger.GeneralCommands.doEvaluate(GeneralCommands.java:471)
at jde.debugger.Application.handleCommand(Application.java:735)
at jde.debugger.Jdebug.handleAppCommand(Jdebug.java:357)
at jde.debugger.Jdebug.access$1(Jdebug.java:337)
at jde.debugger.Jdebug$1.run(Jdebug.java:215)
Error: could not evaluate ".startsWith("height=")".
Quit [2 times]
<java.lang.String:185>
Please enter a number.
Command attempted to use minibuffer while in minibuffer
Quit [2 times]
Breakpoint set at line 109 in class RunApplet.java.
<java.lang.String:189>
Error: evaluating output from the debugger caused a Lisp error.
Debugger output:
(jde-dbo-command-result
47 (list "java.lang.String" 189 nil "d:\Home\playpen\Animator//")).
Lisp error: (error Invalid escape character syntax)
Wrong type argument: listp, "Lisp error: (error Invalid escape character syntax)"
Loading d:/Home/playpen/Animator/prj.el (source)...
Loading d:/Home/playpen/Animator/prj.el (source)...done
_emacs
prj.el
Signaling: (wrong-type-argument listp "Lisp error: (error Invalid escape character
syntax)")
nth(1 "Lisp error: (error Invalid escape character syntax)")
(equal (nth 1 result) (quote normal))
jde-dbo-command-succeeded-p("Lisp error: (error Invalid escape character syntax)")
(if (jde-dbo-command-succeeded-p result) (nth 3 (car ...))
(jde-dbs-proc-display-debug-message process (format "Error: cannot get string %d.\n
Reason: %s." ... ...)) nil)
(let* ((process ...) (result ...)) (if (jde-dbo-command-succeeded-p result) (nth 3
...) (jde-dbs-proc-display-debug-message process ...) nil))
jde-dbs-get-string([object jde-dbs-get-string "get_string 189" [object jde-dbs-proc
"process4" 4 "RunApplet" 3177 #<buffer RunApplet(4) CLI> #<buffer Process
RunApplet(4)> unbound [object jde-dbs-proc-state-info "State Info 4" "runnable"
"suspended by debugger" 1 "main"] (... ...) #0 #<window-configuration>] 48
"get_string" 189])
apply(jde-dbs-get-string [object jde-dbs-get-string "get_string 189" [object
jde-dbs-proc "process4" 4 "RunApplet" 3177 #<buffer RunApplet(4) CLI> #<buffer Process
RunApplet(4)> unbound [object jde-dbs-proc-state-info "State Info 4" "runnable"
"suspended by debugger" 1 "main"] (... ...) #0 #<window-configuration>] 48
"get_string" 189])
(setq rval (apply (car ...) newargs))
(let ((scoped-class ...)) (setq found t) (setq rval (apply ... newargs)))
(if (car lambdas) (let (...) (setq found t) (setq rval ...)))
(while lambdas (if (car lambdas) (let ... ... ...)) (setq lambdas (cdr lambdas)))
(let ((rval nil) (found nil)) (while lambdas (if ... ...) (setq lambdas ...)) (if
(not found) (signal ... ...)) rval)
(let ((newargs nil) (mclass nil) (lambdas nil) (eieio-generic-call-methodname
method) (eieio-generic-call-arglst args)) (setq newargs args) (if (object-p ...) (setq
mclass ...)) (if (not scoped-class) (setq lambdas ...)) (if mclass (setq lambdas ...))
(if (not scoped-class) (setq lambdas ...)) (if mclass (setq lambdas ...)) (if (not
scoped-class) (setq lambdas ...)) (if mclass (setq lambdas ...)) (let (... ...) (while
lambdas ... ...) (if ... ...) rval))
eieio-generic-call(jde-dbs-cmd-exec ([object jde-dbs-get-string "get_string 189"
[object jde-dbs-proc "process4" 4 "RunApplet" 3177 #<buffer RunApplet(4) CLI> #<buffer
Process RunApplet(4)> unbound [object jde-dbs-proc-state-info "State Info 4"
"runnable" "suspended by debugger" 1 "main"] ... #1 #<window-configuration>] 48
"get_string" 189]))
jde-dbs-cmd-exec([object jde-dbs-get-string "get_string 189" [object jde-dbs-proc
"process4" 4 "RunApplet" 3177 #<buffer RunApplet(4) CLI> #<buffer Process
RunApplet(4)> unbound [object jde-dbs-proc-state-info "State Info 4" "runnable"
"suspended by debugger" 1 "main"] (... ...) #0 #<window-configuration>] 48
"get_string" 189])
(let* ((process ...) (get-string-command ...) (string ...)) (if string
(jde-dbs-proc-display-debug-message ... ...) (error "Could not get object")))
jde-bug-display-string(189)
* call-interactively(jde-bug-display-string)