Mythruna

General Category => Tech Support => Topic started by: megdimka on May 27, 2018, 11:03:47 PM



Title: error on Linux Ubuntu 18.04 amd64
Post by: megdimka on May 27, 2018, 11:03:47 PM
Hello world!
I have an error occured.
number one - when I started game(Vsync enabled);
number two - whein I jumped(Vsync disabled).
https://drive.google.com/open?id=1P0cGhw9zx_65GnPd09VnISLuqKM-256x (https://drive.google.com/open?id=1P0cGhw9zx_65GnPd09VnISLuqKM-256x)


Title: Re: error on Linux Ubuntu 18.04 amd64
Post by: Sean on May 28, 2018, 07:39:32 PM
Code:
Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
java.lang.NullPointerException
at com.jme3.util.BufferUtils.destroyDirectBuffer(BufferUtils.java:1210)
at com.jme3.util.BufferUtils.destroyDirectBuffer(BufferUtils.java:1215)
at mythruna.geom.LeafMesh.deleteBuffers(LeafMesh.java:55)
at mythruna.client.view.LeafReference.deleteBuffers(LeafReference.java:171)
at mythruna.client.view.LeafReference.applyUpdates(LeafReference.java:226)
at mythruna.client.view.GeometryBuilder.applyUpdates(GeometryBuilder.java:100)
at mythruna.client.view.LocalArea.updateGeometry(LocalArea.java:257)
at mythruna.client.GameAppState.update(GameAppState.java:470)
at com.jme3.app.state.AppStateManager.update(AppStateManager.java:255)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:241)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
at java.base/java.lang.Thread.run(Thread.java:844)

Build version:20120627

Memory usage:
Working memory: 82% (199727504/243269632)  VM Max: 37% (199727504/536870912)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    TextureMultisample
    OpenGL20
    OpenGL21
    OpenGL30
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    GLSL130
    VertexTextureFetch
    TextureArray
    FloatTexture
    FloatColorBuffer
    FloatDepthBuffer
    PackedFloatTexture
    SharedExponentTexture
    PackedFloatColorBuffer
    NonPowerOfTwoTextures
    MeshInstancing
    VertexBufferArray

Statistics:
  Vertices = 315684
  Triangles = 169990
  Uniforms = 3284
  Objects = 371
  Shaders (S) = 37
  Shaders (F) = 23
  Shaders (M) = 26
  Textures (S) = 127
  Textures (F) = 70
  Textures (M) = 81
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 4
Application settings:
DepthBits = 24
UseInput = true
FrameRate = -1
DisableJoysticks = true
AudioRenderer = LWJGL
VSync = false
Samples = 0
StencilBits = 0
Renderer = LWJGL-OpenGL2
Frequency = 60
Height = 1080
Fullscreen = true
BitsPerPixel = 24
Width = 1920

Display adapter information:
Adapter:null
Driver Version:null
Vendor:Intel Open Source Technology Center
Version:3.0 Mesa 18.0.0-rc5
Renderer:Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)
GLSL Ver:1.30

Hey megdimka, next time just paste the error right into the comment box.

How often are you getting this error? Based on the output of the two errors it doesn't seem to make a difference whether or not vsync is enabled.


Title: Re: error on Linux Ubuntu 18.04 amd64
Post by: pspeed on May 31, 2018, 01:07:00 AM
That error indicates that you are trying to run Mythruna with a newer version of Java than it supports.... probably Java 9?

Java 7 will work for sure.  Java 8 may work but I don't know.