Cisco Unified Application Environment Developer Forums

« Back to Developers

Error while building CUAE Application project

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
I am trying to develop the sample Application given in cisco site(make call). I have installed CUAD in my PC.
While trying to build my project i got the following error in my output console.
Building ...
Preparing to build 'call' ...
Building 'call' ...
Build succeeded for 'call'
Could not build project
Value cannot be null.
Parameter name: path1
More information can be found in the 'errors.dat' file located in the 'obj' directory of the project
Errors encountered during build 
 
 
And in errors.dat file :
 
Source:  mscorlib
Message:  Value cannot be null.
Parameter name: path1Stack Trace:  System.String Combine(System.String, System.String)
   at System.IO.Path.Combine(String path1, String path2)
   at Metreos.Max.Framework.ProjectBuilder.PackageApplication()
   at Metreos.Max.Framework.MaxMainUtil.BuildProject(Int32& warningCount, Int32& errorCount)
   at Metreos.Max.Framework.MaxMain.OnBuildProject()
 
Anyone came across this kind of error please guide me. so that i can deploy my application.
 
Thanks in advance,
Ajith

Hi Ajith,
 
           It looks to me like you may have missed setting / set an incorrect value for a parameter in the HTTPMakeCall application. Could you please cross-check your application with the one at this link : https://developer.cisco.com/web/cdc/wikidocs?src=/wiki/display/CUAE/HttpMakeCall+-+Designer+Version#https://developer.cisco.com/wiki/display/CUAE/HttpMakeCall%20-%20Designer%20Version?
 
Thanks,
Neha

Hi Ajith,
 
           It looks to me like you may have missed setting / set an incorrect value for a parameter in the HTTPMakeCall application. Could you please cross-check your application with the one at this link : https://developer.cisco.com/web/cdc/wikidocs?src=/wiki/display/CUAE/HttpMakeCall+-+Designer+Version#https://developer.cisco.com/wiki/display/CUAE/HttpMakeCall%20-%20Designer%20Version?
 
Thanks,
Neha


Hi Neha,

Still i am getting the same error.. I am not using CUAS. Simply i installed CUAD and develop that sample application. emoticon
Also for your information, i am not using any media resource for PLAY actio. Simply i mentioned some string.
Please let me know that CUAD alone enough to build a project.?, else do we need server..?

Thanks,
Ajith

Hi Ajith,
 
          The CUAD is enough to build your project. However, your CUAD application will need to be deployed to and run on the Application Server.
 
          Please see this link for a complete software listing for development use:  http://developer.cisco.com/web/cuae/wikidocs?src=/wiki/display/CUAE/2.5%25281%2529+SR2#http://developer.cisco.com/wiki/display/CUAE/2.5(1)%20SR2?
 
         Please see this link for documentation on CUAE: http://developer.cisco.com/web/cuae/docs . A good idea would be to begin by reading the Getting Started guide, as well as the Admin Guide.
 
         You could then try out a couple of examples to get you started off with CUAE. You will find them here : http://developer.cisco.com/web/cuae/wikidocs?src=/wiki/display/CUAE/Examples?
 
         You can also see the API Reference guide (link to this is on the documentation page provided above) for a list of all API references you can use in your application.
 
Hope this helps,
Neha

Hi Neha,
 
 
Thanks for the useful links.. I have read. And now i installed CUAE dev tools in my PC with .Net framework 3.0.
I followed the same instructions as mentioned in the makeCall Example.
While Building the project my script builds fine but as a whole project its not building.
 
The error message in output console is
---- Build Started ----
Building ...
Preparing to build 'HandleGotRequest' ...
Building 'HandleGotRequest' ...
Build succeeded for 'HandleGotRequest'
Could not build project
Value cannot be null.
Parameter name: path1
More information can be found in the 'errors.dat' file located in the 'obj' directory of the project
Errors encountered during build
 
And in errors.dat :
Full error information as follows:
Source:  mscorlib
Message:  Value cannot be null.
Parameter name: path1Stack Trace:  System.String Combine(System.String, System.String)
   at System.IO.Path.Combine(String path1, String path2)
   at Metreos.Max.Framework.ProjectBuilder.PackageApplication()
   at Metreos.Max.Framework.MaxMainUtil.BuildProject(Int32& warningCount, Int32& errorCount)
   at Metreos.Max.Framework.MaxMain.OnBuildProject()
Date:  6/25/2009 10:59:19 AM
 
Since one of the paramater for combine method is null, i think any issues with .Net Framework. Because mscorlib is located inside .Net folder.
 
Please correct me if my assumption is wrong. And also help me in solving this issue.
 
Thanks,
Ajith

Hi Ajith,
 
          It sounds like a bad install issue. Did you install devtools before you installed .NET framework? This could cause problems with the install. Could you uninstall and then reinstall devtools to your system?
 
          Also, please verify that you have followed all software prerequisite steps as mentioned here: http://developer.cisco.com/web/cuae/wikidocs?src=/wiki/display/CUAE/Developer+Kit+Prerequisites#http://developer.cisco.com/wiki/display/CUAE/Developer%20Kit%20Prerequisites?      before proceeding to install DevTools.
 
Thanks,
Neha