If you have the source code, and assuming it is AutoLISP code, there is perhaps a quicker way to get to know more about the error.
If you are not familiar with the VLIDE then don't worry. Just follow the steps below. If you don't have the source code and/or it is not AutoLISP code, then disregard the following.
1. Type VLIDE at the command line. This will bring up the Visual LISP editor.
2. Go to the Debug menu and see if the item "Break On Error" is checked. If not, select it to check it.
3. Leave the Visual LISP editor open and switch to AutoCAD.
4. Call the offending command.
5. On error, switch to the VLIDE editor.
6. In the editor, go to the Debug menu and choose "Last Break Source", or hit Ctrl-F9. This should bring up the code and locate the error within the code.
7. If no. 6 succeeded, copy the offending code to the forum and we'll take a look at it.
8. If no go at no. 6, we'll need more to go with.