Platform Independent Problems

Type mismatch error when compiling "GrxUI on Eclispe"

Type mismatch error may occur when compiling "GrxUI on Eclipse", when it could not find "jp.go.aist.hrp" package. If "GrxUIonEclipse-project-0.9.8/openhrpstubskel.jar" file is extremely small in size (such as 1KB), generating "openhrpstubskel" fails and cause to this problem. Though "openhrpstubskel.jar" depends on "openrtmstubskel.jar", generating "openhrpstubskel" may fail due to timing mismatch caused by parallel compiling. You may have already noticed this in javac error log when compiling "openhrpstubskel". The reason for that error message is also the same.

To resolve this problem you have to build the correct "openhrpstubskel.jar" file as follows. Then refresh the Eclipse project using "F5".

Solution for Linux

Avoid using 'j' option when compiling. It causes typical error when used 'j' option with make command.

Solution for Windows

This error can be resolved by explicitly specifing the dependent projects on VisualC++ project.

  1. Select "Project" -> "Project dependencies" on menubar. Project Dependencies dialog will be opened.
  2. Go to "Dependencies" tab windows and select "JavaStubSkel" in "Project" pull-down box.
  3. Check the "OpenRTMStubSkel" dependence check-box.
  4. Press "OK" to apply settings.
  5. Rebuild the project.
The cause of the dependence probelem is still unknown and we are now working on it. It can be misuse of Cmake, problem of the way Cmake is used or a bug of Cmake it self. However, it is scheduled to fix this bug in future release.

Unable to export "GrxUI on Eclispe"

When exporting "GrxUI on Eclipse" (ubuntu, Windows) it ends with an error message as shown below.


Fig: Error message

The problem occured because one of our developer assumed that the build-exclude-path settings for compiling, also reflects for exporting as it is.
To solve this problem, please delete following files/folders and export again.

GrxUIonEclipse-project-0.9.8/src/com/generalrobotix/ui/view/GrxPathPlanningView.java
GrxUIonEclipse-project-0.9.8/src/com/generalrobotix/ui/view/GrxPathPlanningViewPart.java
GrxUIonEclipse-project-0.9.8/src/jp

We are extremely sorry for the inconvenience.


Linux Specific Problems

RTC on "GrxUI on Eclipse" does not work on Ubuntu-9.04 (On Linux)

If you install OpenHRP for the first time on Ubuntu-9.04 environment, RTC based sample models may not work on "GrxUI on Eclipse". In such case, open terminal window and run,

$ openhrp-aist-dynamics-simulator -ORBInitRef NameService=corbaloc:iiop:localhost:2809/NameService
if you get the output as follows,
IDL:omg.org/CORBA/TRANSIENT:1.0
the problem has occured because ipv6 on Ubuntu-9.04 has not been enabled by default.

To resolve this problem, locate "/etc/hosts" file and comment-out the line "::1 localhost ip6-localhost ip6-loopback" where keeps localhost settings of IPv6.

Compile errors / Java exceptions occurs after applying Ubuntu system updates (On Linux)

When installing OpenHRP3 we set 'Sun-java' as default java environment. But when applying Ubuntu system updates, it renews 'Java-gcj' to its latest version and set as default java environment automatically, which may cause to compile errors or Java exceptions when starting GrxUI.

When starting GrxUI, it may hang-up giving following messege;

Null peer?!

Switching the default java environment back to 'Sun-java', will resolve the problem.

$ sudo update-java-alternatives -s java-6-sun

If you are not willing to use 'gcj' for any other applications, you can uninstall it, so that the problem will never be take place.