jPCT - a 3d engine for Java > Bugs

Light exception


Hi egon
im using the latest jpct jar and when i try to dispose a light this happens

Exception in thread "Thread-4" java.lang.NoSuchMethodError: com.threed.jpct.World.remove(I)V
   at com.threed.jpct.Light.dispose(

the same thing happen when i used the method light.getPosition(), the others method are doing well

I can't verify this. Looks more like as if you have two jpct.jars (one old, one new) included in your project or something like this. I've written a simple test case based on the latest official 1.27 jar and it runs just fine:

--- Code: ---import com.threed.jpct.SimpleVector;
import com.threed.jpct.World;
import com.threed.jpct.util.Light;

public class Test {
public static void main(String[] args) {
World world=new World();
Light light=new Light(world);
SimpleVector pos=light.getPosition();

--- End code ---

ahhhhh indeed the jpct_ae.jar was causing this, i didnt notice it before
many thanks


[0] Message Index

Go to full version