Google Answers Logo
View Question
 
Q: java messages ( No Answer,   2 Comments )
Question  
Subject: java messages
Category: Computers
Asked by: sammyt-ga
List Price: $4.00
Posted: 07 Dec 2002 12:33 PST
Expires: 06 Jan 2003 12:33 PST
Question ID: 120961
I get the following sequence in my java messages window very often
(like 100 times a day), what does it mean?:
Failed to start Ident daemon or it has already running.
12/6/2002 @ 10:44:29
Failed to start Ident daemon or it has already running.
12/6/2002 @ 13:25:50
Failed to start Ident daemon or it has already running.
12/6/2002 @ 16:43:58
Very often it is prededed by this sequence, which I also do not
understand:
JNI panic: JNI received a null class
	at com.apple.mrj.protocol.www.URLConnection.openInputStreamAtomic(URLConnection.java)
	at com.apple.mrj.protocol.www.URLConnection.connect(URLConnection.java)
	at com.apple.mrj.protocol.www.http.HTTPURLConnection.connect(HTTPURLConnection.java)
	at com.apple.mrj.protocol.www.URLConnection.getInputStream(URLConnection.java)
	at java.net.URL.openStream(URL.java)
	at com.apple.mrj.JManager.JMAppletResourceLoader.loadJar(JMAppletResourceLoader.java)
	at com.apple.mrj.JManager.JMAppletViewer_OLD.doLoadCode(JMAppletViewerOld.java)
	at com.apple.mrj.JManager.JMAppletViewer_OLD.setState(JMAppletViewerOld.java)
	at com.apple.mrj.JManager.JMViewerEvent.post(JMAppletViewerOld.java)
	at com.apple.mrj.JManager.AVDispatcherThread.run(JMAppletViewerOld.java)
JNI panic: JNI received a null class
	at com.apple.mrj.protocol.www.URLConnection.openInputStreamAtomic(URLConnection.java)
	at com.apple.mrj.protocol.www.URLConnection.connect(URLConnection.java)
	at com.apple.mrj.protocol.www.http.HTTPURLConnection.connect(HTTPURLConnection.java)
	at com.apple.mrj.protocol.www.URLConnection.getInputStream(URLConnection.java)
12/6/2002 @ 10:18:23

Request for Question Clarification by bio-ga on 07 Dec 2002 15:13 PST
Hi,

Can you please clarify what do you mean by "java messages window"? Is
it the Java console of Internet Explorer or something else?

Also, are you using a PC or a Macintosh?

Thanks.

Request for Question Clarification by supermacman-ga on 07 Dec 2002 15:50 PST
(I'm assuming you're running Mac OS X)

Although Sun (maker of Java) likes to say otherwise, Java is anything
but perfectly cross-platform. It usually has to do with the virtual
machine. Apple uses its own virtual machine that works quite well, but
is somewhat outdated (I believe OS X's VM is Java 1.3.1, while the
latest version of Java is 1.4). Some applets out there are written for
Java 1.4 and may cause numerous error messages when run. These errors
are not displayed within the user interface but are written to the
Java Messages Log.

Were you running an applet when you received these errors? Does the
applet work?

Clarification of Question by sammyt-ga on 07 Dec 2002 16:12 PST
In response to bio-ga:
these appear in the window for "view Java messages" in internet explorer.
I am using macintosh os 9.01

Clarification of Question by sammyt-ga on 07 Dec 2002 16:15 PST
in response to supermacman-ga:
I'm  running Mac os 9.01
I have no idea if "I" was trtying to run an applet, but it wouldn't
surprise me that one of the programs I was running is trying to do so.
I have all sorts of programming language weirdness that appears in my
machine that I have no idea what it means, but appears unusual to me
and to many of my computer-savey friends.  this example is the least
of it.

Request for Question Clarification by supermacman-ga on 08 Dec 2002 06:25 PST
Are you using 9.01 or 9.1? Well anyway, both of them are rather old..
Apple may have updated their Java VM when they released Mac OS 9.2.1
and 9.2. I suggest you download those updates:
http://docs.info.apple.com/article.html?artnum=75288
(I'm not certain it will work, though!)

Clarification of Question by sammyt-ga on 08 Dec 2002 11:29 PST
in response to supermacman,
'I am  currently using Mac OS 9.0.4. But soon I will upgrade to Mac OS
X. It will be interesting to see if these alterts cease after that.

Clarification of Question by sammyt-ga on 10 Dec 2002 20:24 PST
in response to supermacman-
I'm not so interested in stopping the error messages, as far as I can
tell, there's nothing I'm trying to do that I can't do.  I'm more
interested in knowing what these messages MEAN.  In other words,
what's going on? I'd like to be able to "translate" the java messages
in order to more fully understand what the activity stream is about.
Answer  
There is no answer at this time.

Comments  
Subject: Re: java messages
From: supermacman-ga on 10 Dec 2002 19:29 PST
 
OS X uses a newer version of Java. It may address the error messages that you get.
Subject: Re: java messages
From: knowtech-ga on 14 Dec 2002 15:16 PST
 
I can help you interpret some of this.

- Failed to start Ident daemon or it has already running.

The "Ident daemon" is a process that can on your computer and identify
you to anyone on the internet.  See
ftp://ftp.teledanmark.no/pub/networking/rfc/rfc1413.txt for details.

- JNI panic: JNI received a null class 

JNI is the "Java Native Interface", which is a mechanism for hooking
up "native" components (such as C libraries) to Java.  This error
means that the native code made a call back to Java with an invalid
argument.  This caused an exception to be thrown, which basically
cancels the activity that the program was doing at the time.

The lines that start with "at" are a stack trace, which is supposed to
be helpful to a programmer in determining what the program was going
at the time the error occurred.  Each line contains the name of a Java
function.  The first "at" line is the last (most recent) Java function
called prior to the error (native functions do not show up in a Java
stack trace).  The name in parentheses at the end of each line is the
name of the Java file that contains the function.

The top few lines start with "com.apple.mrj.protocol.www", which
implies that the program was performing some kind of network activity
at the time the problem occurred.

I was able to find one reference to this problem, although I have no
way of telling if this is the same as yours:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=ODBSBWrx%24GA.246%40cppssbbsa04&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DISO-8859-1%26q%3Dopeninputstreamatomic%26sa%3DN%26tab%3Dwg

Hope this helps...

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy