Upgrade from 1.4.2_10 to 1.5.0_06  
Author Message
Rob





PostPosted: 2005-12-22 9:14:00 Top

java-programmer, Upgrade from 1.4.2_10 to 1.5.0_06 I recently upgraded my JAVA and now I am unable to run any JAVA applets.

All I am getting is a "General Exception" dialog box and a whole lot of CRAP
in the "JAVA Console" - see below...
---------------------------------------------------------------------------------
Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Rob
network: Loading user-defined proxy configuration ...
network: Done.
network: Loading proxy configuration from Internet Explorer ...
network: Done.
network: Loading direct proxy configuration ...
network: Done.
network: Proxy Configuration: No proxy

basic: Cache is disabled by user

----------------------------------------------------
c: clear console window
if: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@87a5cc,
refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@152544e
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://www.java.com/applet/testvm.class with
proxy=DIRECT
network: Connecting http://www.java.com/applet/testvm/class.class with
proxy=DIRECT
load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: www.java.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException: testvm.class
java.lang.ClassNotFoundException: testvm.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: www.java.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Modality pushed
basic: Modality popped


Anyone else experienced this issue? SUN seems to be more than a little
perplexed - and is not providing much help...



 
Andrew Thompson





PostPosted: 2005-12-22 10:48:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 Rob wrote:

> I recently upgraded my JAVA ...

Java (it is not an acronym)

>...and now I am unable to run any JAVA applets.

Including this one?
<http://www.physci.org/pc/property.jsp>

(I wrote, and support, that one)

> All I am getting is a "General Exception" dialog box and a whole lot of CRAP
> in the "JAVA Console" - see below...
> ---------------------------------------------------------------------------------
> Java Plug-in 1.5.0_06
....
> network: Connecting http://www.java.com/applet/testvm.class with

What is the exact URL of the page that caused this error?
(We'll deal with 'all' later, I just need to see the
specifics of *one* example)
Is it this page? <http://java.com/en/download/help/testvm.xml>

--
Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
 
Roedy Green





PostPosted: 2005-12-22 16:40:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 On Wed, 21 Dec 2005 20:13:31 -0500, "Rob" <email***@***.com> wrote,
quoted or indirectly quoted someone who said :

>load: class testvm.class not found.

looks like your <applet tag is screwed up. Besides. No self-respecting
class starts with a lower case letter.

Further it is missing a package.

see http://mindprod.com/jgloss/applet.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
 
Roedy Green





PostPosted: 2005-12-22 16:41:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 On Wed, 21 Dec 2005 20:13:31 -0500, "Rob" <email***@***.com> wrote,
quoted or indirectly quoted someone who said :

>I recently upgraded my JAVA and now I am unable to run any JAVA applets.


see http://mindprod.com/jgloss/jre.html#TESTING
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
 
ROB!





PostPosted: 2005-12-23 3:36:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 Andrew -

You have the correct page <http://java.com/en/download/help/testvm.xml>

I tried your link <http://www.physci.org/pc/property.jsp> and get the
same "General Exception"...

Here is the real kicker - this works fine on my home desktop and my
work desktop - the only issue is on my laptop...and it just started
with the 1.2.0_06 upgrade...

 
 
ROB!





PostPosted: 2005-12-23 3:38:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 <looks like your <applet tag is screwed up.> - It is not MY applet tag
it is SUN'S from the following URL -
<http://java.com/en/download/help/testvm.xml>
<Besides. No self-respecting class starts with a lower case letter.> -
Talk to Sun about their naming conventions...

 
 
Rob!





PostPosted: 2005-12-23 8:49:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 Cannot even get to mindprod.com...


 
 
Roedy Green





PostPosted: 2005-12-23 9:40:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 On Thu, 22 Dec 2005 19:48:34 -0500, "Rob!" <email***@***.com>
wrote, quoted or indirectly quoted someone who said :

>Cannot even get to mindprod.com...

It is doing its butterfly thing. Soon it should be reborn 10 times
faster with a new IP. The server is in transit to a new home with a
100 MBit connection. It could be back up any minute. My ISP is
working on it.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
 
Rob!





PostPosted: 2005-12-23 21:53:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 > Further it is missing a package. -

Any way to determine what package is missing? Moreover, WHERE is it missing
from?

"Roedy Green" <email***@***.com> wrote in
message news:email***@***.com...
> On Wed, 21 Dec 2005 20:13:31 -0500, "Rob" <email***@***.com> wrote,
> quoted or indirectly quoted someone who said :
>
>>load: class testvm.class not found.
>
> looks like your <applet tag is screwed up. Besides. No self-respecting
> class starts with a lower case letter.
>
> Further it is missing a package.
>
> see http://mindprod.com/jgloss/applet.html
> --
> Canadian Mind Products, Roedy Green.
> http://mindprod.com Java custom programming, consulting and coaching.


 
 
Roedy Green





PostPosted: 2005-12-23 22:07:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 On Fri, 23 Dec 2005 08:53:13 -0500, "Rob!" <email***@***.com>
wrote, quoted or indirectly quoted someone who said :

>Any way to determine what package is missing? Moreover, WHERE is it missing
>from?

I assumed the Applet you were complaining about was one you had
written. Normally an Applet goes in a package. Sun writes little toy
example applets that don't have a package.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
 
Rob!





PostPosted: 2005-12-25 2:16:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 (This item was also posted on comp.lang.java.help
I recently upgraded my JAVA and now I am unable to run any web-based Java
applets.

Here is what is in the Java Console...after attempting to verify the
installation at http://java.com/en/download/help/testvm.xml
All LOCALLY developed applets run fine...
FELIZ NAVIDAD

JOYEUX NOEL

MERRY CHRISTMAS


----------------------------------------------------------------------------------------------------------------------------
Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Rob
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-testvm.class"
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

 
 
Andrew Thompson





PostPosted: 2005-12-26 11:00:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 ROB! wrote:

> ..page <http://java.com/en/download/help/testvm.xml>
>
> I tried your link <http://www.physci.org/pc/property.jsp> and get the
> same "General Exception"...
>
Huh? What's that?

I recognise the two 'ClassNotFoundException's and both
'UnknownHostException's, in the original output, but
nothing else like a 'GeneralException' 'General Exception'
in there (and I've never heard of that and would prefer output
to be copy/pastes\d). Can you copy/paste the output you get in
the console, from my page?

( It does sound vaguely like a failed Java installation,
but there are some things to check before you should pursue
that.. )

> Here is the real kicker - this works fine on my home desktop and my
> work desktop - the only issue is on my laptop...

Does it work in other browsers from the laptop?

> ...and it just started
> with the 1.2.0_06 upgrade...

( I assume you mean 1.5.0_06 there )

--
Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
 
 
ROB!





PostPosted: 2005-12-27 5:14:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 Andrew -
As it turned out, the "General Exception" only rears its ugly face when
I have the "Show Applet Lifecycle Exceptions" checkbox checked in the
"Debugging" section of the Advanced Settings on the Java Control Panel.

Here is the console output from your page:
Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Rob


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

load: class PropertiesApplet.class not found.
java.lang.ClassNotFoundException: PropertiesApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-PropertiesApplet.class"
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I have tried it on Firefox 1.5 and IE 6.0.2 - same stuff

> ...and it just started with the 1.2.0_06 upgrade...( I assume you mean 1.5.0_06 there )
YUP - That's what I meant...fingers moving faster than brain...

I really appreciate all of the help...
Rob!

 
 
Andrew Thompson





PostPosted: 2005-12-27 7:31:00 Top

java-programmer >> Upgrade from 1.4.2_10 to 1.5.0_06 ROB! wrote:
..
> As it turned out, the "General Exception" only rears its ugly face when
> I have the "Show Applet Lifecycle Exceptions" checkbox checked in the
> "Debugging" section of the Advanced Settings on the Java Control Panel.

Ya' find out something new every day - must
check that out!

> Here is the console output from your page:
...

* URL below

> load: class PropertiesApplet.class not found.

That's the one.

> java.lang.ClassNotFoundException: PropertiesApplet.class
....
> Caused by: java.io.IOException: open HTTP connection failed.
...
> I have tried it on Firefox 1.5 and IE 6.0.2 - same stuff

Thanks for confirming it is not just one browser.

>>...and it just started with the 1.2.0_06 upgrade...( I assume you mean 1.5.0_06 there )
>
> YUP - That's what I meant...fingers moving faster than brain...

OK. I'm guessing one of two things.

1) A bug in the 1.5.0_06 release.
The reason I mentioned this is that I saw another
post mentioning problems just after upgrading to 1.5.0_06.
<http://groups.google.com/groups?selm=email***@***.com>
<http://groups.google.com/group/comp.lang.java.help/msg/93b1cbd1c9f53bf2>

Since I am not running _06 (and am not prepared to upgrade
to it at this instant), I will have to toss the question
wider to the people who have.

Can anyone here claim to be able to point their 1.5.0_06
Java'd browser at the PhySci properties applet* (or any applet)
'and survive'?
* <http://www.physci.org/pc/property.jsp?prop=java.version>

2) A failed Java installation.
Roedy is the expert on failed Java installations, I usually run
screaming (in a shrill voice) when somebody mentions one.

--
Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew