Run an animation in three place

Hi all,
I must create an animation with JME and i want to show my animation in three different place in same time.

In my test I load 2 animation, the first run and the second don’t run.

             Liveviews testview1 = new Liveviews();
	 testview1.createCanvasSettings(testview1);
  	 testview1.canvasRun();
	  Logicielsim test =new Logicielsim();
	  test.panel.add( testview1.getCtx().getCanvas());

             Liveview_session2 testview2 = new Liveview_session2();
	 testview2.createCanvasSettings(testview2);
	 testview2.canvasRun();
	 Logicielsim test2 =new Logicielsim();
	 test2.panel.add( testview2.getCtx().getCanvas()); 

in fact i think the matter is I load twice the LWJGL-OpenGL2
" getLiveviewSettings().setRenderer(“LWJGL-OpenGL2”); "

I don’t know how run three animation in same time but if you have track
I’m interested.

thanks.

hi everyone,

after loading animation if I delete and I recharge another I have this message :

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000e684745, pid=4700, tid=2784

JRE version: Java™ SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)

Java VM: Java HotSpot™ 64-Bit Server VM (24.45-b08 mixed mode windows-amd64 compressed oops)

Problematic frame:

C [ig4icd64.dll+0x264745]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:

D:\Users\Work\Desktop\PPF12_9_10\hs_err_pid4700.log

If you would like to submit a bug report, please visit:

http://bugreport.sun.com/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

And this is the content of " hs_err_pid4700.log"

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000e684745, pid=4700, tid=2784

JRE version: Java™ SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)

Java VM: Java HotSpot™ 64-Bit Server VM (24.45-b08 mixed mode windows-amd64 compressed oops)

Problematic frame:

C [ig4icd64.dll+0x264745]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

If you would like to submit a bug report, please visit:

http://bugreport.sun.com/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

--------------- T H R E A D ---------------

