Altera_Forum
Honored Contributor
11 years agoAttempt to view AOCL profile info results in java NullPointerException
Hi all,
I started working with Altera OpenCL a few weeks ago and I am still trying to get familiar with the collection of tools provided with the Altera SDK for OpenCL. Right now, I am having trouble to get the AOCL profile information viewer up and running as any attempt to launch it results into the following error: "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException". Any idea on how to get rid of this exception?:( The system I am currently using runs Windows 7 (64-bits) and has a Stratix V FPGA board connected via PCIe. Also, I am working with Altera SDK for OpenCL v14.0.2.209 and the application I used is the JPEG Decoder Design Example provided by Altera: http://www.altera.com/support/examples/opencl/jpeg-decoder.html Here is a description of steps I went through: - Compiled the jpeg_decoder.cl kernel to obtain the .aocx file including profiling instrumentation Command: "aoc --profile -v --board s5phq_d5 device/jpeg_decoder.cl -o bin/jpeg_decoder.aocx" - Imported the Visual Studio project to VS2013 and built it to obtain the jpeg_decoder.exe executable (copied to bin directory) - Ran the application to generate the profile.mon file Command: "jpeg_decoder.exe 1.jpeg 1.ppm" - Invoked the AOCL profile information viewer Command: "aocl report jpeg_decoder.aocx profile.mon" Attached is a screenshot of the actual error message. Thanks!:) David