University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

vhmsgconnect command throws exception | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
vhmsgconnect command throws exception
October 5, 2016
6:56 am
Avatar
Member
Members
Forum Posts: 6
Member Since:
September 9, 2016
sp_UserOfflineSmall Offline

To allow the agents to speak, I am trying to connect to the ActiveMQ server which is successfully running, using the following command sequence:

SmartBody::SBCommandManager sbcom = SBCommandManager();

int n = sbcom.execute("vhmsgconnect"); 

 

and also tried this one :

SmartBody::SBVHMsgManager* pVHmng = SmartBody::SBScene::getScene()->getVHMsgManager();
pVHmng->setServer("localhost");
pVHmng->setPort("61616");
pVHmng->setScope("DEFAULT_SCOPE");
bool success = pVHmng->connect();

 

But for both the cases, at connect, an exception is getting thrown. The details of exception is as follows:

First-chance exception at 0x752ac54f (KernelBase.dll) in example.exe: Microsoft C++ exception: decaf::util::NoSuchElementException at memory location 0x00c9de90..

Any idea how this can be solved? Are there any examples codes in c++ which uses the tts feature? 

October 24, 2016
10:34 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Are you using the latest version SmartBody? I have seen that when there is a difference between the activemq dll and the lib.

Ari

Forum Timezone: America/Los_Angeles

Top Posters:

jwwalker: 80

jyambao: 52

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 69

Members: 122211

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 531

Posts: 2495