Current thread (0x000000000ac24000): JavaThread “LWJGL Renderer Thread” [_thread_in_native, id=2784, stack(0x0000000010980000,0x0000000010a80000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000008

Registers:
RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x0000000000000000, RDX=0x0000000000000001
RSP=0x0000000010a7ed90, RBP=0x0000000000000002, RSI=0x0000000010f47538, RDI=0x0000000010e35218
R8 =0x0000000000000001, R9 =0x0000000000000000, R10=0x2aaaaaaaaaaaaaab, R11=0x0000000000000000
R12=0x0000000000000000, R13=0x0000000000000000, R14=0x000000000c96cdd0, R15=0x0000000000000000
RIP=0x000000000e684745, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x0000000010a7ed90)
0x0000000010a7ed90: 0000000000000000 3f8000003f800000
0x0000000010a7eda0: 0000000000000000 3f80000000000000
0x0000000010a7edb0: 0000000000000001 0000000000000000
0x0000000010a7edc0: 0000000000000001 0000000000000000
0x0000000010a7edd0: 0000000000000078 00000000107ae860
0x0000000010a7ede0: 000000003f8a3298 0000000000000000
0x0000000010a7edf0: 0000000010f47538 0000000000000000
0x0000000010a7ee00: 0000000000000000 00000000002d0b60
0x0000000010a7ee10: 0000000000000000 0000000010f46fe0
0x0000000010a7ee20: 0000000000000078 000000000e686f7f
0x0000000010a7ee30: 0000000010e2a008 0000000010e2a008
0x0000000010a7ee40: 0000000000000000 000000000eb5ee10
0x0000000010a7ee50: 0000000010f47538 0000000000000000
0x0000000010a7ee60: 0000000000000000 00000000002d0b60
0x0000000010a7ee70: 0000000000000000 0000000000080038
0x0000000010a7ee80: 0000000010c08c80 0000000010c09140

Instructions: (pc=0x000000000e684745)
0x000000000e684725: e9 01 74 2e 83 e9 01 74 20 83 e9 01 74 12 83 f9
0x000000000e684735: 01 0f 85 26 02 00 00 41 8b 43 0c 41 89 44 ee 0c
0x000000000e684745: 41 8b 43 08 41 89 44 ee 08 41 8b 43 04 41 89 44
0x000000000e684755: ee 04 41 8b 03 4c 8b 4c 24 28 4c 8b 44 24 30 41

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x0000000000000001 is an unknown value
RSP=0x0000000010a7ed90 is pointing into the stack for thread: 0x000000000ac24000
RBP=0x0000000000000002 is an unknown value
RSI=0x0000000010f47538 is an unknown value
RDI=0x0000000010e35218 is an unknown value
R8 =0x0000000000000001 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x2aaaaaaaaaaaaaab is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x000000000c96cdd0 is an unknown value
R15=0x0000000000000000 is an unknown value

Stack: [0x0000000010980000,0x0000000010a80000], sp=0x0000000010a7ed90, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ig4icd64.dll+0x264745]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J org.lwjgl.opengl.GL12.nglDrawRangeElementsBO(IIIIIJJ)V
J com.jme3.renderer.lwjgl.LwjglRenderer.drawTriangleList(Lcom/jme3/scene/VertexBuffer;Lcom/jme3/scene/Mesh;I)V
J com.jme3.renderer.lwjgl.LwjglRenderer.renderMeshDefault(Lcom/jme3/scene/Mesh;II)V
J com.jme3.material.Material.render(Lcom/jme3/scene/Geometry;Lcom/jme3/renderer/RenderManager;)V
J com.jme3.renderer.queue.RenderQueue.renderGeometryList(Lcom/jme3/renderer/queue/GeometryList;Lcom/jme3/renderer/RenderManager;Lcom/jme3/renderer/Camera;Z)V
J com.jme3.renderer.RenderManager.renderViewPortQueues(Lcom/jme3/renderer/ViewPort;Z)V
J com.jme3.renderer.RenderManager.renderViewPort(Lcom/jme3/renderer/ViewPort;F)V
J com.jme3.renderer.RenderManager.render(FZ)V
J com.jme3.system.lwjgl.LwjglCanvas.runLoop()V
j com.jme3.system.lwjgl.LwjglAbstractDisplay.run()V+132
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x000000000ac29800 JavaThread “TimerQueue” daemon [_thread_blocked, id=3752, stack(0x0000000015570000,0x0000000015670000)]
0x000000000ac28800 JavaThread “LWJGL Timer” daemon [_thread_blocked, id=5700, stack(0x00000000143f0000,0x00000000144f0000)]
0x000000000ac28000 JavaThread “DestroyJavaVM” [_thread_blocked, id=4424, stack(0x0000000001f10000,0x0000000002010000)]
0x000000000ac27000 JavaThread “jME3 Audio Thread” daemon [_thread_blocked, id=5984, stack(0x0000000012500000,0x0000000012600000)]
0x000000000ac26800 JavaThread “jME3 Audio Thread” daemon [_thread_blocked, id=4100, stack(0x0000000012210000,0x0000000012310000)]
0x000000000ac25800 JavaThread “jME3 Audio Thread” daemon [_thread_blocked, id=5868, stack(0x0000000012330000,0x0000000012430000)]
=>0x000000000ac24000 JavaThread “LWJGL Renderer Thread” [_thread_in_native, id=2784, stack(0x0000000010980000,0x0000000010a80000)]
0x000000000ac25000 JavaThread “LWJGL Renderer Thread” [_thread_blocked, id=3212, stack(0x0000000010a90000,0x0000000010b90000)]
0x000000000ac23800 JavaThread “LWJGL Renderer Thread” [_thread_in_native, id=5996, stack(0x000000000e320000,0x000000000e420000)]
0x000000000ac22800 JavaThread “Image Fetcher 2” daemon [_thread_blocked, id=6040, stack(0x000000000e1e0000,0x000000000e2e0000)]
0x000000000ac22000 JavaThread “Image Fetcher 3” daemon [_thread_blocked, id=4928, stack(0x000000000d0f0000,0x000000000d1f0000)]
0x000000000ac21000 JavaThread “Thread-18” [_thread_blocked, id=3912, stack(0x000000000cea0000,0x000000000cfa0000)]
0x000000000ac20800 JavaThread “Thread-17” [_thread_blocked, id=724, stack(0x000000000cd80000,0x000000000ce80000)]
0x0000000009f73000 JavaThread “Thread-13” [_thread_blocked, id=3908, stack(0x000000000cb10000,0x000000000cc10000)]
0x0000000009f72800 JavaThread “Thread-16” [_thread_blocked, id=2992, stack(0x000000000cc10000,0x000000000cd10000)]
0x0000000009f71800 JavaThread “Thread-15” [_thread_blocked, id=2188, stack(0x000000000bb20000,0x000000000bc20000)]
0x0000000009f71000 JavaThread “Thread-14” [_thread_blocked, id=2984, stack(0x000000000ca00000,0x000000000cb00000)]
0x0000000009f70000 JavaThread “Thread-12” [_thread_blocked, id=4568, stack(0x000000000c4f0000,0x000000000c5f0000)]
0x0000000009f6f800 JavaThread “Thread-11” [_thread_blocked, id=5864, stack(0x000000000c7a0000,0x000000000c8a0000)]
0x0000000009f6e800 JavaThread “Thread-7” [_thread_blocked, id=4656, stack(0x000000000c640000,0x000000000c740000)]
0x0000000009f6e000 JavaThread “Thread-10” [_thread_blocked, id=2152, stack(0x000000000c3d0000,0x000000000c4d0000)]
0x0000000009f6d000 JavaThread “Thread-9” [_thread_blocked, id=4268, stack(0x000000000c1b0000,0x000000000c2b0000)]
0x0000000009f6c800 JavaThread “Thread-8” [_thread_blocked, id=5988, stack(0x000000000c050000,0x000000000c150000)]
0x000000000a01e800 JavaThread “Thread-6” [_thread_blocked, id=5860, stack(0x000000000b740000,0x000000000b840000)]
0x000000000a034000 JavaThread “AWT-EventQueue-0” [_thread_in_native, id=4188, stack(0x000000000a8d0000,0x000000000a9d0000)]
0x000000000ad3f800 JavaThread “Thread-5” [_thread_blocked, id=5972, stack(0x000000000b9f0000,0x000000000baf0000)]
0x000000000a07d000 JavaThread “Thread-1” [_thread_blocked, id=6072, stack(0x000000000b8e0000,0x000000000b9e0000)]
0x000000000a00d800 JavaThread “Thread-4” [_thread_blocked, id=5132, stack(0x000000000b620000,0x000000000b720000)]
0x0000000009fa0800 JavaThread “Thread-3” [_thread_blocked, id=2120, stack(0x000000000b470000,0x000000000b570000)]
0x000000000ad42800 JavaThread “Thread-2” [_thread_blocked, id=5216, stack(0x000000000a6a0000,0x000000000a7a0000)]
0x0000000009dd5800 JavaThread “AWT-Windows” daemon [_thread_in_native, id=4212, stack(0x000000000ab20000,0x000000000ac20000)]
0x0000000009dd4800 JavaThread “AWT-Shutdown” [_thread_blocked, id=1172, stack(0x000000000a4c0000,0x000000000a5c0000)]
0x0000000009dd4000 JavaThread “Java2D Disposer” daemon [_thread_blocked, id=5528, stack(0x000000000a9d0000,0x000000000aad0000)]
0x0000000009dd0800 JavaThread “UniqueInstance-PortListenerThread” daemon [_thread_in_native, id=5492, stack(0x000000000a7c0000,0x000000000a8c0000)]
0x0000000007fe9800 JavaThread “Service Thread” daemon [_thread_blocked, id=680, stack(0x0000000009a10000,0x0000000009b10000)]
0x0000000007fe8800 JavaThread “C2 CompilerThread1” daemon [_thread_blocked, id=5276, stack(0x0000000009710000,0x0000000009810000)]
0x0000000007fe2000 JavaThread “C2 CompilerThread0” daemon [_thread_blocked, id=2852, stack(0x0000000009870000,0x0000000009970000)]
0x0000000007fe1800 JavaThread “Attach Listener” daemon [_thread_blocked, id=3180, stack(0x0000000009490000,0x0000000009590000)]
0x0000000007fda000 JavaThread “Signal Dispatcher” daemon [_thread_blocked, id=5500, stack(0x00000000095a0000,0x00000000096a0000)]
0x0000000007f8a000 JavaThread “Finalizer” daemon [_thread_blocked, id=2788, stack(0x0000000009350000,0x0000000009450000)]
0x0000000007f81000 JavaThread “Reference Handler” daemon [_thread_blocked, id=4092, stack(0x0000000009040000,0x0000000009140000)]

