Page 1 of 1

Visualization Tool - Error

Posted: Thu Oct 11, 2012 5:13 am
by toamau
Hi!

I´ve got troubles with testing the Visualization Tool 2.0.

When I select the Setup_Visualization.xml file in the Visualization Tool Windows I only get the following error message:

"A java.lang.NoSuchMethodError exception has occurred.
Click Show Details or see the messages.log file located in your C:\Documents and Settings\Student\Application Data\.opensim\2.4_00\var\log folder."

The lines of this log-file are attached. (or here:
log-file_VisualizationTool.txt
(10.62 KiB) Downloaded 74 times
)
Does anybody know what I have to do?

Thx for everything and kind regards

Günter

Re: Visualization Tool - Error

Posted: Thu Oct 11, 2012 10:28 am
by nicolaspronost
Hi Gunter,

The toolbox has been created quite a while ago when the current version of OpenSim was 2.2.1. Apparently you are using OpenSim 2.4.0 and it seems that the function getMeshesForBody of the SingleModelVisuals java class (gui) does not exist anymore in that version.

2 solutions:
(1) you have the source code of OpenSim, then you can add the following function in the SingleModelVisuals java class (but then it is probable that it will not be the only change to do):
public List<vtkActor> getMeshesForBody(String bodyName) {return bodyToActors.get(bodyName);}
(2) you don't have (or you don't want to have) the source, then you can revert to a previous version of OpenSim that has the functionality. I know that OpenSim 2.2.1 has it (and probably some later ones as well).

Good luck.
Nicolas.

Re: Visualization Tool - Error

Posted: Mon Oct 15, 2012 12:34 am
by toamau
Hi Nicolas,

thanks a lot for your answer. I thought, that it might be the problem of the OpenSim Version. Maybe I can fix it! --> I can´t

I do not have any knowledge of java so maybe con you tell me what file I need to edit?

I tried version 2.2.1 but after installation i get errors when I load the model of the vizualitation examples!?!?

THX alot one more time!!!

Günter