JDK-8025143 : Jira's Attach Screenshot has "AWT-EventQueue-2" java.lang.NullPointerException, locks console, applet fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u40,8
  • Priority: P2
  • Status: Closed
  • Resolution: Incomplete
  • OS: os_x
  • CPU: x86
  • Submitted: 2013-09-20
  • Updated: 2013-10-31
  • Resolved: 2013-10-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Relates :  
Description
Java version:
1.7.0_40-b43

OS X 10.8
FF 23
Jira: bugs.openjdk.java.net
Applet: Attach Screenshot (under "More Actions")

Console output:
Java Plug-in 10.40.2.43
Using JRE version 1.7.0_40-b43 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/duke
----------------------------------------------------
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
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>
----------------------------------------------------
cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@129458ea
basic: tap installed
basic: Creating PluginEmbeddedFrame served by com.apple.java.jrs.carenderserver-35261
basic: Done creating PluginEmbeddedFrame
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@2592cb49
basic: Plugin2ClassLoader.addURL parent called for https://bugs.openjdk.java.net/secure/applet/screenshot.jar
security: Accessing keys and certificate in Mozilla user profile: null
security: JSS is not configured
security: Blacklist revocation check is enabled
security: blacklist: created: NEED_LOAD, lastModified: 1378223624000
security: blacklist: hasBeenModifiedSince 1379684446598 (we have 1378223624000)
security: Trusted libraries list check is enabled
network: Cache entry found [url: https://bugs.openjdk.java.net/secure/applet/screenshot.jar, version: null] prevalidated=false/0
cache: Adding MemoryCache entry: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
cache: Resource https://bugs.openjdk.java.net/secure/applet/screenshot.jar has expired.
network: Connecting https://bugs.openjdk.java.net/secure/applet/screenshot.jar with proxy=HTTP @ rmdc-proxy.oracle.com/148.87.67.151:80
network: Cache entry not found [url: file:/Library/Internet%20Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext/sunec.jar, version: null]
network: Cache entry not found [url: file:/Library/Internet%20Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext/sunjce_provider.jar, version: null]
security: Loading Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
security: Loaded Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
security: Loading SSL Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
security: Loaded SSL Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
security: Check if certificate can be verified using certificates in Root CA certificate store
security: Certificate to be verified:
<long list of certificates removed, as not relevant to the issue>
security: Certificate has been verified with Root CA certificates successfully
security: Invalid certificate from HTTPS server
basic: Dialog type is not candidate for embedding
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
network: Connecting https://bugs.openjdk.java.net/secure/applet/screenshot.jar with cookie "s_nr=1378236273294; AWSELB=4B417D29167379B88359E270231A3CFDBDD5CC2E9A172868FC3098742834CC9801FA10FC0A93A08DE44EE4622161227D458AE538C05E594C19953F2D93D5455CA552C26B01; s_cc=true; s_sq=%5B%5BB%5D%5D; crowd.jbs_token_key=43Kclo4OPZelQ7OcIE2Y6Q00; atlassian.xsrf.token=BI6B-LGJG-J48D-LFXB|ef8cdaf72023869bb723c53e0de4534b804faccf|lin"
network: Server https://bugs.openjdk.java.net/secure/applet/screenshot.jar requesting to set-cookie with "crowd.jbs_token_key=43Kclo4OPZelQ7OcIE2Y6Q00; Domain=.oracle.com; Path=/; Secure; HttpOnly"
network: Server https://bugs.openjdk.java.net/secure/applet/screenshot.jar requesting to set-cookie with "JSESSIONID=9339E746FE4D39F1F1F0E17282117D25; Path=/; HttpOnly"
network: ResponseCode for https://bugs.openjdk.java.net/secure/applet/screenshot.jar : 304
network: Encoding for https://bugs.openjdk.java.net/secure/applet/screenshot.jar : null
network: Disconnect connection to https://bugs.openjdk.java.net/secure/applet/screenshot.jar
cache: Reading Signers from 3582 https://bugs.openjdk.java.net/secure/applet/screenshot.jar | /Users/duke/Library/Application Support/Oracle/Java/Deployment/cache/6.0/20/49fa7314-4305bcda.idx
cache: Done readSigners(https://bugs.openjdk.java.net/secure/applet/screenshot.jar)
cache:  Read manifest for https://bugs.openjdk.java.net/secure/applet/screenshot.jar: read=551 full=551   
security: Trust for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar has ended: Wed Dec 31 16:00:00 PST 1969
Missing Permissions manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
Missing Codebase manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
security: Loading Deployment certificates from /Users/duke/Library/Application Support/Oracle/Java/Deployment/security/trusted.certs
security: Loaded Deployment certificates from /Users/duke/Library/Application Support/Oracle/Java/Deployment/security/trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Loading blacklisted.certs file: /Users/duke/Library/Application Support/Oracle/Java/Deployment/security/blacklisted.certs
security: SHA-256Certificate finger print: 4D1CF1CBB4EFA8634E2045ABE2F3708E5B65C01A3B4D9DEA222B77EB2D9AC988
security: SHA-256Certificate finger print: AF840CA2B9DFB776BF81AA94C401BC440C52E5C590C43607A13D6680D83E3349
security: SHA-256Certificate finger print: C99157DF28D28EBD87B8B041AACCF023CF1C9AD0D21FD7116149D7F96484FA51
security: Loading Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
security: Loaded Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: The OCSP support is enabled
security: The CRL support is enabled
security: Failing over to CRLs: Certificate does not specify OCSP responder
cache: CacheEntry IP mismatch: 23.5.245.163 != 23.7.69.163
network: Cache entry not found [url: http://crl.thawte.com/ThawtePremiumServerCA.crl, version: null]
network: Connecting http://crl.thawte.com/ThawtePremiumServerCA.crl with proxy=HTTP @ rmdc-proxy.oracle.com/148.87.67.151:80
network: Downloading resource: http://crl.thawte.com/ThawtePremiumServerCA.crl
	Content-Length: 22,462
	Content-Encoding: null
network: Wrote URL http://crl.thawte.com/ThawtePremiumServerCA.crl to File /Users/duke/Library/Application Support/Oracle/Java/Deployment/cache/6.0/38/2fb889a6-6c4fd0c8-temp
cache: Adding MemoryCache entry: http://crl.thawte.com/ThawtePremiumServerCA.crl
network: Connecting http://ocsp.thawte.com/ with proxy=HTTP @ rmdc-proxy.oracle.com/148.87.67.151:80
security: blacklist: hasBeenModifiedSince 1379684446598 (we have 1378223624000)
security: blacklist: hasBeenModifiedSince 1378839557995 (we have 1378223624000)
security: blacklist: hasBeenModifiedSince 1378839557995 (we have 1378223624000)
cache: CacheEntry IP mismatch: 23.5.245.163 != 23.7.69.163
security: OCSP Response: GOOD
network: Connecting http://ocsp.thawte.com/ with proxy=HTTP @ rmdc-proxy.oracle.com/148.87.67.151:80
network: CleanupThread used 369733 us
security: OCSP Response: GOOD
security: Certificate validation succeeded using OCSP/CRL
basic: Dialog type is not candidate for embedding
Trace level set to 5: all ... completed.security: User has granted the privileges to the code for this session only
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
security: Grant socket perm for https://bugs.openjdk.java.net/secure/applet/screenshot.jar : java.security.Permissions@73619950 (
 ("java.net.SocketPermission" "bugs.openjdk.java.net" "connect,accept,resolve")
)

security: Trust for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar has ended: Wed Dec 31 16:00:00 PST 1969
Missing Permissions manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
Missing Codebase manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
security: Validate the certificate chain using CertPath API
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
Missing Permissions manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
Missing Codebase manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
security: Validate the certificate chain using CertPath API
ruleset: Non-jnlp rule id: 
        title: com.atlassian.jira.screenshot.applet.ScreenshotApplet
        location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup
        main location: https://bugs.openjdk.java.net/secure/
        main version: null
        isArtifact: true
ruleset: finding Deployment Rule Set for 
        title: com.atlassian.jira.screenshot.applet.ScreenshotApplet
        location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup
        main location: https://bugs.openjdk.java.net/secure/
        main version: null
        isArtifact: true
ruleset: no rule applies, returning Default Rule
security: SSV validation:
    running: 1.7.0_40
    requested: null
    range: null
    javaVersionParam: null
    Rule Set version: null
network: Created version ID: 1.7.0.40
network: Created version ID: 1.7.0.40
security: continue with running version
network: Created version ID: 1.7.0.40
network: Created version ID: 1.7
network: Created version ID: 2.2.40
security:  --- parseCommandLine converted : -Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug
into:
[-Djavaplugin.trace=true, -Djavaplugin.logging=true, -Djava.compiler=NONE, -Xnoagent, -Xdebug]
basic: AppletRelaunch due to vm args
network: Created version ID: 1.9
network: Created version ID: 1.8
network: Created version ID: 1.7
network: Created version ID: 1.6
network: Created version ID: 1.5
network: Created version ID: 1.4
network: Created version ID: 1.3
basic: WARNING - specified JRE version, null is invalid platform version
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@2592cb49
basic: Saving session state to /var/folders/yp/lxy5qzqn053btnngfxbq9ggw0000gn/T/session5949819034940635794
basic: Creating PluginEmbeddedFrame served by com.apple.java.jrs.carenderserver-35261
basic: Done creating PluginEmbeddedFrame
preloader: Construct preloader delegate
preloader: Setting default preloader and progress monitor for non JNLP applets
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@204804f8
preloader: Installing progress monitor true
preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@36928c0f
preloader: Using default preloader
preloader: Requested to use preloader class: null
preloader: Skipped all (0) download events prior to null
basic: Plugin2ClassLoader.addURL parent called for https://bugs.openjdk.java.net/secure/applet/screenshot.jar
preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame1,0,22,1x1,layout=java.awt.BorderLayout,title=,resizable,normal]
ruleset: Non-jnlp rule id: 
        title: com.atlassian.jira.screenshot.applet.ScreenshotApplet
        location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup
        main location: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
        main version: null
        isArtifact: true
ruleset: finding Deployment Rule Set for 
        title: com.atlassian.jira.screenshot.applet.ScreenshotApplet
        location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup
        main location: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
        main version: null
        isArtifact: true
ruleset: no rule applies, returning Default Rule
Missing Permissions manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
Missing Codebase manifest attribute for: https://bugs.openjdk.java.net/secure/applet/screenshot.jar
security: Validate the certificate chain using CertPath API
ruleset: Non-jnlp rule id: 
        title: com.atlassian.jira.screenshot.applet.ScreenshotApplet
        location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup
        main location: https://bugs.openjdk.java.net/secure/
        main version: null
        isArtifact: true
ruleset: finding Deployment Rule Set for 
        title: com.atlassian.jira.screenshot.applet.ScreenshotApplet
        location: https://bugs.openjdk.java.net/secure/AttachScreenshot!default.jspa?id=4260126&decorator=popup
        main location: https://bugs.openjdk.java.net/secure/
        main version: null
        isArtifact: true
ruleset: no rule applies, returning Default Rule
security: SSV validation:
    running: 1.7.0_40
    requested: null
    range: null
    javaVersionParam: null
    Rule Set version: null
network: Created version ID: 1.7.0.40
network: Created version ID: 1.7.0.40
security: continue with running version
network: Created version ID: 1.7.0.40
network: Created version ID: 1.7
network: Created version ID: 2.2.40
security:  --- parseCommandLine converted : -Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug
into:
[-Djavaplugin.trace=true, -Djavaplugin.logging=true, -Djava.compiler=NONE, -Xnoagent, -Xdebug]
basic: AppletRelaunch due to vm args
network: Created version ID: 1.9
network: Created version ID: 1.8
network: Created version ID: 1.7
network: Created version ID: 1.6
network: Created version ID: 1.5
network: Created version ID: 1.4
network: Created version ID: 1.3
basic: WARNING - specified JRE version, null is invalid platform version
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@204804f8
basic: Saving session state to /var/folders/yp/lxy5qzqn053btnngfxbq9ggw0000gn/T/session9144074160602810033
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
	at sun.lwawt.macosx.CEmbeddedFrame.getLayerPtr(CEmbeddedFrame.java:65)
	at sun.plugin2.main.client.PluginEmbeddedFrame.setBounds(Unknown Source)
	at java.awt.Component.resize(Component.java:2166)
	at java.awt.Component.setSize(Component.java:2155)
	at java.awt.Window.setSize(Window.java:908)
	at com.sun.deploy.uitoolkit.impl.awt.AWTFrameWindow$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
	at sun.lwawt.macosx.CEmbeddedFrame.getLayerPtr(CEmbeddedFrame.java:65)
	at sun.plugin2.main.client.PluginEmbeddedFrame.setBounds(Unknown Source)
	at java.awt.Component.resize(Component.java:2166)
	at java.awt.Component.setSize(Component.java:2155)
	at java.awt.Window.setSize(Window.java:908)
	at com.sun.deploy.uitoolkit.impl.awt.AWTFrameWindow$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
	at sun.lwawt.macosx.CEmbeddedFrame.getLayerPtr(CEmbeddedFrame.java:65)
	at sun.plugin2.main.client.PluginEmbeddedFrame.setBounds(Unknown Source)
	at java.awt.Component.resize(Component.java:2166)
	at java.awt.Component.setSize(Component.java:2155)
	at java.awt.Window.setSize(Window.java:908)
	at com.sun.deploy.uitoolkit.impl.awt.AWTFrameWindow$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


When running with these flags the Console does not lockup, but applet still fails:
-Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug

Comments
Could you run on b113 promotion build?
28-10-2013

The tracing flags have been removed. Still reproducible with JDK8 duke@machine: ~ $ /Library/Internet\ Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b109) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b51, mixed mode)
11-10-2013

