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

Fail to launch SemanticMapEditor

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

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)
    at edu.tum.cs.ias.knowrob.map.SemanticMapEditor.main(SemanticMapEditor.java:69)
Caused by: java.lang.NullPointerException
    at controlP5.ControlWindow.<init>(Unknown Source)
    at controlP5.ControlP5.init(Unknown Source)
    at controlP5.ControlP5.<init>(Unknown Source)
    at de.tum.in.fipm.kipm.gui.visualisation.base.PrologVisualizationCanvas.initControlP5(PrologVisualizationCanvas.java:431)
    at de.tum.in.fipm.kipm.gui.visualisation.base.PrologVisualizationCanvas.<init>(PrologVisualizationCanvas.java:70)
    at edu.tum.cs.ias.knowrob.map.SemanticMapEditor.<init>(SemanticMapEditor.java:29)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at java.lang.Class.newInstance0(Class.java:374)
    at java.lang.Class.newInstance(Class.java:327)
    ... 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?

Thanks~

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

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 http://www.knowrob.org/doc/semantic_map_editor

If you still use the old KnowRob version, please also update to the new source version hosted at github by following the instructions here http://www.knowrob.org/installation#installation_from_source

edit flag offensive delete link more

Comments

Cool! Thanks~I'll try later!

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

Question Tools

1 follower

Stats

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

Seen: 213 times

Last updated: Aug 22 '13