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 12-10-2007, 07:29 PM   #1
Shaun
Member
 
Join Date: Sep 2007
Posts: 32
Shaun is on a distinguished road
Default SEVERE: Exception encountered while repainting, No Such Method

Code:
SEVERE: Exception encountered while repainting
java.lang.NoSuchMethodError: com.sun.opengl.util.j2d.TextRenderer.getBounds(Ljava/lang/CharSequence;)Ljava/awt/geom/Rectangle2D;
	at gov.nasa.worldwind.layers.placename.PlaceNameRenderer.drawName(PlaceNameRenderer.java:294)
	at gov.nasa.worldwind.layers.placename.PlaceNameRenderer.drawMany(PlaceNameRenderer.java:123)
	at gov.nasa.worldwind.layers.placename.PlaceNameRenderer.render(PlaceNameRenderer.java:55)
	at gov.nasa.worldwind.layers.placename.PlaceNameLayer.drawOrRequestTile(PlaceNameLayer.java:503)
	at gov.nasa.worldwind.layers.placename.PlaceNameLayer.doRender(PlaceNameLayer.java:462)
	at gov.nasa.worldwind.layers.AbstractLayer.render(AbstractLayer.java:184)
Trying to run Application Template inside SDK 0.4.1. It loads but once moved for the repaint it dies. Possibly Jogl outdated? Point me towrds a new one?

Maybe Java 6 needed? I am using Java 5 Update 12
Shaun is offline   Reply With Quote
Old 12-10-2007, 07:50 PM   #2
Shaun
Member
 
Join Date: Sep 2007
Posts: 32
Shaun is on a distinguished road
Default

Solved
Shaun is offline   Reply With Quote
Old 12-28-2007, 08:28 PM   #3
Unregistered
Guest
 
Posts: n/a
Default What was the solution?

Glad you got it working, could you post what it took to fix it? Was it JOGL or Java?
  Reply With Quote
Old 01-03-2008, 09:39 PM   #4
jjones
Junior Member
 
Join Date: Jan 2008
Location: Huntsville, AL
Posts: 24
jjones is on a distinguished road
Default Solution

I had the same issue, upgraded from Java 1.6 to 1.6 Update 3 and it fixed it.
jjones is offline   Reply With Quote
Old 01-05-2008, 04:28 PM   #5
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

WWJ only needs jre 1.5.7 i believe. Would that be a bug in 1.6.x?
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 01-07-2008, 04:51 PM   #6
Shaun
Member
 
Join Date: Sep 2007
Posts: 32
Shaun is on a distinguished road
Default

I should have elaborated more in my original post after solving it.

I just had to replace the jogl.jar in the lib/ext folders of my jre and jdk with the one packaged with 0.4.1 Worldwind
Shaun is offline   Reply With Quote
Reply


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
WWJ SDK Alpha 4.1 - 0.4.1 available tag WWJ Release Announcements 56 11-14-2009 12:51 PM


All times are GMT +1. The time now is 07:43 AM.


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