ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Fail to launch SemanticMapEditor

asked 2013-08-22 04:36:09 -0500

Hi, I am using Ubuntu 12.04 with ROS Fuerte. Recently, I tried to start SemanticMapEditor but it fails.

Error messages are listed below: (ROS master already started)

rosfuerte@rosfuerte-K53SM:~/project/ros/my_package/mod_semantic_map/bin$ ./SemanticMapEditor 
lights() is not available with this renderer.
Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException
    at processing.core.PApplet.runSketch(Unknown Source)
    at processing.core.PApplet.main(Unknown Source)
Caused by: java.lang.NullPointerException
    at controlP5.ControlWindow.<init>(Unknown Source)
    at controlP5.ControlP5.init(Unknown Source)
    at controlP5.ControlP5.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    at java.lang.reflect.Constructor.newInstance(
    at java.lang.Class.newInstance0(
    at java.lang.Class.newInstance(
    ... 3 more

I had this line in my /.bashrc:

JAVA_HOME=/usr/lib/jvm/default-java export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH

How to solve this problem?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-22 21:52:03 -0500

moritz gravatar image

It seems that you are still using the old version in the mod_semantic_map package. It's recommended that you switch to the new one as described here

If you still use the old KnowRob version, please also update to the new source version hosted at github by following the instructions here

edit flag offensive delete link more


Cool! Thanks~I'll try later!

Po-Jen Lai gravatar image Po-Jen Lai  ( 2013-08-22 23:36:27 -0500 )edit

Question Tools

1 follower


Asked: 2013-08-22 04:36:09 -0500

Seen: 190 times

Last updated: Aug 22 '13