JDK-8127852 : Clicking on Select One Choice component in WebView throws exception on MAC
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.1
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2012-02-09
  • Updated: 2015-06-17
  • Resolved: 2012-02-28
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.
Other
fx2.1Resolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
When a user clicks on select Choice in webView a runtime exception is thrown on MAC. It works fine on Windows. Is there anyway to turn off interactions on WebView or JFXPanel ?

java.lang.RuntimeException: Error creating framebuffer object with size 46x37 (status code is 0x0)
	at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:216)
	at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:53)
	at com.sun.prism.es2.ES2SwapChain.createGraphics(ES2SwapChain.java:190)
	at com.sun.prism.es2.ES2SwapChain.createGraphics(ES2SwapChain.java:24)
	at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:67)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
	at com.sun.prism.render.RenderJob.run(RenderJob.java:37)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:97)
	at java.lang.Thread.run(Thread.java:680)
Assertion failed: ([NSOpenGLContext currentContext] == self->currentContext), function -[GlassView3D end:], file /HUDSON/workspace/2.1/label/macosx-universal-14/glass/glass-mat-lib-macosx/src/com/sun/mat/ui/GlassView3D.m, line 523.
/Applications/Oracle/jdev-sherman-6126/jdeveloper/jdev/bin/../../ide/bin/launcher.sh: line 484: 25198 Abort trap: 6           ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"

Comments
This turns out to be caused by RT-19845 and RT-19883 so I am marking it as a duplicate.
28-02-2012

Application for Repro
15-02-2012

Please use the attached zip file. Extract the content and then run bootstrap.html under the amx-stage folder with the following param. You will see a choice component. Click on that component on MAC causes a crash. <PATH>/bootstrap.html?file=home.amx
15-02-2012

Tested the Choice component at amazon.com using WebLauncher without a problem. Can you provide the URL where you've encountered the problem? Or do you have a test case for us?
15-02-2012

Looking at the trace this might be related to RT-16053.
15-02-2012

Can the submitter please verify which build of JavaFX this was run on?
15-02-2012

This may already be fixed by the fix for RT-17162. Assign to Chien to verify.
15-02-2012

No WebView code on the stack -- looks like a ES2 issue.
15-02-2012