Other Threads:
0x0000000007f7b800 VMThread [stack: 0x00000000091a0000,0x00000000092a0000] [id=2812]
0x0000000007ffa000 WatcherThread [stack: 0x0000000009be0000,0x0000000009ce0000] [id=3064]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 148480K, used 120315K [0x00000000eb880000, 0x00000000f5b00000, 0x0000000100000000)
eden space 134656K, 84% used [0x00000000eb880000,0x00000000f26f8e68,0x00000000f3c00000)
from space 13824K, 52% used [0x00000000f4d80000,0x00000000f5485e00,0x00000000f5b00000)
to space 15872K, 0% used [0x00000000f3c00000,0x00000000f3c00000,0x00000000f4b80000)
ParOldGen total 77312K, used 31563K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d2ee0,0x00000000c7580000)
PSPermGen total 39936K, used 21769K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 54% used [0x00000000bd800000,0x00000000bed425b8,0x00000000bff00000)

Card table byte_map: [0x00000000050d0000,0x00000000052f0000] byte_map_base: 0x0000000004ae4000

Polling page: 0x0000000000230000

Code Cache [0x0000000002010000, 0x0000000002350000, 0x0000000005010000)
total_blobs=1790 nmethods=1168 adapters=573 free_code_cache=45933Kb largest_free_block=46974080

Compilation events (10 events):
Event: 18.865 Thread 0x0000000007fe2000 1241 java.lang.Double::doubleToLongBits (33 bytes)
Event: 18.865 Thread 0x0000000007fe2000 nmethod 1241 0x0000000002336b10 code [0x0000000002336c40, 0x0000000002336cb8]
Event: 18.869 Thread 0x0000000007fe8800 1242 s sun.java2d.loops.RenderCache::get (100 bytes)
Event: 18.871 Thread 0x0000000007fe2000 1243 sun.java2d.loops.RenderCache$Entry::matches (30 bytes)
Event: 18.871 Thread 0x0000000007fe2000 nmethod 1243 0x0000000002336910 code [0x0000000002336a40, 0x0000000002336ab8]
Event: 18.877 Thread 0x0000000007fe8800 nmethod 1242 0x0000000002335f10 code [0x0000000002336060, 0x00000000023366f8]
Event: 18.884 Thread 0x0000000007fe2000 1244 ! sun.awt.image.URLImageSource::checkSecurity (42 bytes)
Event: 18.885 Thread 0x0000000007fe2000 nmethod 1244 0x0000000002335cd0 code [0x0000000002335e00, 0x0000000002335e78]
Event: 19.411 Thread 0x0000000007fe8800 1245 java.lang.AbstractStringBuilder::charAt (28 bytes)
Event: 19.412 Thread 0x0000000007fe8800 nmethod 1245 0x0000000002339f10 code [0x000000000233a040, 0x000000000233a0d8]

