× Heads up!

Aqua Data Server (Public) / nhilam

Follow
Data Collaboration Application Server
×
tariqrahiman reported 2015-09-10T04:10:15Z  · last modified 2015-09-17T21:46:51Z

Wrapped javax.media.opengl.GLException: No OpenGL context current on this thread


customer request
Dev mattbrumley(*)
QA
Sachin Prakash
SachinPrakash
Priority Major
Complexity Unknown
Component App - Charts
Version 16.0
Wrapped javax.media.opengl.GLException: No OpenGL context current on this thread
 
1. Executing an AquaScript with Chart types like ChartTypeColumn, ChartTypeScatter throws an Exception 
2. Occurs in AD Server v16, v15 etc..
3. Sample script is below and I will sent you the Aqua Data Server login information
 
Sample Script below
--------------------
 
importPackage(com.aquafold.openapi.chart);
 
var chart = aqua.chart.newChart();
var model = chart.getModel();
 
 
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, 400);
model.setValue(1, 1, 100);
model.setValue(1, 2, 50);
model.setValue(2, 0, 750);
model.setValue(2, 1, 300);
model.setValue(2, 2, 100);
model.setValue(3, 0, 850);
model.setValue(3, 1, 425);
model.setValue(3, 2, 125);
 
chart.getProperties().setChartTypeColumn(0);
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>');
 
2 attachments

Issue #2955

Closed
Fixed
Resolved 2015-09-11T16:23:02Z
 
 
Completion
No due date
No fixed build
No time estimate

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