wiki:FAQ

Frequently Asked Questions

1. Installing and building

java.lang.OutOfMemoryError: PermGen space

This error occurs while running the ant build targets.

Add the following setting to your ant.bat (or ant.sh, or ... depending on OS):

set ANT_OPTS=-Xmx256M -XX:MaxPermSize=256M

Resolve fails with a missing library THAT SHOULD NOT HAVE BEEN INCLUDED

E.g., I did not specify TTSNative, and I set transitive to false on all other modules so the TTSNative should also not indirectly be incldued. Why is it still being resolved?

For now: ask Dennis for an explanation (d reidsma at utwente nl) (Explanation will follow here)

Unsupported major.minor version 51.0

Make sure you use Sun java and javac 8. You can check the version number of your java with

javac -version
java -version

java.lang.IllegalArgumentException?: Master Gain not supported

Make sure you use Sun Java rather than the OpenJDK. OpenJDK apparently uses a not so compliant JSAPI implementation:  http://stackoverflow.com/questions/1914216/master-gain-not-supported-in-openjdk

2. Running

I see too much log information in the standard output

As explained on the ProgrammingGuidelines page, we use SLF4j as logging framework. You can control the logging output in great detail using a config file. Select the right file using the JVM setting -Dlogback.configurationFile=.... Example files can be found in HmiResource/LogbackConfigs/resource

I get memory exceptions

Don't forget to use the JVM options -Xms128m -Xmx512m -Xss5M

I get many openGL related errors

Check whether you have the latest driver for your graphics card

3. Changing resources or data files

I changed a resource file, but it seems that the program is somehow picking up a different version of the file!

Please check: you should use only one of the two resource inclusion methods (see above). Maybe you still have the resource spcified as a library in ivy.xml?

Please check: AsapRealizer works a lot with /relative/ paths. Check the extended documentation on using resource paths to see how this could lead to file conflicts.

4. Specifying Virtual Human Configurations

Emitter Engine not loading

I specified an Emitter Engine (e.g., blink or breathe) in the VirtualHumanSpec? file, but it does not want to load

Did you import the EmitterEngine library in your ivy.xml file?

5. Writing and testing behavior

What development tools do I have to design behavior?

The default demo GUI has a button to start a face expression editor; there is an editor to make your own procedural animations (ask below for more info); behavior bindings are edited in a text editor; ...

How do I test my BML blocks?

The default demo's offer a GUI to test single blocks.

6. Animation trouble

My procedural animation with automatic preparation does not work

Occurs with the following type of entry in the gesturebinding: <MotionUnit type="Gesture" class="hmi.elckerlyc.animationengine.procanimation.ProcAnimationGestureMU"/>

Note: the ProcAnimationGestureMU only works if all default key points are defined in the procanimation xml:

...
<KeyPosition id="start" weight="1" time="0.0"/>
<KeyPosition id="strokeStart" weight="1" time="0.0"/>
<KeyPosition id="stroke" weight="1" time="0.5"/>
<KeyPosition id="strokeEnd" weight="1" time="0.5"/>
<KeyPosition id="relax" weight="1" time="1.0"/>
<KeyPosition id="end" weight="1" time="1.0"/>
...

Eclipse Issues

CreateProcess? error=206, The filename or extension is too long

This error occurs in Windows when the classpath is too long. Solved in eclipse 4.3 M2.

User Contributed FAQ entries