GC Heap History (10 events):
Event: 8.536 GC heap before
{Heap before GC invocations=13 (full 1):
PSYoungGen total 105984K, used 88832K [0x00000000eb880000, 0x00000000f4300000, 0x0000000100000000)
eden space 83968K, 100% used [0x00000000eb880000,0x00000000f0a80000,0x00000000f0a80000)
from space 22016K, 22% used [0x00000000f0a80000,0x00000000f0f40010,0x00000000f2000000)
to space 20992K, 0% used [0x00000000f2e80000,0x00000000f2e80000,0x00000000f4300000)
ParOldGen total 77312K, used 31553K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d0580,0x00000000c7580000)
PSPermGen total 39936K, used 20848K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 52% used [0x00000000bd800000,0x00000000bec5c248,0x00000000bff00000)
Event: 8.540 GC heap after
Heap after GC invocations=13 (full 1):
PSYoungGen total 115712K, used 5424K [0x00000000eb880000, 0x00000000f3f00000, 0x0000000100000000)
eden space 98816K, 0% used [0x00000000eb880000,0x00000000eb880000,0x00000000f1900000)
from space 16896K, 32% used [0x00000000f2e80000,0x00000000f33cc020,0x00000000f3f00000)
to space 19456K, 0% used [0x00000000f1900000,0x00000000f1900000,0x00000000f2c00000)
ParOldGen total 77312K, used 31553K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d0580,0x00000000c7580000)
PSPermGen total 39936K, used 20848K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 52% used [0x00000000bd800000,0x00000000bec5c248,0x00000000bff00000)
}
Event: 9.224 GC heap before
{Heap before GC invocations=14 (full 1):
PSYoungGen total 115712K, used 104240K [0x00000000eb880000, 0x00000000f3f00000, 0x0000000100000000)
eden space 98816K, 100% used [0x00000000eb880000,0x00000000f1900000,0x00000000f1900000)
from space 16896K, 32% used [0x00000000f2e80000,0x00000000f33cc020,0x00000000f3f00000)
to space 19456K, 0% used [0x00000000f1900000,0x00000000f1900000,0x00000000f2c00000)
ParOldGen total 77312K, used 31553K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d05c0,0x00000000c7580000)
PSPermGen total 39936K, used 21021K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 52% used [0x00000000bd800000,0x00000000bec87590,0x00000000bff00000)
Event: 9.228 GC heap after
Heap after GC invocations=14 (full 1):
PSYoungGen total 118272K, used 5792K [0x00000000eb880000, 0x00000000f4c80000, 0x0000000100000000)
eden space 98816K, 0% used [0x00000000eb880000,0x00000000eb880000,0x00000000f1900000)
from space 19456K, 29% used [0x00000000f1900000,0x00000000f1ea8010,0x00000000f2c00000)
to space 18432K, 0% used [0x00000000f3a80000,0x00000000f3a80000,0x00000000f4c80000)
ParOldGen total 77312K, used 31553K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d05c0,0x00000000c7580000)
PSPermGen total 39936K, used 21021K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 52% used [0x00000000bd800000,0x00000000bec87590,0x00000000bff00000)
}
Event: 9.630 GC heap before
{Heap before GC invocations=15 (full 1):
PSYoungGen total 118272K, used 104608K [0x00000000eb880000, 0x00000000f4c80000, 0x0000000100000000)
eden space 98816K, 100% used [0x00000000eb880000,0x00000000f1900000,0x00000000f1900000)
from space 19456K, 29% used [0x00000000f1900000,0x00000000f1ea8010,0x00000000f2c00000)
to space 18432K, 0% used [0x00000000f3a80000,0x00000000f3a80000,0x00000000f4c80000)
ParOldGen total 77312K, used 31555K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d0ee0,0x00000000c7580000)
PSPermGen total 39936K, used 21049K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 52% used [0x00000000bd800000,0x00000000bec8e5e0,0x00000000bff00000)
Event: 9.634 GC heap after
Heap after GC invocations=15 (full 1):
PSYoungGen total 132096K, used 5744K [0x00000000eb880000, 0x00000000f4b00000, 0x0000000100000000)
eden space 115200K, 0% used [0x00000000eb880000,0x00000000eb880000,0x00000000f2900000)
from space 16896K, 33% used [0x00000000f3a80000,0x00000000f401c020,0x00000000f4b00000)
to space 17408K, 0% used [0x00000000f2900000,0x00000000f2900000,0x00000000f3a00000)
ParOldGen total 77312K, used 31563K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d2ee0,0x00000000c7580000)
PSPermGen total 39936K, used 21049K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 52% used [0x00000000bd800000,0x00000000bec8e5e0,0x00000000bff00000)
}
Event: 10.403 GC heap before
{Heap before GC invocations=16 (full 1):
PSYoungGen total 132096K, used 120944K [0x00000000eb880000, 0x00000000f4b00000, 0x0000000100000000)
eden space 115200K, 100% used [0x00000000eb880000,0x00000000f2900000,0x00000000f2900000)
from space 16896K, 33% used [0x00000000f3a80000,0x00000000f401c020,0x00000000f4b00000)
to space 17408K, 0% used [0x00000000f2900000,0x00000000f2900000,0x00000000f3a00000)
ParOldGen total 77312K, used 31563K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d2ee0,0x00000000c7580000)
PSPermGen total 39936K, used 21356K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 53% used [0x00000000bd800000,0x00000000becdb2b0,0x00000000bff00000)
Event: 10.415 GC heap after
Heap after GC invocations=16 (full 1):
PSYoungGen total 132608K, used 6667K [0x00000000eb880000, 0x00000000f5d80000, 0x0000000100000000)
eden space 115200K, 0% used [0x00000000eb880000,0x00000000eb880000,0x00000000f2900000)
from space 17408K, 38% used [0x00000000f2900000,0x00000000f2f82e80,0x00000000f3a00000)
to space 16384K, 0% used [0x00000000f4d80000,0x00000000f4d80000,0x00000000f5d80000)
ParOldGen total 77312K, used 31563K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d2ee0,0x00000000c7580000)
PSPermGen total 39936K, used 21356K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 53% used [0x00000000bd800000,0x00000000becdb2b0,0x00000000bff00000)
}
Event: 11.537 GC heap before
{Heap before GC invocations=17 (full 1):
PSYoungGen total 132608K, used 121867K [0x00000000eb880000, 0x00000000f5d80000, 0x0000000100000000)
eden space 115200K, 100% used [0x00000000eb880000,0x00000000f2900000,0x00000000f2900000)
from space 17408K, 38% used [0x00000000f2900000,0x00000000f2f82e80,0x00000000f3a00000)
to space 16384K, 0% used [0x00000000f4d80000,0x00000000f4d80000,0x00000000f5d80000)
ParOldGen total 77312K, used 31563K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d2ee0,0x00000000c7580000)
PSPermGen total 39936K, used 21620K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 54% used [0x00000000bd800000,0x00000000bed1d270,0x00000000bff00000)
Event: 11.544 GC heap after
Heap after GC invocations=17 (full 1):
PSYoungGen total 148480K, used 7191K [0x00000000eb880000, 0x00000000f5b00000, 0x0000000100000000)
eden space 134656K, 0% used [0x00000000eb880000,0x00000000eb880000,0x00000000f3c00000)
from space 13824K, 52% used [0x00000000f4d80000,0x00000000f5485e00,0x00000000f5b00000)
to space 15872K, 0% used [0x00000000f3c00000,0x00000000f3c00000,0x00000000f4b80000)
ParOldGen total 77312K, used 31563K [0x00000000c2a00000, 0x00000000c7580000, 0x00000000eb880000)
object space 77312K, 40% used [0x00000000c2a00000,0x00000000c48d2ee0,0x00000000c7580000)
PSPermGen total 39936K, used 21620K [0x00000000bd800000, 0x00000000bff00000, 0x00000000c2a00000)
object space 39936K, 54% used [0x00000000bd800000,0x00000000bed1d270,0x00000000bff00000)
}

Deoptimization events (10 events):
Event: 12.023 Thread 0x000000000a034000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000215f660 method=java.awt.Container.findComponentAtImpl(IIZ)Ljava/awt/Component; @ 76
Event: 12.024 Thread 0x000000000a034000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000215f660 method=java.awt.Container.findComponentAtImpl(IIZ)Ljava/awt/Component; @ 76
Event: 12.024 Thread 0x000000000a034000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000215f660 method=java.awt.Container.findComponentAtImpl(IIZ)Ljava/awt/Component; @ 76
Event: 12.031 Thread 0x000000000a034000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000215f660 method=java.awt.Container.findComponentAtImpl(IIZ)Ljava/awt/Component; @ 76
Event: 18.194 Thread 0x000000000a034000 Uncommon trap: reason=unreached action=reinterpret pc=0x000000000225dff8 method=javax.swing.JComponent.putClientProperty(Ljava/lang/Object;Ljava/lang/Object;)V @ 57
Event: 18.256 Thread 0x000000000a034000 Uncommon trap: reason=unreached action=reinterpret pc=0x00000000022308e8 method=java.awt.KeyboardFocusManager.clearMostRecentFocusOwner(Ljava/awt/Component;)V @ 64
Event: 18.256 Thread 0x000000000a034000 Uncommon trap: reason=unreached action=reinterpret pc=0x0000000002181cac method=java.awt.Container.decreaseComponentCount(Ljava/awt/Component;)V @ 34
Event: 18.257 Thread 0x000000000a034000 Uncommon trap: reason=unreached action=reinterpret pc=0x0000000002240e90 method=java.awt.EventQueue.removeSourceEvents(Ljava/lang/Object;Z)V @ 51
Event: 19.319 Thread 0x000000000ac24000 Uncommon trap: reason=unreached action=reinterpret pc=0x00000000022b9e04 method=com.jme3.renderer.lwjgl.LwjglRenderer.applyRenderState(Lcom/jme3/material/RenderState;)V @ 677
Event: 19.388 Thread 0x000000000ac24000 Uncommon trap: reason=unreached action=reinterpret pc=0x00000000022fcfd4 method=com.jme3.renderer.lwjgl.LwjglRenderer.setTexture(ILcom/jme3/texture/Texture;)V @ 117

