Results 1 to 1 of 1
  1. #1
    lemanou is offline Member
    Join Date
    Mar 2013
    Posts
    1
    Rep Power
    0

    Default Stop applet from running

    Greetings

    I have created an web application (jsp-servlet) that trigers some .jar applets
    I print the jars with the HTML tags through a servlet in the jsp.

    Imagine two situations. A anb B.
    Starting with A the jar runs.
    I go to B, the 2nd jar replaces the first.
    When I return back to A, the 2nd jar is removed but the first jar fails to start with a Adding same VBO twice + null pointer exception.

    So I believe I have to stop it after leaving situation A.
    Is there a way to stop the .jar from running from inside the servlet?

    Thanks in advance.

    Added stacktrace:

    Adding same VBO twice. Exception in thread "Animation Thread" P3D: Already called beginDraw(). javax.media.opengl.GLException: java.lang.NullPointerException at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenG LThread(AWTThreadingPlugin.jav*​a:98) at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(T hreadingImpl.java:196) at javax.media.opengl.Threading.invokeOnOpenGLThread( Threading.java:164) at javax.media.opengl.awt.GLCanvas.maybeDoSingleThrea dedWorkaround(GLCanvas.java:83*​1)
    Last edited by lemanou; 03-03-2013 at 05:28 PM.

Similar Threads

  1. Replies: 7
    Last Post: 12-18-2011, 04:13 AM
  2. The outer loop doesnt stop running
    By Bulelakes in forum JDBC
    Replies: 16
    Last Post: 08-23-2010, 09:42 AM
  3. How do I stop or kill a running thread when a condition is true
    By chikaman in forum Threads and Synchronization
    Replies: 3
    Last Post: 12-21-2009, 11:07 PM
  4. How to stop/pause running third party exe?
    By 2bGeek in forum AWT / Swing
    Replies: 3
    Last Post: 02-28-2009, 07:26 AM

Tags for this Thread

Posting Permissions

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