No luck. Still not reproducible. Roger, it looks like you are starting applets in non-standard way, with additional command line arguments being passed to VM. Could you please remove these arguments and check whether the issue is still reproducible? Also, it would be great if you could test the applet using the latest JDK 8 build: if it is not reproducible with JDK 8, then we can lower bug's priority and get it off RT radar.
10-10-2013

Ok, I see the following lines in the log: security: --- parseCommandLine converted : -Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug into: [-Djavaplugin.trace=true, -Djavaplugin.logging=true, -Djava.compiler=NONE, -Xnoagent, -Xdebug] basic: AppletRelaunch due to vm args So, it could be that we hang due applet relaunching. I need to check that.
10-10-2013

Couldn't reproduce either: the applet starts fine both in Safari and FF, tested with JDK 7u40 and JDK 8 b109. Roger, when does the hang happen exactly? Are you able to see any of applet UI appearing before it hangs?
09-10-2013

Leonid, any updated from Thursday?
07-10-2013

Tried this again. 2. Did you select "Do not show again for the location and publisher above" in the security dialog? No and Yes. I tried clicked the checkbox and saw the same behavior.
01-10-2013

1. Did you restart the browser after installing a new JRE? Yes 2. Did you select "Do not show again for the location and publisher above" in the security dialog? No 3. Is it still reproducible if you select "Do not show console" or "Do not start console" in Preferences? Yes, either way it reproduces. 4. What's your hardware? OS X: 10.8.5 system_profiler SPHardwareDataType Hardware: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro9,1 Processor Name: Intel Core i7 Processor Speed: 2.6 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 6 MB Memory: 16 GB Boot ROM Version: MBP91.00D3.B08 SMC Version (system): 2.1f170 Java version ~ $ /Library/Internet\ Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) FF about:plugins Java Applet Plug-in File: JavaAppletPlugin.plugin Path: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin Version: Java 7 Update 45 State: Enabled The applet loads every time on every machine, and you can press the paste button and have it paste in the image?
01-10-2013

I have tested FF24 and Safari 6.0.4 on iMac and 3 MacBook Pro machines with 10.8.4 and 10.8.5. The applet loads on every machine. 1. Did you restart the browser after installing a new JRE? 2. Did you select "Do not show again for the location and publisher above" in the security dialog? 3. Is it still reproducible if you select "Do not show console" or "Do not start console" in Preferences? 4. What's your hardware? I've tested on 4 machines and could not reproduce the problem, so it should be some thread race. Not sure what else could affect it.
01-10-2013

Reproducible on both Safari and Mac.
01-10-2013

Screenshot of where to select the action of adding a screenshot.
01-10-2013

Which machine are you using? You were able to launch the applet and paste the screenshot? This continues to be reproducible with 7u45. OS X 10.8 Firefox v24 JRE Hangs and has to be killed.
01-10-2013

Not reproducible on my machine. Looks like a thread race, the plugin starts to query the applet before we were able to fully initialise it and create a peer for the applet window. Is the issue reproducible always for you or from time to time? Is it still reproducible if you switch off all the logging and a console in preferences? What browser are you using?
01-10-2013

jcp.trace file: duke@hopper: ~/Library/Application Support/Oracle/Java/Deployment/log $ more jcp.trace Log started: Fri, 20 Sep 2013 07:01:16 -0700 Java Plug-in 10.40.2.43 Using JRE version 1.7.0_40-b43 Java HotSpot(TM) 64-Bit Server VM basic: No valid JFX runtime at [/Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java] basic: refresh for user JREs basic: No valid JFX runtime at [/Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java] temp: Table model adding jre: JREInfo for index 1: platform is: 1.7 product is: 1.7.0_40 location is: http://java.sun.com/products/autodl/j2se path is: /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java args is: -Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug native platform is: Mac OS X, x86_64 [ x86_64, 64bit ] JavaFX runtime is: JavaFX 2.2.40 found at /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/ enabled is: true registered is: true system is: false basic: refresh for system JREs basic: No valid JFX runtime at [/Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java] temp: Table model adding jre: JREInfo for index 0: platform is: 1.7 product is: 1.7.0_40 location is: http://java.sun.com/products/autodl/j2se path is: /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java args is: -Djavaplugin.trace=true -Djavaplugin.logging=true -Djava.compiler=NONE -Xnoagent -Xdebug native platform is: Mac OS X, x86_64 [ x86_64, 64bit ] JavaFX runtime is: JavaFX 2.2.40 found at /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/ enabled is: true registered is: true system is: true
20-09-2013