Error when starting a clean project [SOLVED]

When I try to launch a new project (I just add one via File\New Project\JME3\BasicGame) and launch it, I get the following error after clicking ÓK’ in the Select Display Settings Screen and the application terminates:

run:
31-jan-2013 22:51:41 com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.0 Beta
31-jan-2013 22:51:41 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: C:\Users\Arjen\Documents\jMonkeyProjects\BasicGame
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglAbstractDisplay run
INFO: Using LWJGL 2.8.4
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglDisplay createContext
INFO: Selected display mode: 1280 x 720 x 0 @0Hz
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: atiu9p64 aticfx64 atiu9pag aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: ATI Technologies Inc.
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 3.2.9551 Compatibility Profile Context
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: ATI Radeon 3000 Graphics
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.50
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglTimer
INFO: Timer resolution: 1.000 ticks per second
31-jan-2013 22:51:41 com.jme3.renderer.lwjgl.LwjglRenderer initialize
INFO: Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample, TextureMultisample, OpenGL20, OpenGL21, OpenGL30, OpenGL31, OpenGL32, ARBprogram, GLSL100, GLSL110, GLSL120, GLSL130, GLSL140, GLSL150, VertexTextureFetch, TextureArray, TextureBuffer, FloatTexture, FloatColorBuffer, FloatDepthBuffer, PackedFloatTexture, SharedExponentTexture, PackedFloatColorBuffer, TextureCompressionLATC, NonPowerOfTwoTextures, MeshInstancing, VertexBufferArray, Multisample, PackedDepthStencilBuffer]
31-jan-2013 22:51:41 com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
31-jan-2013 22:51:41 com.jme3.asset.DesktopAssetManager
INFO: DesktopAssetManager created.
31-jan-2013 22:51:41 com.jme3.renderer.Camera
INFO: Camera created (W: 1.280, H: 720)
31-jan-2013 22:51:41 com.jme3.renderer.Camera
INFO: Camera created (W: 1.280, H: 720)
31-jan-2013 22:51:41 com.jme3.input.lwjgl.LwjglMouseInput initialize
INFO: Mouse created.
31-jan-2013 22:51:41 com.jme3.input.lwjgl.LwjglKeyInput initialize
INFO: Keyboard created.
31-jan-2013 22:51:41 com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.UnsupportedOperationException: Unrecognizable audio renderer specified: Send
at com.jme3.system.JmeDesktopSystem.newAudioRenderer(JmeDesktopSystem.java:262)
at com.jme3.system.JmeSystem.newAudioRenderer(JmeSystem.java:133)
at com.jme3.app.Application.initAudio(Application.java:231)
at com.jme3.app.Application.initialize(Application.java:508)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:183)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:130)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Thread.java:662)
31-jan-2013 22:51:41 com.jme3.renderer.lwjgl.LwjglRenderer cleanup
INFO: Deleting objects and invalidating state
31-jan-2013 22:51:41 com.jme3.input.lwjgl.LwjglMouseInput destroy
INFO: Mouse destroyed.
31-jan-2013 22:51:41 com.jme3.input.lwjgl.LwjglKeyInput destroy
INFO: Keyboard destroyed.
31-jan-2013 22:51:41 com.jme3.system.lwjgl.LwjglAbstractDisplay deinitInThread
INFO: Display destroyed.
BUILD SUCCESSFUL (total time: 6 seconds)

When I run a project I am working on for some time, I do not get this error. Is there anything wrong with the template?

[EDIT] --> It is related to the sound somehow: java.lang.UnsupportedOperationException: Unrecognizable audio renderer specified: Send

java.lang.UnsupportedOperationException: Unrecognizable audio renderer specified: Send at com.jme3.system.JmeDesktopSystem.newAudioRenderer(JmeDesktopSystem.java:262)
:?

Seems like your app defaults have some silly values saved. The appsettings get saved using java preferences. Try setting the audio renderer explicitly once.

1 Like

Okay, that worked:

[java] public static void main(String[] args)
{
Main app = new Main();

    AppSettings settings = new AppSettings(true);
    settings.setAudioRenderer(AppSettings.LWJGL_OPENAL);
    app.setSettings(settings);
   
    app.start();
}[/java]

Thanks!

1 Like