Internal exceptions (10 events):
Event: 11.851 Thread 0x0000000009fa0800 Threw 0x00000000f0d5b670 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 12.446 Thread 0x0000000009f73000 Threw 0x00000000f17f2f90 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jni.cpp:743
Event: 12.468 Thread 0x0000000009f6e800 Threw 0x00000000f1823948 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jni.cpp:743
Event: 14.457 Thread 0x0000000009f73000 Threw 0x00000000f180dec0 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jni.cpp:743
Event: 14.478 Thread 0x0000000009f6e800 Threw 0x00000000f183e830 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jni.cpp:743
Event: 16.467 Thread 0x0000000009f73000 Threw 0x00000000f1a8d3f8 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jni.cpp:743
Event: 16.488 Thread 0x0000000009f6e800 Threw 0x00000000f1afb440 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jni.cpp:743
Event: 18.193 Thread 0x000000000a034000 Threw 0x00000000f20f11f8 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 18.477 Thread 0x0000000009f73000 Threw 0x00000000f247c300 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jni.cpp:743
Event: 18.498 Thread 0x0000000009f6e800 Threw 0x00000000f24a62b8 at C:\re\jdk7u45\229\hotspot\src\share\vm\prims\jni.cpp:743

Events (10 events):
Event: 18.880 Executing VM operation: RevokeBias
Event: 18.880 Executing VM operation: RevokeBias done
Event: 18.880 Executing VM operation: RevokeBias
Event: 18.880 Executing VM operation: RevokeBias done
Event: 19.319 Thread 0x000000000ac24000 Uncommon trap: trap_request=0xffffffad fr.pc=0x00000000022b9e04
Event: 19.319 Thread 0x000000000ac24000 DEOPT PACKING pc=0x00000000022b9e04 sp=0x0000000010a7f250
Event: 19.319 Thread 0x000000000ac24000 DEOPT UNPACKING pc=0x00000000020475a4 sp=0x0000000010a7f1f0 mode 2
Event: 19.388 Thread 0x000000000ac24000 Uncommon trap: trap_request=0xffffffad fr.pc=0x00000000022fcfd4
Event: 19.388 Thread 0x000000000ac24000 DEOPT PACKING pc=0x00000000022fcfd4 sp=0x0000000010a7f240
Event: 19.388 Thread 0x000000000ac24000 DEOPT UNPACKING pc=0x00000000020475a4 sp=0x0000000010a7f1c8 mode 2

Dynamic libraries:
0x000000013fa20000 - 0x000000013fa53000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\java.exe
0x00000000772b0000 - 0x0000000077459000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000076e20000 - 0x0000000076f3f000 C:\Windows\system32\kernel32.dll
0x000007fefd800000 - 0x000007fefd86b000 C:\Windows\system32\KERNELBASE.dll
0x000007feff3a0000 - 0x000007feff47b000 C:\Windows\system32\ADVAPI32.dll
0x000007feff1b0000 - 0x000007feff24f000 C:\Windows\system32\msvcrt.dll
0x000007fefdaf0000 - 0x000007fefdb0f000 C:\Windows\SYSTEM32\sechost.dll
0x000007feff250000 - 0x000007feff37d000 C:\Windows\system32\RPCRT4.dll
0x0000000076bd0000 - 0x0000000076cca000 C:\Windows\system32\USER32.dll
0x000007feff140000 - 0x000007feff1a7000 C:\Windows\system32\GDI32.dll
0x000007fefeb30000 - 0x000007fefeb3e000 C:\Windows\system32\LPK.dll
0x000007feff070000 - 0x000007feff139000 C:\Windows\system32\USP10.dll
0x000007fefbb40000 - 0x000007fefbd34000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefdd20000 - 0x000007fefdd91000 C:\Windows\system32\SHLWAPI.dll
0x000007fefdcf0000 - 0x000007fefdd1e000 C:\Windows\system32\IMM32.DLL
0x000007fefdb60000 - 0x000007fefdc69000 C:\Windows\system32\MSCTF.dll
0x0000000066380000 - 0x0000000066452000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\msvcr100.dll
0x000000005c410000 - 0x000000005cbd9000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\server\jvm.dll
0x000007fefa300000 - 0x000007fefa309000 C:\Windows\system32\WSOCK32.dll
0x000007fefdb10000 - 0x000007fefdb5d000 C:\Windows\system32\WS2_32.dll
0x000007fefdae0000 - 0x000007fefdae8000 C:\Windows\system32\NSI.dll
0x000007fefb6c0000 - 0x000007fefb6fb000 C:\Windows\system32\WINMM.dll
0x0000000077470000 - 0x0000000077477000 C:\Windows\system32\PSAPI.DLL
0x0000000072370000 - 0x000000007237f000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\verify.dll
0x0000000072250000 - 0x0000000072278000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\java.dll
0x0000000072130000 - 0x0000000072145000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\zip.dll
0x0000000063bd0000 - 0x0000000063d65000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\awt.dll
0x000007fefeb40000 - 0x000007fefec17000 C:\Windows\system32\OLEAUT32.dll
0x000007fefee60000 - 0x000007feff063000 C:\Windows\system32\ole32.dll
0x0000000072080000 - 0x0000000072099000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\net.dll
0x000007fefcf20000 - 0x000007fefcf75000 C:\Windows\system32\mswsock.dll
0x000007fefcf10000 - 0x000007fefcf17000 C:\Windows\System32\wship6.dll
0x000007fefd5e0000 - 0x000007fefd5ef000 C:\Windows\system32\CRYPTBASE.dll
0x000007fefdda0000 - 0x000007fefeb28000 C:\Windows\system32\SHELL32.dll
0x000007fefb610000 - 0x000007fefb628000 C:\Windows\system32\DWMAPI.DLL
0x0000000072060000 - 0x0000000072071000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\nio.dll
0x000007fefc8e0000 - 0x000007fefc8e7000 C:\Windows\System32\wshtcpip.dll
0x000007fefcda0000 - 0x000007fefcdfb000 C:\Windows\system32\DNSAPI.dll
0x000007fefa2d0000 - 0x000007fefa2f7000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fefa2c0000 - 0x000007fefa2cb000 C:\Windows\system32\WINNSI.DLL
0x000007fef9040000 - 0x000007fef9048000 C:\Windows\system32\rasadhlp.dll
0x000007fef9d40000 - 0x000007fef9d93000 C:\Windows\System32\fwpuclnt.dll
0x0000000180000000 - 0x0000000180050000 D:\Users\hmiladi\Desktop\PPF12_9_10\lwjgl64.dll
0x000007fef43a0000 - 0x000007fef44bd000 C:\Windows\system32\OPENGL32.dll
0x000007fef4370000 - 0x000007fef439d000 C:\Windows\system32\GLU32.dll
0x000007fef3680000 - 0x000007fef3771000 C:\Windows\system32\DDRAW.dll
0x000007fef42d0000 - 0x000007fef42d8000 C:\Windows\system32\DCIMAN32.dll
0x000007fefec20000 - 0x000007fefedf7000 C:\Windows\system32\SETUPAPI.dll
0x000007fefd7c0000 - 0x000007fefd7f6000 C:\Windows\system32\CFGMGR32.dll
0x000007fefdac0000 - 0x000007fefdada000 C:\Windows\system32\DEVOBJ.dll
0x000007fefc8c0000 - 0x000007fefc8cc000 C:\Windows\system32\VERSION.dll
0x0000000072010000 - 0x0000000072056000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\fontmanager.dll
0x000000006b840000 - 0x000000006b881000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\t2k.dll
0x000000000e420000 - 0x000000000f6f0000 C:\Windows\system32\ig4icd64.dll
0x000007feff480000 - 0x000007feff519000 C:\Windows\system32\CLBCatQ.DLL
0x000007fefb410000 - 0x000007fefb53a000 C:\Windows\system32\WindowsCodecs.dll
0x000007fefd690000 - 0x000007fefd6e7000 C:\Windows\system32\apphelp.dll
0x0000000072a30000 - 0x0000000072a46000 C:\Program Files\Common Files\TortoiseOverlays\TortoiseOverlays.dll
0x0000000073880000 - 0x0000000073890000 C:\Program Files\TortoiseSVN\bin\TortoiseStub.dll
0x000000006f620000 - 0x000000006f69b000 C:\Program Files\TortoiseSVN\bin\TortoiseSVN.dll
0x0000000076f40000 - 0x000000007709b000 C:\Windows\system32\WININET.dll
0x0000000077480000 - 0x0000000077483000 C:\Windows\system32\Normaliz.dll
0x00000000770a0000 - 0x00000000772b0000 C:\Windows\system32\iertutil.dll
0x0000000076cd0000 - 0x0000000076e1d000 C:\Windows\system32\urlmon.dll
0x000007fef1960000 - 0x000007fef1d49000 C:\Program Files\TortoiseSVN\bin\libsvn_tsvn.dll
0x000000006f5f0000 - 0x000000006f61b000 C:\Program Files\TortoiseSVN\bin\libapr_tsvn.dll
0x000000006f4c0000 - 0x000000006f501000 C:\Program Files\TortoiseSVN\bin\libaprutil_tsvn.dll
0x000007fefee00000 - 0x000007fefee52000 C:\Windows\system32\WLDAP32.dll
0x000007fef30c0000 - 0x000007fef30d0000 C:\Program Files\TortoiseSVN\bin\intl3_tsvn.dll
0x000007fef30a0000 - 0x000007fef30ba000 C:\Program Files\TortoiseSVN\bin\libsasl.dll
0x000007fefd570000 - 0x000007fefd57b000 C:\Windows\system32\Secur32.dll
0x000007fefd5b0000 - 0x000007fefd5d5000 C:\Windows\system32\SSPICLI.DLL
0x000007fefd870000 - 0x000007fefd9dc000 C:\Windows\system32\CRYPT32.dll
0x000007fefd7b0000 - 0x000007fefd7bf000 C:\Windows\system32\MSASN1.dll
0x000000006f420000 - 0x000000006f4b8000 C:\Windows\system32\MSVCP100.dll
0x000007fefbaa0000 - 0x000007fefbaf6000 C:\Windows\system32\UXTHEME.DLL
0x000007fef3060000 - 0x000007fef3095000 C:\Windows\system32\EhStorShell.dll
0x000007fefc320000 - 0x000007fefc44c000 C:\Windows\system32\PROPSYS.dll
0x000007fef12e0000 - 0x000007fef1952000 C:\PROGRA~1\MICROS~1\Office14\GROOVEEX.DLL
0x00000000739b0000 - 0x0000000073a53000 C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\MSVCR90.dll
0x000000006f340000 - 0x000000006f413000 C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\MSVCP90.dll
0x000000006f310000 - 0x000000006f33f000 C:\Windows\WinSxS\amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_0a1fd3a3a768b895\ATL90.DLL
0x000007fef0ed0000 - 0x000007fef12df000 C:\PROGRA~1\COMMON~1\MICROS~1\OFFICE14\Cultures\office.odf
0x000007fef2fe0000 - 0x000007fef305e000 C:\Windows\System32\cscui.dll
0x000007fef2fa0000 - 0x000007fef2fac000 C:\Windows\System32\CSCDLL.dll
0x000007fef6a60000 - 0x000007fef6a6f000 C:\Windows\system32\CSCAPI.dll
0x000007fef27f0000 - 0x000007fef2870000 C:\Windows\system32\ntshrui.dll
0x000007fefd4d0000 - 0x000007fefd4f3000 C:\Windows\system32\srvcli.dll
0x000007fefba90000 - 0x000007fefba9b000 C:\Windows\system32\slc.dll
0x000007fef2f90000 - 0x000007fef2f98000 C:\Windows\system32\IconCodecService.dll
0x00000000096a0000 - 0x0000000009704000 D:\Users\hmiladi\Desktop\PPF12_9_10\OpenAL64.dll
0x000007fefc460000 - 0x000007fefc4ab000 C:\Windows\System32\MMDevApi.dll
0x000007fef42e0000 - 0x000007fef4368000 C:\Windows\system32\dsound.dll
0x000007fefc860000 - 0x000007fefc88c000 C:\Windows\system32\POWRPROF.dll
0x000007fefb580000 - 0x000007fefb5cf000 C:\Windows\system32\AUDIOSES.DLL
0x0000000072340000 - 0x0000000072370000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\jpeg.dll
0x0000000072330000 - 0x0000000072337000 C:\Program Files\Java\jdk1.7.0_45\jre\bin\jawt.dll
0x000007fefad30000 - 0x000007fefae55000 C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dfile.encoding=UTF-8
java_command: com.steria.ppf12_9_10.Main
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_32
PATH=C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;D:\Apps\apache-maven-3.0.4;C:\Program Files (x86)\Java\jdk1.6.0_32\bin;D:\Apps\apache-maven-3.0.4\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Common Files\Adobe\AGL
USERNAME=hmiladi
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel

--------------- S Y S T E M ---------------

OS: Windows 7 , 64 bit Build 7601 Service Pack 1

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, tsc, tscinvbit

Memory: 4k page, physical 4014404k(1461580k free), swap 8026948k(5134628k free)

vm_info: Java HotSpot™ 64-Bit Server VM (24.45-b08) for windows-amd64 JRE (1.7.0_45-b18), built on Oct 8 2013 05:47:22 by “java_re” with unknown MS VC++:1600

time: Mon Nov 18 10:03:20 2013
elapsed time: 19 seconds

thanks you for your help. :slight_smile:

First, what do you mean by this? " if I delete and I recharge another"

Second, “ig4icd64.dll”… it’s the display driver crapping out. Maybe see if there are new intel drivers for your graphics card… though they seem to be infamously fragile.

Thanks for your answer pspeed

recharge = reload sorry i havent translate the word :slight_smile:

I install the new Intel drivers and it works better, the program does not crash

However, I have noticed that now I can load my application in the panel of the JDialog, delete and reload another and do that as many times as I want, but my stage is the first time then load the second time and has every faith after I load the animation instead of having my stage, the animation will not not load my stage I have a black screen.

Recess and I can not load 2 Still animation same time in to different JDialog.

hello i come back to you because I search but I haven’t find the solution.

I want to load 3 Animation (Animation is a class extends SimpleApplication) in same time and whene I try it i got this message :

nov. 20, 2013 3:40:26 PM com.jme3.app.Application handleError
Grave: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL11.glGetError(GL11.java:1289)
at org.lwjgl.opengl.Util.checkGLError(Util.java:57)
at org.lwjgl.opengl.WindowsContextImplementation.setSwapInterval(WindowsContextImplementation.java:113)
at org.lwjgl.opengl.ContextGL.setSwapInterval(ContextGL.java:232)
at org.lwjgl.opengl.DrawableGL.setSwapInterval(DrawableGL.java:86)
at org.lwjgl.opengl.Display.setSwapInterval(Display.java:1120)
at org.lwjgl.opengl.Display.setVSyncEnabled(Display.java:1133)
at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:462)
at com.jme3.system.lwjgl.LwjglCanvas.restoreCanvas(LwjglCanvas.java:267)
at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:196)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
at java.lang.Thread.run(Thread.java:744)

Do you have an idea?
Thanks

How many applications do you want in your application?

Hint: only one application per application.

In fact i work in a software who must be able to show three animation in same time.

I will have twelve scene in .jmos files (export with blender) and on demand the animation 1 (extend simple application) will load one of these scene, the animation 2 will load one of these scene and it’s possible that animation 1 and animation 2 load the same scene.this is an other problem.

I tested with two class liveview and Liveview_session2 (look the first post) and only the first animation instantiate work.

You can’t have more than one application per application. Just like you can’t have more than one horse per horse or more than one donut per donut (if only!).

So there will be a different way to accomplish what you are trying to do.

It is difficult to understand your description so you may want to show a picture of what you mean.

Ok pspeed

On the screen you can see a jFrame with an animation in the Tab1.
Actualy I can’t show an other animation in tab2 and tab3 in same time but my software must be able to do that.

the screen is in this url http://demo.ovh.eu/fr/9ab610f374af7bbcf87c79e27a121f14/

thanks

If I leave the comment it’s don’t work ant netbeans show these error :

nov. 21, 2013 4:38:49 PM com.jme3.system.JmeDesktopSystem initialize
Infos: Running on jMonkeyEngine 3.0.0 RC2
nov. 21, 2013 4:38:49 PM com.jme3.app.Application handleError
Grave: Failed to initialize OpenGL context
org.lwjgl.LWJGLException: Could not create dummy window
at org.lwjgl.opengl.WindowsPbufferPeerInfo.nCreate(Native Method)
at org.lwjgl.opengl.WindowsPbufferPeerInfo.<init>(WindowsPbufferPeerInfo.java:47)
at org.lwjgl.opengl.WindowsDisplay.createPbuffer(WindowsDisplay.java:718)
at org.lwjgl.opengl.Pbuffer.createPbuffer(Pbuffer.java:234)
at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:219)
at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:190)
at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:166)
at com.jme3.system.lwjgl.LwjglCanvas.makePbufferAvailable(LwjglCanvas.java:342)
at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:474)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Thread.java:744)

