Re: [OpenSIPStack] Exception while running ATLSIPSample
Brought to you by:
joegenbaclor
From: Joegen E. B. <jo...@pl...> - 2006-09-17 13:23:15
|
Hi Vamsi, Thanks for the information but I need more help from you so we can get into the bottom of your problem. Here is the code inside the ActiveX MakeCall function: STDMETHODIMP COpenSIPStackCtl::MakeCall(BSTR address) { // TODO: Add your implementation code here BSTRString addr( address ); Messenger->InitializeSIP(); Messenger->MakeCall( addr ); return S_OK; } Where exactly is the error occuring? Is it inside Messenger->InitializeSIP() or Messenger->MakeCall()? Can you provide a complete call stack and line number where call to GetPort fails? Also please tell me what operating system you are using, XP or Win2k? BTW, everything works here. Just compiled the CVS version and tried a call to 61...@fw... and I wasn't able to reproduce the error you are getting. Vamsi Pottangi wrote: > > I saw this error > /"An unhandled exception of type 'System.NullReferenceException' > occurred in axinterop.atlsiplib.dll"/ > > while retuning port in the below function (sockets.cxx of PWLIB source > files) > > WORD PSocket::GetPort() const > { > *return port;* > } > > Thanks, > ~Vamsi > > On 9/17/06, *Joegen E. Baclor* < jo...@pl... > <mailto:jo...@pl...>> wrote: > > Hi Vamsi, > > Please run it in debug mode and put a break point right at > ATLSIP->MakeCall(). Step into the code until it reaches the offending > code inside the ActiveX. Let me know where exactly the exception > occurs. > > Joegen > > > Vamsi Pottangi wrote: > > Hi Joegen, > > > > I'm seeing the same problem with the latest CVS code. How to handle > > this exception? > > > > Thanks, > > ~Vamsi > > > > On 9/17/06, *Joegen E. Baclor* <jo...@pl... > <mailto:jo...@pl...> > > <mailto:jo...@pl... <mailto:jo...@pl...>>> > wrote: > > > > Hi Vamsi, > > > > There are known bugs in the current file release of > > ATLSIP. Please use > > a copy from CVS. Get back to me if you still encounter the same > > problem > > even after using CVS. > > > > Joegen > > > > > > Vamsi Pottangi wrote: > > > > > > Hi, > > > > > > How can I fix this below exception? I was trying to execute > > > ATLSIPSample.exe > > > I was looking for an ActiveX component for web based calling. > > > > > > Thanks, > > > ~Vamsi > > > > > > See the end of this message for details on invoking > > > just-in-time (JIT) debugging instead of this dialog box. > > > > > > ************** Exception Text ************** > > > System.NullReferenceException : Object reference not set > to an > > instance > > > of an object. > > > at Interop.ATLSIPLib.IOpenSIPStackCtl.MakeCall (String > address) > > > at AxInterop.ATLSIPLib.AxOpenSIPStackCtl.MakeCall(String > address) > > > at ATLSIPSample.Form1.Call_Click(Object sender, EventArgs e) > > > at System.Windows.Forms.Control.OnClick(EventArgs e) > > > at System.Windows.Forms.Button.OnClick(EventArgs e) > > > at System.Windows.Forms.Button.OnMouseUp (MouseEventArgs > mevent) > > > at System.Windows.Forms.Control.WmMouseUp(Message& m, > MouseButtons > > > button, Int32 clicks) > > > at System.Windows.Forms.Control.WndProc(Message& m) > > > at System.Windows.Forms.ButtonBase.WndProc (Message& m) > > > at System.Windows.Forms.Button.WndProc(Message& m) > > > at System.Windows.Forms.ControlNativeWindow.OnMessage > (Message& m) > > > at > System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) > > > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, > Int32 > > msg, > > > IntPtr wparam, IntPtr lparam) > > > > > > > > > ************** Loaded Assemblies ************** > > > mscorlib > > > Assembly Version: 1.0.5000.0 > > > Win32 Version: 1.1.4322.2032 > > > CodeBase: > > > > file:///c:/sysroot/microsoft.net/framework/v1.1.4322/mscorlib.dll > > > < > file:///c:/sysroot/microsoft.net/framework/v1.1.4322/mscorlib.dll> > > > ---------------------------------------- > > > ATLSIPSample > > > Assembly Version: 1.0.2450.42636 > > > Win32 Version: > > > CodeBase: > > > > > > file:///D:/vamsi_projects/internal/click-to-dial/atlsip/release/ATLSIPSample.exe > <file:///D:/vamsi_projects/internal/click-to-dial/atlsip/release/ATLSIPSample.exe> > > > <file:///D:/vamsi_projects/internal/click-to-dial/atlsip/release/ATLSIPSample.exe> > > > ---------------------------------------- > > > System.Windows.Forms > > > Assembly Version: 1.0.5000.0 > > > Win32 Version: 1.1.4322.2032 > > > CodeBase: > > > > > > file:///c:/sysroot/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll > > > < > > > file:///c:/sysroot/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll> > > > ---------------------------------------- > > > System > > > Assembly Version: 1.0.5000.0 > > > Win32 Version: 1.1.4322.2032 > > > CodeBase: > > > > > > file:///c:/sysroot/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll > <file:///c:/sysroot/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll> > > > ---------------------------------------- > > > System.Drawing > > > Assembly Version: 1.0.5000.0 > > > Win32 Version: 1.1.4322.2032 > > > CodeBase: > > > > > > file:///c:/sysroot/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll > > > ---------------------------------------- > > > AxInterop.ATLSIPLib > > > Assembly Version: 1.0.0.0 <http://1.0.0.0> > <http://1.0.0.0> <http://1.0.0.0> > > > Win32 Version: 1.0.0.0 <http://1.0.0.0> <http://1.0.0.0> > <http://1.0.0.0> > > > CodeBase: > > > > > > file:///D:/vamsi_projects/internal/click-to-dial/atlsip/release/AxInterop.ATLSIPLib.DLL > > > ---------------------------------------- > > > Interop.ATLSIPLib > > > Assembly Version: 1.0.0.0 <http://1.0.0.0> > <http://1.0.0.0> <http://1.0.0.0> > > > Win32 Version: 1.0.0.0 <http://1.0.0.0> <http://1.0.0.0 > <http://1.0.0.0>> <http://1.0.0.0> > > > CodeBase: > > > > > > file:///D:/vamsi_projects/internal/click-to-dial/atlsip/release/Interop.ATLSIPLib.DLL > <file:///D:/vamsi_projects/internal/click-to-dial/atlsip/release/Interop.ATLSIPLib.DLL> > > > > > > <file:///D:/vamsi_projects/internal/click-to-dial/atlsip/release/Interop.ATLSIPLib.DLL > > > > <file:///D:/vamsi_projects/internal/click-to-dial/atlsip/release/Interop.ATLSIPLib.DLL>> > > > ---------------------------------------- > > > > > > ************** JIT Debugging ************** > > > To enable just in time (JIT) debugging, the config file > for this > > > application or machine ( machine.config) must have the > > > jitDebugging value set in the system.windows.forms section. > > > The application must also be compiled with debugging > > > enabled. > > > > > > For example: > > > > > > <configuration> > > > <system.windows.forms jitDebugging="true" /> > > > </configuration> > > > > > > When JIT debugging is enabled, any unhandled exception > > > will be sent to the JIT debugger registered on the machine > > > rather than being handled by this dialog. > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > ------------------------------------------------------------------------- > > > > > Using Tomcat but need to do more? Need to support web > services, > > security? > > > Get stuff done quickly with pre-integrated technology to make > > your job easier > > > Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > < > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>> > > > > > > ------------------------------------------------------------------------ > > > > > > > _______________________________________________ > > > opensipstack-devel mailing list > > > ope...@li... > <mailto:ope...@li...> > > <mailto:ope...@li... > <mailto:ope...@li...>> > > > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > > > > ------------------------------------------------------------------------- > > > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to > make your > > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > < > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>> > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > <mailto:ope...@li...> > > <mailto:ope...@li... > <mailto:ope...@li...>> > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > <https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > <https://lists.sourceforge.net/lists/listinfo/opensipstack-devel>> > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > <mailto:ope...@li...> > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > <mailto:ope...@li...> > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |