Error! Module '3CX.com.OSBjsi'. Error ID 501

Status
Not open for further replies.

SWSDEV

Forum User
Joined
Feb 23, 2008
Messages
256
Reaction score
0
What does this mean?

17:54:37.187|4420|(0):Error! Module '3CX.com.OSBjsi'. Error ID 501. errmsgTypeError: application.testvad has no propertiesline1linetxttokentxt
 
That is a javascript runtime error: "application.testvad has no properties".

The VAD represents components as javascript objects. Then, the properties of the component are properties of the javascript object. Here, it seems that you have a component named "testvad", but somehow the properties are not initialized.

Can you describe what are you trying to do? What kind of component is "testvad"?
 
That was the name of the application.

But I got the problem to go away after a simple change. I had custom components inside the application which had a period in the name, such as testvad.testcode.comp. When changed to testvad_testcode.comp it worked finally.

I don't understand why, because I thought I had a different component previously that worked fine with a period in the name.
 
Well, that explains the problem. With a period in the name of the component, when the VAD generates the VXML script it tries to create the variable "application.testvad.testcode". That is interpreted by the javascript engine as a variable named "testvad" with a property "testcode". But the variable testvad does not have that property, and that's why the problem appears.

We had a similar problem in the past with dots in the name of the project. We fixed that some time ago. This is a similar problem with the component, we'll make some changes in the VAD to change that automatically to "_" in the javascript variable name. Until this fix is released, you will have to avoid using dots in the name of components.

Thanks for reporting this.

Regards,
 
I am getting the same error: "Error! Module '3CX.com.OSBjsi'. Error ID 501. errmsgReferenceError: N is not definedline1linetxttokentxt". Any ideas? I don't have any modules with 'N' as the name.
 
Status
Not open for further replies.

Forum statistics

Threads
112,322
Messages
591,890
Members
165,470
Latest member
Robert Lee