World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 06-24-2012, 12:31 AM   #1
isoman
Junior Member
 
Join Date: Feb 2009
Posts: 17
isoman is on a distinguished road
Default problem with jogl version

Hi ,
I'm deploying a small ap via java webstart . When I run it I'm getting this error

Code:
java.lang.RuntimeException: Error launching or running the application
	at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:144)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.glassfish.appclient.client.JWSAppClientContainerMain$ClientRunner.run(JWSAppClientContainerMain.java:179)
	at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:138)
	... 9 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:438)
	at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182)
	at org.glassfish.appclient.client.JWSAppClientContainerMain$ClientRunner.run(JWSAppClientContainerMain.java:169)
	... 10 more
Caused by: java.lang.NoSuchMethodError: javax.media.opengl.GLCapabilities: method <init>()V not found
	at gov.nasa.worldwind.awt.WorldWindowGLCanvas.getCaps(Unknown Source)
	at gov.nasa.worldwind.awt.WorldWindowGLCanvas.<init>(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppPanel.createWorldWindow(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppPanel.<init>(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppFrame.createAppPanel(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppFrame.initialize(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppFrame.<init>(Unknown Source)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate.start(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate.main(Unknown Source)
	... 17 more
It appears that the problem is caused by the new version of jogl that is being download http://forum.jogamp.org/Applet-throw...td2335825.html by the jnlp use <resources>
Code:
  <j2se version="1.6+"/>
            <extension name="jogl-all-awt" href="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp" />
            
       
    </resources>
How can I fix this ?

Thanks .
isoman is offline   Reply With Quote
Old 06-24-2012, 02:23 AM   #2
nlneilson
Super Moderator
 
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,624
nlneilson is on a distinguished road
Default

Link to the jogle that comes in the WWJ SDK rather than have it downloaded.

Do a Search in the forum for jogle as the latest version may not be supported.
__________________
Neil
http://www.nlneilson.com
nlneilson is offline   Reply With Quote
Old 06-24-2012, 04:19 AM   #3
pabercrombie
WW Dev. Team
 
Join Date: Sep 2010
Location: Boston, MA, USA
Posts: 325
pabercrombie is on a distinguished road
Default

You can find JOGL 1.1 (the version WW uses) at http://worldwind.arc.nasa.gov/java/jogl/webstart/
pabercrombie is offline   Reply With Quote
Old 06-25-2012, 08:50 AM   #4
isoman
Junior Member
 
Join Date: Feb 2009
Posts: 17
isoman is on a distinguished road
Default

Thanks .
isoman is offline   Reply With Quote
Reply

Tags
[solved]


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WMS connection error stefano adami Technical Support 1 06-01-2005 10:30 AM
Tim's installation problem Beansprout Install Support 0 01-27-2005 06:45 PM
P2P-Beta: Rapid fire modis misfunction and ... Angel Bug Reports 0 11-13-2004 11:31 AM
1.2c: USGS Urban Area Ortho-Image Download broken Deckard Bug Reports 10 10-10-2004 02:39 PM
More start errors Kiriai Bug Reports 1 09-28-2004 01:08 AM


All times are GMT +1. The time now is 01:41 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.