Skip to content

Exceptions when running viewer #18

@mickey9294

Description

@mickey9294

I'm trying to run shapenet-viewer to render shapenet shapes.
However, when I run the viewer.sh on my Ubuntu 16.04, the following exceptions show up:

Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.ExceptionInInitializerError
at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:112)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: org.lwjgl.LWJGLException: No modes available
at org.lwjgl.opengl.Display.(Display.java:141)
... 4 more
Caused by: org.lwjgl.LWJGLException: No modes available
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:740)
at org.lwjgl.opengl.Display.(Display.java:138)
... 4 more

Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "jME3 Main"

My java version is:

java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

And the configure file I use just contains the following lines:

viewer.commands = [
"register shapeNetCore /home/magic/liuchuan/Projects/PointSetGeneration/data/ShapeNetCore.v1",
"load model random",
"show meshes",
"set cameraAngleFromHorizontal 0",
]

Can you tell me how to fix it?
Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions