× Heads up!

Aqua Data Server (Public) / nhilam

Follow
Data Collaboration Application Server
×
tariqrahiman reported 2015-09-11T17:25:49Z  · last modified 2015-09-15T17:49:51Z

No OpenGL context current on this thread Exception


customer request
Dev mattbrumley(*)
QA
Sachin Prakash
SachinPrakash
Priority Major
Complexity Unknown
Component App - Charts
Version 16.0
Sample Script below
--------------------
 
I was able to reproduce the "No OpenGL context current on this thread" error in both AD Server 16.0.4 and AD Studio 16.0.5-34 with the below script.
 
 
importPackage(com.aquafold.openapi.chart);
 
var chart = aqua.chart.newChart();
var model = chart.getModel();
 
model.addSeries("High");
model.addSeries("Mid");
model.addSeries("Low");
 
model.addCategory("Energy");
model.addCategory("Finance");
model.addCategory("Tech");
 
model.setValue(0, 0, 1000);
model.setValue(0, 1, 500);
model.setValue(0, 2, 200);
model.setValue(1, 0, 600);
model.setValue(1, 1, 300);
model.setValue(1, 2, 100);
model.setValue(2, 0, 400);
model.setValue(2, 1, 100);
model.setValue(2, 2, 50);
 
chart.getProperties().setChartTypeColumn();
 
chart.getProperties().setColumnTypeCylinder(0);
chart.getProperties().setColumnTypePyramid(1);
chart.getProperties().setColumnTypeCone(2);
 
chart.getProperties().setMergeAxis(true);
 
chart.getProperties().setImageWidth(640);
chart.getProperties().setImageHeight(480);
 
// image will be available for 5 seconds
var url = chart.cache(5);
aqua.response.write('<img src=').write(url).write('>');
aqua.response.write('<p>');
 

 

Issue #2957

Closed
Fixed
Resolved 2015-09-11T18:14:03Z
 
 
Completion
No due date
Fixed Build 16.0.5-35
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017