all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Henri Fischer <henri.fischer@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: java.lang.NullPointerException in Emacs but not in terminal
Date: Sun, 26 Apr 2009 03:27:44 -0700 (PDT)	[thread overview]
Message-ID: <d2ddf520-06a9-4c70-b8eb-d12c5231136f@d38g2000prn.googlegroups.com> (raw)

Hi all, I'm learning Java with the help of Head First Java. Using
Emacs GUI. I made three classes for the SimpleDotComGame. When I run
main in Emacs I get the NPE. When I run the code from terminal, it all
works fine. The terminal waits for my input (a String value) and then
proceeds as planned. But when I use the Shell Command to run the code
from Emacs, it doesn't wait for my input, returns null and runs into
the NPE (I guess). Why does my code behave like that in Emacs and not
in terminal?

I currently on "Emacs 22.3.1 (i386-apple-darwin9.6.0, Carbon Version
1.6.0) of 2009-01-03 on seijiz.local".


             reply	other threads:[~2009-04-26 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-26 10:27 Henri Fischer [this message]
2009-04-26 11:46 ` java.lang.NullPointerException in Emacs but not in terminal Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2ddf520-06a9-4c70-b8eb-d12c5231136f@d38g2000prn.googlegroups.com \
    --to=henri.fischer@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.