| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hello all,
I have this problem that drives me crazy.
Java applets do not work in Safari, Camino, Firefox or any other browser. I am using a MacMini with Intel CPU, and Mac OS X 10.4.11.
The problem arises after I have updated the JRE to 1.5.0_13 (latest available, afaik). The problem did not occur with the previous version of JRE (whose version I do not remember) and does not occur with the older JRE 1.4.2 which is still available on my machine. So I suspect the problem is somehow related to this new version 1.5.0_13 of JRE….
After enabling the Java console, this is what I get upon accessing any web page containing a Java applet:
java.lang.NullPointerException
at sun.plugin.net.proxy.PluginProxyManager.getProxyInfo(PluginProxyManager.java:49)
at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(HttpURLConnection.java:309)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:157)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:43)
at sun.plugin.cache.CachedFileLoader.download(CachedFileLoader.java:296)
at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:119)
at sun.plugin.cache.FileCache.get(FileCache.java:136)
at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(HttpURLConnection.java:209)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:140)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:272)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:376)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:269)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.Java Plug-in 1.5.0
Uso della versione JRE 1.5.0_13 Java HotSpot(TM) Client VM Directory principale utente = ……….
It migth seem this problem has something to do with proxy settings, as I see deployment.proxy.type=3 in the system properties (attached below). However, I have no proxy server set in the machine's network preferences. I used to have, in the past, but then we removed our proxy and I adjusted the network preferences accordingly. So it seems to me that somehow the machine "remembers" that a proxy was set in in the past, even though it now unset. How comes that? In any case, the problem does not occur if I enable the older JRE 1.4.2 from Java Preferences.
I have looked around the machine searching for any *.properties file containing the word "proxy", but found none. How does Java set (incorrectly) the value of the deployment.proxy.type property? Where does it take the (wrong) information?
Is anybody able to help me with this damn problem?
TIA to all volunteeers.
System properties show in the Java console:
Java Plug-in 1.5.0
Uso della versione JRE 1.5.0_13 Java HotSpot(TM) Client VM
Directory principale utente = /Users/testing
----------------------------------------------------
c: cancella finestra console
f: finalizza oggetti nella coda di finalizzazione
g: recupera spazio
h: visualizza questo messaggio di aiuto
l: esegui dump dell'elenco classloader
m: stampa utilizzo memoria
o: attiva registrazione eventi
p: ricarica configurazione proxy
q: nascondi console
r: ricarica configurazione criteri
s: esegui dump delle proprietà del sistema e dell'installazione
t: esegui dump dell'elenco thread
v: esegui dump dello stack del thread
x: cancella cache classloader
0-5: imposta livello di traccia su <n>
----------------------------------------------------
Esegui dump delle proprietà del sistema ...
----------------------------------------------------
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
apple.awt.graphics.UseQuartz = true
awt.nativeDoubleBuffering = true
awt.toolkit = apple.awt.CToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
file.encoding = MacRoman
file.encoding.pkg = sun.io
file.separator = /
file.separator.applet = true
gopherProxySet = false
http.agent = Mozilla/4.0 (Mac OS X 10.4.11)
http.auth.serializeRequests = true
https.protocols = SSLv3,SSLv2Hello
java.awt.graphicsenv = apple.awt.CGraphicsEnvironment
java.awt.printerjob = apple.awt.CPrinterJob
java.class.path = :/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar
java.class.version = 49.0
java.class.version.applet = true
java.endorsed.dirs = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed
java.ext.dirs = /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext
java.home = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
java.io.tmpdir = /tmp
java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.protocol.handler.pkgs = sun.plugin.net.protocol|com.sun.deploy.net.protocol
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version = 1.5.0_13-b05-241
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.5
java.vendor = Apple Computer, Inc.
java.vendor.applet = true
java.vendor.url = "">http://apple.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://developer.apple.com/java/
java.version = 1.5.0_13
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = "Apple Computer, Inc."
java.vm.version = 1.5.0_13-121
javaplugin.maxHeapSize = 96m
javaplugin.nodotversion = 150
javaplugin.proxy.config.type = direct
javaplugin.version = 1.5.0
javaplugin.vm.options = -DtrustProxy=true -Xverify:remote -Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/deploy.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/plugin.jar -XX:-UseSharedSpaces -Djavaplugin.nodotversion=150 -Djavaplugin.version=1.5.0 -Xmx96m -Djavaplugin.maxHeapSize=96m
line.separator = \n
line.separator.applet = true
mrj.version = 1040.1.5.0_13-241
os.arch = i386
os.arch.applet = true
os.name = Mac OS X
os.name.applet = true
os.version = 10.4.11
os.version.applet = true
package.restrict.access.com.sun.deploy = true
package.restrict.access.netscape = false
package.restrict.access.org.mozilla.jss = true
package.restrict.access.sun = true
package.restrict.definition.com.sun.deploy = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.org.mozilla.jss = true
package.restrict.definition.sun = true
path.separator = :
path.separator.applet = true
sun.arch.data.model = 32
sun.awt.exception.handler = apple.awt.CToolkit$EventQueueExceptionHandler
sun.boot.class.path = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/deploy.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/plugin.jar
sun.boot.library.path = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.jnu.encoding = MacRoman
sun.management.compiler = HotSpot Client Compiler
sun.net.client.defaultConnectTimeout = 120000
sun.net.http.errorstream.enableBuffering = true
sun.os.patch.level = unknown
trustProxy = true
user.country = IT
user.dir = /
user.home = /Users/testing
user.language = it
user.name = testing
user.timezone = Europe/Rome
----------------------------------------------------
Esegui dump delle proprietà dell'installazione ...
----------------------------------------------------
deployment.apple.special = true
deployment.browser.args = -raise -remote openURL(%u,new-window)
deployment.browser.path = /Applications/Safari.app
deployment.cache.jarcompression = 0
deployment.cache.max.size = 100m
deployment.capture.mime.types = true
deployment.console.startup.mode = SHOW
deployment.control.panel.log = false
deployment.home.j2se.url = "">http://java.sun.com/j2se/
deployment.javapi.cache.enabled = true
deployment.javapi.lifecycle.exception = false
deployment.javapi.log.filename =
deployment.javapi.runtime.type = 0
deployment.javapi.trace.filename =
deployment.javaws.associations = ASK_USER
deployment.javaws.autodownload = NEVER
deployment.javaws.home.jnlp.url = "">http://java.sun.com/products/javawebstart
deployment.javaws.installURL = http://java.sun.com/products/autodl/j2se
deployment.javaws.logFileName =
deployment.javaws.muffin.max = 256
deployment.javaws.shortcut = ASK_IF_HINTED
deployment.javaws.ssv.enabled = true
deployment.javaws.traceFileName =
deployment.javaws.uninstall.shortcut = false
deployment.javaws.update.timeout = 1500
deployment.log = true
deployment.mime.types.use.default = true
deployment.proxy.bypass.local = false
deployment.proxy.override.hosts =
deployment.proxy.same = false
deployment.proxy.type = 3
deployment.repository.askdownloaddialog.show = true
deployment.repository.enabled = true
deployment.security.SSLv2Hello = true
deployment.security.SSLv3 = true
deployment.security.TLSv1 = false
deployment.security.askgrantdialog.notinca = true
deployment.security.askgrantdialog.show = true
deployment.security.authenticator = true
deployment.security.browser.keystore.use = true
deployment.security.clientauth.keystore.auto = true
deployment.security.jsse.hostmismatch.warning = true
deployment.security.sandbox.awtwarningwindow = true
deployment.security.sandbox.jnlp.enhanced = true
deployment.security.trusted.policy =
deployment.system.security.cacerts = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/security/cacerts
deployment.system.security.jssecacerts = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/security/jssecacerts
deployment.system.security.trusted.certs = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/security/trusted.certs
deployment.system.security.trusted.clientauthcerts = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/security/trusted.clientcerts
deployment.system.security.trusted.jssecerts = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/security/trusted.jssecerts
deployment.trace = false
deployment.update.mime.types = true
deployment.user.cachedir = /Users/testing/Library/Caches/Java/cache
deployment.user.extdir = /Users/testing/Library/Caches/Java/ext
deployment.user.logdir = /Users/testing/Library/Caches/Java/log
deployment.user.security.policy = file:///Users/testing/Library/Caches/Java/security/java.policy
deployment.user.security.trusted.cacerts = /Users/testing/Library/Caches/Java/security/trusted.cacerts
deployment.user.security.trusted.certs = /Users/testing/Library/Caches/Java/security/trusted.certs
deployment.user.security.trusted.clientauthcerts = /Users/testing/Library/Caches/Java/security/trusted.clientcerts
deployment.user.security.trusted.jssecacerts = /Users/testing/Library/Caches/Java/security/trusted.jssecacerts
deployment.user.security.trusted.jssecerts = /Users/testing/Library/Caches/Java/security/trusted.jssecerts
deployment.user.tmp = /Users/testing/Library/Caches/Java/tmp
deployment.version = 1.5.0
----------------------------------------------------
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.