Results 1 to 6 of 6

Thread: SEVERE: Exception encountered while repainting, No Such Method

  1. #1

    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

  2. #2

    Default

    Solved

  3. #3
    Unregistered
    Guest

    Default What was the solution?

    Glad you got it working, could you post what it took to fix it? Was it JOGL or Java?

  4. #4
    Junior Member
    Join Date
    Jan 2008
    Location
    Huntsville, AL
    Posts
    24

    Default Solution

    I had the same issue, upgraded from Java 1.6 to 1.6 Update 3 and it fixed it.

  5. #5
    WWJ Consultant patmurris's Avatar
    Join Date
    Jun 2005
    Location
    Saint-Paul de Vence, Alpes Maritimes, France
    Posts
    3,383

    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

  6. #6

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. WWJ SDK Alpha 4.1 - 0.4.1 available
    By tag in forum WWJ Release Announcements
    Replies: 56
    Last Post: 11-14-2009, 12:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •