Login  Register

Re: InvocationTargetException with JoGL

Posted by Michael Bien on Mar 13, 2011; 5:52pm
URL: https://forum.jogamp.org/InvocationTargetException-with-JoGL-tp2673306p2673343.html

  gluegen-rt natives are not found.

are you using our jnlp extension files for jogl? this should be handled
automatically if you use them.

best regards,
michael



On 03/13/2011 06:45 PM, NickJPGeorge [via jogamp] wrote:

>
> So I *think* I'm getting close to making this whole "webstart" thing work-
> I've got my JNLP, and my jar that I signed.  I'm pretty new to jnlps, but I
> can make it work with more simple projects.   However, with JoGL, I keep
> getting an invocation target exception, that I'd love some help tracing
> down.  I'm not sure what would be useful for me to post here, this is my
> jnlp:
>
>   <?xml version="1.0" encoding="UTF-8"?>
>
>
>
>
>
>
>
>       BoxKill!
>           Nick!
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> and the error is
>
>      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 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.UnsatisfiedLinkError:
> com.jogamp.common.os.Platform.getPointerSizeInBitsImpl()I
>         at com.jogamp.common.os.Platform.getPointerSizeInBitsImpl(Native
> Method)
>         at com.jogamp.common.os.Platform.(Platform.java:65)
>        at com.jogamp.common.nio.Buffers.nativeOrder(Buffers.java:252)
>         at com.jogamp.common.nio.Buffers.newDirectByteBuffer(Buffers.java:67)
>    .     at com.jogamp.common.jvm.JVMUtil.(JVMUtil.java:58)
>    .     at
> javax.media.nativewindow.NativeWindowFactory.(NativeWindowFactory.java:102)
>    .     at javax.media.opengl.GLProfile.initProfiles(GLProfile.java:855)
>    .     at javax.media.opengl.GLProfile.access$000(GLProfile.java:59)
>    .     at javax.media.opengl.GLProfile$1.run(GLProfile.java:989)
>    .     at java.security.AccessController.doPrivileged(Native Method)
>    .     at javax.media.opengl.GLProfile.(GLProfile.java:987)
>    .     at isogame.IsoFrame.(IsoFrame.java:186)
>    .     at isogame.IsoLauncher.main(IsoLauncher.java:14)
>    .     ... 9 more
>
> Thanks so much for your help,
> Nick
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://forum.jogamp.org/InvocationTargetException-with-JoGL-tp2673306p2673306.html
> To start a new topic under jogamp, email [hidden email]
> To unsubscribe from jogamp, visit
http://michael-bien.com/