Johan Claessens.pcs.crosspost
.NET Assemblies December 02, 2008 12:37PM |
Dim gXMLRouter As Coda.Xml.Router.XMLRouter ' Declare XMLRouter Object Dim sToken As String ' Declare Token String Object gXMLRouter = New Coda.Xml.Router.XMLRouter() ' get Instance from XMLRouter Object sToken = gXMLRouter.Authenticate("INSTALL", "OAS", "AVIABEL")
gCODAXMLRouter is XMLRouter dynamic gToken is string gCODAXMLRouter = new XMLRouter() gToken = gCODAXMLRouter:Authenticate("INSTALL","OAS","AVIABEL")
Error at line 5 of Initialization of Main process. Unable to invoke <Authenticate(System.String,System.String,System.String)> method of <String> type Technical Information Project : CODA Test Dump error of module <WD120NET2.DLL> <12.00Be>. - WL Call: Processing <Main>, line <5>, thread <0> - Level: fatal error (EL_FATAL) - Error Code: 200002 - WD55 Error Code: 0 - No system error code - No system error message - What happened? Unable to invoke <Authenticate(System.String,System.String,System.String)> method of <String> type - No debug information - Attached Information: EIT_PILEWL : Initialization of Main (Main), ligne 5 EIT_COMPOSANT : EIT_DATEHEURE : 02/12/2008 12:23:35 - Identifier in .err: 200002 -------------------------------------- Sub-error #1 -------------------------------------- Dump error of module <WD120NET2.DLL> <12.00Be>. - Level: fatal error (EL_FATAL) - Error Code: 200007 - WD55 Error Code: 0 - No system error code - No system error message - What happened? Error returned by .NET Framework: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Coda.Xml.Router.XMLRouter.getCallerID() at Coda.Xml.Router.XMLRouter.getRouter(NetJNIEnvironment* jniEnv) at Coda.Xml.Router.XMLRouter.Authenticate(String user, String password, String company, RegionInfo regionInfo) at Coda.Xml.Router.XMLRouter.Authenticate(String user, String password, String company) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at CDotNetMethod.bInvoke(SByte* pszTypeName, SByte* pszMethodName, SByte* pszParameters, MethodInfo gcMethod, Object gcObj, CSLevel* pclPile, Int32 nNbParamPile, Int32 bValeurRetour, STOperationDotNet* pstOperation) - No debug information - No attached information - Identifier in .err: 200007