nov. 21, 2013 4:38:49 PM com.jme3.app.Application handleError
Grave: Failed to initialize OpenGL context
org.lwjgl.LWJGLException: Could not create dummy window
at org.lwjgl.opengl.WindowsPbufferPeerInfo.nCreate(Native Method)
at org.lwjgl.opengl.WindowsPbufferPeerInfo.<init>(WindowsPbufferPeerInfo.java:47)
at org.lwjgl.opengl.WindowsDisplay.createPbuffer(WindowsDisplay.java:718)
at org.lwjgl.opengl.Pbuffer.createPbuffer(Pbuffer.java:234)
at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:219)
at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:190)
at org.lwjgl.opengl.Pbuffer.<init>(Pbuffer.java:166)
at com.jme3.system.lwjgl.LwjglCanvas.makePbufferAvailable(LwjglCanvas.java:342)
at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:474)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Thread.java:744)

nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Lwjgl context running on thread LWJGL Renderer Thread
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Lwjgl context running on thread LWJGL Renderer Thread
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Adapter: igdumd64
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Adapter: igdumd64
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Driver Version: 9.17.10.3223
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Driver Version: 9.17.10.3223
nov. 21, 2013 4:38:49 PM com.jme3.app.Application handleError
Grave: Failed to create display
java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL11.glGetString(GL11.java:1782)
at com.jme3.system.lwjgl.LwjglContext.printContextInitInfo(LwjglContext.java:82)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:114)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Thread.java:744)

nov. 21, 2013 4:38:49 PM com.jme3.app.Application handleError
Grave: Failed to create display
java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL11.glGetString(GL11.java:1782)
at com.jme3.system.lwjgl.LwjglContext.printContextInitInfo(LwjglContext.java:82)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:114)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Thread.java:744)

nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run
Grave: Display initialization failed. Cannot continue.
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run
Grave: Display initialization failed. Cannot continue.
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Lwjgl context running on thread LWJGL Renderer Thread
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Adapter: igdumd64
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Driver Version: 9.17.10.3223
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Vendor: Intel
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: OpenGL Version: 3.1.0 - Build 9.17.10.3223
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: Renderer: Intel® HD Graphics 2000
nov. 21, 2013 4:38:49 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
Infos: GLSL Ver: 1.40 - Intel Build 9.17.10.3223

Use AWT panels instead, then you can create as many instances as you want. Canvas and display only allows you to create 1 (!) instance.

See TestAwtPanels class on an example on how to do this.

Yhank you Momoko.

Ok it look like that I want to do but the problem remains the same. I cant instanciate 2 or 3 class_extends_SimpleApplication.

On the TestAwtPanels example of code we have 2 panel and. on the first we can see the scene, the second is destinate to the GUI, does not interest me .
On this TestAwtPanels i tried to create an intance of another class_extends_SimpleApplication so in the code i instantiate 2 ctx and 2 appSettings.

But obviously its dont work

package com.view.animation;

import com.jme3.app.SimpleApplication;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.scene.Geometry;
import com.jme3.scene.shape.Box;
import com.jme3.system.AppSettings;
import com.jme3.system.awt.AwtPanel;
import com.jme3.system.awt.AwtPanelsContext;
import com.jme3.system.awt.PaintMode;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.logging.Level;
import java.util.logging.Logger;

import javax.swing.JFrame;
import javax.swing.SwingUtilities;

public class TestAwtPanels extends SimpleApplication {

private static TestAwtPanels app;
private static SceneMetro scene;
private static AwtPanel panel, panel2;
private static int panelsClosed = 0;

private static void createWindowForPanel(AwtPanel panel, int location){
    JFrame frame = new JFrame("Render Display " + location);
    frame.getContentPane().setLayout(new BorderLayout());
    frame.getContentPane().add(panel, BorderLayout.CENTER);
    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    frame.addWindowListener(new WindowAdapter() {
        @Override
        public void windowClosed(WindowEvent e) {
            if (++panelsClosed == 2){
                app.stop();
            }
        }
    });
    frame.pack();
    frame.setLocation(location, Toolkit.getDefaultToolkit().getScreenSize().height - 400);
    frame.setVisible(true);
}

public static void main(String[] args){
    Logger.getLogger("com.jme3").setLevel(Level.WARNING);

    app = new TestAwtPanels();
    app.setShowSettings(false);
    AppSettings settings = new AppSettings(true);
    settings.setCustomRenderer(AwtPanelsContext.class);
    settings.setFrameRate(60);
    app.setSettings(settings);
    app.start();
    
    scene = new SceneMetro();
    scene.setShowSettings(false);
    AppSettings settings2 = new AppSettings(true);
    settings2.setCustomRenderer(AwtPanelsContext.class);
    settings2.setFrameRate(60);
    scene.setSettings(settings2);
    scene.start();

    SwingUtilities.invokeLater(new Runnable(){
        public void run(){
            final AwtPanelsContext ctx = (AwtPanelsContext) app.getContext();
            final AwtPanelsContext ctx2 = (AwtPanelsContext) scene.getContext();
            panel = ctx.createPanel(PaintMode.Accelerated);
            panel.setPreferredSize(new Dimension(400, 300));
            ctx.setInputSource(panel);

            panel2 = ctx2.createPanel(PaintMode.Accelerated);
            panel2.setPreferredSize(new Dimension(400, 300));

            createWindowForPanel(panel, 300);
            createWindowForPanel(panel2, 700);
        }
    });
}

@Override
public void simpleInitApp() {
    flyCam.setDragToRotate(true);

    Box boxshape1 = new Box(1f, 1f, 1f);
    Geometry cube1 = new Geometry("box", boxshape1);
    Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
    mat.setColor("Color", ColorRGBA.Blue);

    cube1.setMaterial(mat);
    rootNode.attachChild(cube1);

    panel.attachTo(true, viewPort);
    guiViewPort.setClearFlags(true, true, true);
    panel2.attachTo(false, guiViewPort);
}

}

Yeah you can’t do that.

Ok

so we can consider that Simple Application is like a singleton?

Well technically, headless applicationsa re not,
In fact its a lwjgl limitation not a jme one.

What you can do is, render to a canvas, ect and if the tab is cahnged just reuse it, and change the scene in jme synchronized.

ok Empire Phoenix I will do that

thanks for your answer :wink: