unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* jde wrong type argument
@ 2004-11-08 22:09 Christian Schneiker
  2004-11-09 11:21 ` Kai Grossjohann
       [not found] ` <mailman.1614.1099999847.8225.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Schneiker @ 2004-11-08 22:09 UTC (permalink / raw)


hello all,

I'm an emacs newbie and I want to run the jde for emacs.
When I want to start jde-mode I get this error:
Wrong type argument: keymapp, nil

oh..I'm running gentoo with emacs-21.3.50 and jde-2.3.3
on my laptop it runs perfectly with same .emacs conf-file.

thanks for help

christian schneiker

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: jde wrong type argument
  2004-11-08 22:09 jde wrong type argument Christian Schneiker
@ 2004-11-09 11:21 ` Kai Grossjohann
       [not found] ` <mailman.1614.1099999847.8225.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Kai Grossjohann @ 2004-11-09 11:21 UTC (permalink / raw)


Christian Schneiker <morran@gmx.de> writes:

> I'm an emacs newbie and I want to run the jde for emacs.
> When I want to start jde-mode I get this error:
> Wrong type argument: keymapp, nil
>
> oh..I'm running gentoo with emacs-21.3.50 and jde-2.3.3
> on my laptop it runs perfectly with same .emacs conf-file.

Please M-x toggle-debug-on-error RET, then provoke the error again.
You should get a backtrace.  If it contains gibberish (aka,
byte-code), then look below the gibberish for the function that is
invoked, say foo.  Then do C-h f foo RET to see which file the
function comes from (say bar).  Then do M-x load-library RET bar.el
RET (the .el bit is important).  Then provoke the error again.  Now
you should get a backtrace with less, or at least different,
gibberish.  Lather, rinse, repeat.

Post the backtrace.

Thanks,
Kai

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: jde wrong type argument
       [not found] ` <mailman.1614.1099999847.8225.help-gnu-emacs@gnu.org>
@ 2004-11-09 15:28   ` Christian Schneiker
  2004-11-09 15:33     ` Christian Schneiker
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Schneiker @ 2004-11-09 15:28 UTC (permalink / raw)


Kai Grossjohann wrote:

> Please M-x toggle-debug-on-error RET, then provoke the error again.
> You should get a backtrace. 

ok..here is my backtrace...

Debugger entered--Lisp error: (wrong-type-argument keymapp nil)
  signal(wrong-type-argument (keymapp nil))
  define-key-after(nil [jde-new] ("JDE New" keymap "JDE New" (class\.\.\.
menu-item "Class..." jde-gen-class-buffer) (interface\.\.\. menu-item
"Interface..." jde-gen-interface-buffer) (console\.\.\. menu-item
"Console..." jde-gen-console-buffer) (eJB menu-item "EJB" (keymap
"EJB" ... ...)) (other\.\.\. menu-item "Other..." jde-gen-buffer))
open-file)
  (let* ((mb ...) (files ...) (menu ...) (menu-name ...)) (define-key-after
(cdr ...) [jde-new] (cons menu-name menu) (quote open-file)))
  (if jde-xemacsp (unless (featurep ...) (when ... ...)) (let*
(... ... ... ...) (define-key-after ... [jde-new] ... ...)))
  (lambda (sym val) (set-default sym val) (if jde-xemacsp (unless ... ...)
(let* ... ...)))(jde-new-buffer-menu ("JDE New" ["Class..."
jde-gen-class-buffer t] ["Interface..." jde-gen-interface-buffer t]
["Console..." jde-gen-console-buffer t] ("EJB" ["Session Bean"
jde-ejb-session-bean-buffer t] ["Entity Bean" jde-ejb-entity-bean-buffer
t]) ["Other..." jde-gen-buffer t]))
  custom-initialize-reset(jde-new-buffer-menu (list "JDE New" ["Class..."
jde-gen-class-buffer t] ["Interface..." jde-gen-interface-buffer t]
["Console..." jde-gen-console-buffer t] (list "EJB" ["Session Bean"
jde-ejb-session-bean-buffer t] ["Entity Bean" jde-ejb-entity-bean-buffer
t]) ["Other..." jde-gen-buffer t]))
  custom-declare-variable(jde-new-buffer-menu (list "JDE New" ["Class..."
jde-gen-class-buffer t] ["Interface..." jde-gen-interface-buffer t]
["Console..." jde-gen-console-buffer t] (list "EJB" ["Session Bean"
jde-ejb-session-bean-buffer t] ["Entity Bean" jde-ejb-entity-bean-buffer
t]) ["Other..." jde-gen-buffer t]) "*The JDE New buffer menu" :group
jde-project :type sexp :set (lambda (sym val) (set-default sym val) (if
jde-xemacsp (unless ... ...) (let* ... ...))))
  (defcustom jde-new-buffer-menu (list "JDE New" ["Class..."
jde-gen-class-buffer t] ["Interface..." jde-gen-interface-buffer t]
["Console..." jde-gen-console-buffer t] (list "EJB" ["Session Bean"
jde-ejb-session-bean-buffer t] ["Entity Bean" jde-ejb-entity-bean-buffer
t]) ["Other..." jde-gen-buffer t]) "*The JDE New buffer menu" :group (quote
jde-project) :type (quote sexp) :set (quote (lambda ... ... ...)))
  eval-buffer(#<buffer  *load*> nil "jde" nil t)
  ;;; Reading at buffer position 43273
  load-with-code-conversion("/usr/share/emacs/site-lisp/jde/lisp/jde.el"
"jde" nil nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

I hope this is enough information... 

> Thanks,
> Kai


Thanks, 
Christian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: jde wrong type argument
  2004-11-09 15:28   ` Christian Schneiker
@ 2004-11-09 15:33     ` Christian Schneiker
  2004-11-10 12:04       ` Kai Grossjohann
       [not found]       ` <mailman.1868.1100088856.8225.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Schneiker @ 2004-11-09 15:33 UTC (permalink / raw)


Christian Schneiker wrote:

> Kai Grossjohann wrote:
> 
>> Please M-x toggle-debug-on-error RET, then provoke the error again.
>> You should get a backtrace.
> 
> ok..here is my backtrace...
>
..
 ok I'm very sorry ;-)
It gives me now;
Symbols function definition is void: jde-find-project-file

Christian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: jde wrong type argument
  2004-11-09 15:33     ` Christian Schneiker
@ 2004-11-10 12:04       ` Kai Grossjohann
       [not found]       ` <mailman.1868.1100088856.8225.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Kai Grossjohann @ 2004-11-10 12:04 UTC (permalink / raw)


Christian Schneiker <morran@gmx.de> writes:

> Christian Schneiker wrote:
>
>> Kai Grossjohann wrote:
>> 
>>> Please M-x toggle-debug-on-error RET, then provoke the error again.
>>> You should get a backtrace.
>> 
>> ok..here is my backtrace...
>>
> ..
>  ok I'm very sorry ;-)
> It gives me now;
> Symbols function definition is void: jde-find-project-file

If you get one error message now, and a completely different one
later, then this means that something really strange is going on.

jde-find-project-file is defined in jde-project-file.el or
jde-project-file.elc -- do you have one of these two files?  Does it
help to M-x load-library RET jde-project-file RET?

Type C-h v load-path RET and go through the list of directories it
shows.  Does the list contain the directories where
jde-project-file.el or jde-project-file.elc is?

Kai

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: jde wrong type argument
       [not found]       ` <mailman.1868.1100088856.8225.help-gnu-emacs@gnu.org>
@ 2004-11-10 17:28         ` Christian Schneiker
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Schneiker @ 2004-11-10 17:28 UTC (permalink / raw)


hello again,
it seems to be only a problem with emacs-cvs-21.3.50. I've emerged
emacs-21.3-r3 from the gentoo portage and now it works fine...

Thanks at all,
Christian

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-10 17:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-08 22:09 jde wrong type argument Christian Schneiker
2004-11-09 11:21 ` Kai Grossjohann
     [not found] ` <mailman.1614.1099999847.8225.help-gnu-emacs@gnu.org>
2004-11-09 15:28   ` Christian Schneiker
2004-11-09 15:33     ` Christian Schneiker
2004-11-10 12:04       ` Kai Grossjohann
     [not found]       ` <mailman.1868.1100088856.8225.help-gnu-emacs@gnu.org>
2004-11-10 17:28         ` Christian Schneiker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).