Hi,
I have seen this this error reported by two different users of our software (which uses Jogl 2.1.2), both running MacBook Pro's:
javax.media.opengl.GLException: No default device available
at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:2066)
at javax.media.opengl.GLProfile.get(GLProfile.java:906)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:640)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:651)
The error is always encountered at initialization, when calling 'GLProfile.getDefault()'.
For the one bug-reporter I'm in contact with I have his system configuration:
It is a MacBook Pro with a AMD Radeon HD 6490M and Intel HD Graphics 3000.
Mac OS X 10.9.3 x86_64, Java 1.6.0_65, JOGL 2.1.2
The user also reported the same error after updating to a newer version of our software, using Java 1.7.0_60.
The software is known to work on many hardware / OS combination, and I cannot reproduce this behavior on the MacBook Pro's in our company.
On thing I noticed was this unexpected entry in the users log file:
Exception in thread "AWT-EventQueue-2" java.lang.NoSuchMethodError: javax.media.opengl.GLDrawableFactory.initSingleton()V
at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1573)
But it only appeared once, during what I could see was many attempts from the user to start up our software.
It should be mentioned that I do not explicitly call GLProfile.initSingleton() even though some forum posts recommend this - and it is not clear to me from the description if it is needed, or could be related to the problems.