Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help to interpreting this trace

Status
Not open for further replies.

nathalielim

Programmer
Jan 18, 2012
18
SG
Hi,
i am some error and here is the trace... anyone has any idea what went wrong? PrgCtx =? <-- is this fine? What could be the wrong argument type?

thanks.

Here is the trace:
Start Stack Crawl ...
Thread: 1C2B0CF8
Depth: 3
Status: A wrong argument type was specified
R0: <LL:Script><></LL:Script>
Frame: 1C2A5878 CreateVersionEx (0)
ObjRef: #15001d96.'Execute'
PC: 110
Line: 25:25
NStkVal: 6
NLocals: 6
NArgs: 0
Stack: SP-1 = '_AddVersionFromSocket'
Stack: SP-2 = #15001d96
Stack: SP-3 = A<1,N,'Categories'={A<1,?,'catID'=A<1,?,'DisplayName'='ECategory','ID'=617054,'type'=0,'version'=1>,'data'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={'1.htm'}>,'3'=A<1,?,'ID'=3,'Values'={'2012-11-21 15:22:26.3'}>,'4'=A<1,?,'ID'=4,'Values'={'article\\2012\\11\\21\\news\\2924328\\3036805\\1.htm'}>>}>,'definition'=A<1,?,'Children'={A<1,?,'DisplayLen'=254,'DisplayName'='Name','FixedRows'=true,'ID'=2,'Length'=254,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_2','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'DisplayLen'=32,'DisplayName'='TrawledDate','FixedRows'=true,'ID'=3,'Length'=32,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_3','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'Columns'=32,'DisplayName'='FilePath','FixedRows'=true,'ID'=4,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_4','Required'=true,'Rows'=3,'Search'=true,'Type'=11>},'DisplayName'='ECategory','FixedRows'=true,'ID'=1,'MaxRows'=1,'Name'='ECategory','NextID'=5,'NumRows'=1,'Required'=true,'Type'=-18,'ValueTemplate'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={?}>,'3'=A<1,?,'ID'=3,'Values'={?}>,'4'=A<1,?,'ID'=4,'Values'={?}>>}>>>},'request'=A<1,N,'testname'='These are the document\'s comments.'>>
Stack: SP-4 = U<Socket(-102)=0BCD9B50>
Stack: SP-5 = N
Stack: SP-6 = U<DAPINode(-72)=1C2C71A8>
Local: node (0) = U<DAPINode(-72)=1C2C71A8>
Local: version (1) = ?
Local: retStatus (2) = ?
Local: value (3) = A<1,?,'Error'=?,'OK'=true>
Local: llnode (4) = #41d866c
Local: dSession (5) = #41d86bd
Frame: 1C2A9F50 APIDispatch (0)
ObjRef: #8000140.'APIDispatch'
PC: 246
Line: 74:74
NStkVal: 0
NLocals: 6
NArgs: 2
Local: obj (0) = #15001d96
Local: retStatus (1) = ?
Local: outArgs (2) = A<1,?,'_apiError'='','_errMsg'='','_Status'=0,'_StatusMessage'='','_TimeLogin'='21 11 12 162137'>
Local: prgCtx (3) = ?
Local: ticks (4) = 20664194
Local: inArgsForLogging (5) = A<1,N,'createInfo'=A<1,N,'Categories'={A<1,?,'catID'=A<1,?,'DisplayName'='ECategory','ID'=617054,'type'=0,'version'=1>,'data'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={'1.htm'}>,'3'=A<1,?,'ID'=3,'Values'={'2012-11-21 15:22:26.3'}>,'4'=A<1,?,'ID'=4,'Values'={'article\\2012\\11\\21\\news\\2924328\\3036805\\1.htm'}>>}>,'definition'=A<1,?,'Children'={A<1,?,'DisplayLen'=254,'DisplayName'='Name','FixedRows'=true,'ID'=2,'Length'=254,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_2','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'DisplayLen'=32,'DisplayName'='TrawledDate','FixedRows'=true,'ID'=3,'Length'=32,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_3','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'Columns'=32,'DisplayName'='FilePath','FixedRows'=true,'ID'=4,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_4','Required'=true,'Rows'=3,'Search'=true,'Type'=11>},'DisplayName'='ECategory','FixedRows'=true,'ID'=1,'MaxRows'=1,'Name'='ECategory','NextID'=5,'NumRows'=1,'Required'=true,'Type'=-18,'ValueTemplate'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={?}>,'3'=A<1,?,'ID'=3,'Values'={?}>,'4'=A<1,?,'ID'=4,'Values'={?}>>}>>>},'request'=A<1,N,'testname'='These are the document\'s comments.'>>,'objectID'=6245440,'volumeID'=0,'_ApiName'='CreateVersionEx','_ConnectionName'='','_Cookie'='','_DomainName'='','_ImpersonateUserDomain'='','_Request'='llweb','_UserName'='Admin','_UserPassword'='XXXXXXXXXX'>
Args: inArgs (0) = A<1,N,'createInfo'=A<1,N,'Categories'={A<1,?,'catID'=A<1,?,'DisplayName'='ECategory','ID'=617054,'type'=0,'version'=1>,'data'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={'1.htm'}>,'3'=A<1,?,'ID'=3,'Values'={'2012-11-21 15:22:26.3'}>,'4'=A<1,?,'ID'=4,'Values'={'article\\2012\\11\\21\\news\\2924328\\3036805\\1.htm'}>>}>,'definition'=A<1,?,'Children'={A<1,?,'DisplayLen'=254,'DisplayName'='Name','FixedRows'=true,'ID'=2,'Length'=254,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_2','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'DisplayLen'=32,'DisplayName'='TrawledDate','FixedRows'=true,'ID'=3,'Length'=32,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_3','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'Columns'=32,'DisplayName'='FilePath','FixedRows'=true,'ID'=4,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_4','Required'=true,'Rows'=3,'Search'=true,'Type'=11>},'DisplayName'='ECategory','FixedRows'=true,'ID'=1,'MaxRows'=1,'Name'='ECategory','NextID'=5,'NumRows'=1,'Required'=true,'Type'=-18,'ValueTemplate'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={?}>,'3'=A<1,?,'ID'=3,'Values'={?}>,'4'=A<1,?,'ID'=4,'Values'={?}>>}>>>},'request'=A<1,N,'testname'='These are the document\'s comments.'>>,'filePath'=?,'objectID'=6245440,'volumeID'=0,'_ApiName'='CreateVersionEx','_ConnectionName'='','_Cookie'='','_DomainName'='','_ImpersonateUser'=?,'_ImpersonateUserDomain'='','_Request'='llweb','_SessionObject'=?,'_UserName'='Admin','_UserPassword'='livelink'>
Args: ctxSocket (1) = U<Socket(-102)=0BCD9B50>
Frame: 1C29FF18 DispatchLLServer (0)
ObjRef: ?.<LL:Script><//\n// This script is invoked by APISrv and by the LLServer to handle a LLServer\n// protocol request. It invokes either a Web request handler or an API handler,\n// depending upon whether there is an _ApiName feature in the request.\n//\n// Note that the current implementation of LLServer does NOT invoke this script\n// on the $Webdsp.RequestHandlerSubsystem object. Instead, it copies the source from the\n// script, compiles it, and invokes it in isolation. Thus, do NOT assume that\n// 'this' is any specific object.\n//\n\nfunction void DispatchLLServer( dynamic inArgs, dynamic ctxOut )\n String logFileName\n String logFilePath\n File logFile\n Dynamic err\n Dynamic result\n \n Assoc config = $ConfigOptions\n Boolean wantWeb = config.wantWeb\n Boolean wantLAPI = config.wantLAPI\n Boolean wantLogs = config.wantLogs\n Boolean wantNotification = config.wantNotification\n Boolean wantVerbose = config.wantVerbose\n Boolean wantTimings = config.wantTimings\n Boolean wantSearch = config.wantSearch\n Boolean wantPlayback = config.wantPlayback\n Boolean wantPlaybackLogs = config.wantPlaybackLogs\n Boolean wantSummaryTimings = config.wantSummaryTimings\n Object sysPrefs = $Kernel.SystemPreferences\n Object webTimings = $WebDsp.WebTimingsPkg\n Boolean connectLogs = Str.StringToValue( sysPrefs.GetPref( 'options', 'wantLogs', 'false' ) )\n\n\n // first check to see that we have some kind of request\n if IsUndefined( inArgs ) || IsError( inArgs )\n echo( "Dispatch Error - Invalid request arguments." )\n return\n end\n \n if wantLogs && !connectLogs && IsDefined( $LogFile )\n CAPI.FreeLog( $LogFile )\n $LogFile = UNDEFINED\n config.wantLogs = connectLogs\n wantLogs = config.wantLogs\n elseif !wantLogs && connectLogs\n if $LogFileOpenedOnce\n $LogFile = CAPI.AllocLog( $LogFileFilename, CAPI.LOG_APPEND )\n else\n $LogFile = CAPI.AllocLog( $LogFileFilename )\n end\n \n $LogFileOpenedOnce = TRUE\n config.wantLogs = connectLogs\n wantLogs = config.wantLogs\n end\n\n // make sure we don't log a playback of a log\n \n if wantPlaybackLogs && isDefined( wantPlaybackLogs ) && ( isUndefined( wantPlayback ) || !wantPlayback )\n \n // Build the logFileName based on the threadID\n \n logFileName = "inargs" + Str.String( System.ThreadIndex() ) + ".log"\n \n if IsDefined( logFileName ) && !IsError( logFileName )\n \n logFile = File.OpenStream( logFileName, File.AppendMode )\n \n if IsDefined( logFile ) && !IsError( logFile )\n result = File.WriteValue( logFile, inArgs )\n File.Close( logFile )\n end\n end\n end\n \n if wantVerbose\n string str1\n echo()\n echo( Date.Now() )\n for str1 in Assoc.Keys( inArgs )\n if ( IsDefined( Str.Locate( Str.Lower( str1 ), 'password' ) ) )\n str1 = str1 + " = 'XXXXXXXXXX'"\n echo( str1 )\n \n if wantLogs && IsDefined( $LogFile )\n CAPI.Log( $LogFile, str1 )\n end\n elseif ( str1 == 'LLPARAMS_LIST' )\n // do not echo the redundant PARAMS_LIST \n elseif ( str1 == 'LLENVIRON_ASSOC' )\n // do not echo the redundant PARAMS_LIST\n else\n str1 = str1 + ' = ' + Str.Quote( Str.String( inArgs.( str1 ) ) )\n echo( str1[ :130 ] )\n \n if wantLogs && IsDefined( $LogFile )\n CAPI.Log( $LogFile, str1 )\n end\n end\n end\n end\n\n wantTimings = IsDefined( wantTimings ) && wantTimings\n wantSummaryTimings = IsDefined( wantSummaryTimings ) && wantSummaryTimings\n \n if wantSummaryTimings\n webTimings.ResetTimingData()\n SQL.ResetTimeData()\n end\n\n Dynamic startTick\n Dynamic startMicro\n Dynamic startClock\n Dynamic endTick\n Dynamic endMicro\n Dynamic endClock\n \n if wantTimings || wantSummaryTimings\n startTick = Date.Tick()\n startClock = Date.Clock()\n startMicro = Date.MicroTick()\n end\n\n String theFunc = Str.Quote( "?" )\n if ( IsDefined( inArgs.func ) )\n theFunc = Str.Quote( Str.String( inArgs.func ) )\n \n if ( Str.Lower( Str.String( inArgs.func ) ) == 'll' )\n theFunc = Str.String( inArgs.func )\n \n if ( IsDefined( inArgs.parentid ) )\n theFunc = theFunc + "(" + Str.String( inArgs.parentid ) + ")"\n end\n if ( IsDefined( inArgs.objid ) )\n theFunc = theFunc + "." + Str.String( inArgs.objid )\n end\n if ( IsDefined( inArgs.objaction ) )\n theFunc = theFunc + "." + Str.String( inArgs.objaction )\n end\n if ( IsDefined( inArgs.objtype ) )\n theFunc = theFunc + "[" + Str.String( inArgs.objtype ) + "]"\n end\n \n theFunc = Str.Quote( theFunc )\n end\n end\n LLServer.ApplContextString( theFunc )\n \n if Type( inArgs._ApiName ) == StringType\n // LAPI request \n \n $APIBASE.APIDispatcher.APIDispatch( inArgs, ctxOut )\n elseif IsDefined( inArgs._LLENVIRON_ASSOC )\n \n echo( 'Ignoring web request with misconstructed LAPI arguments' )\n else\n // Web request -- first verify that requests from this IP address\n // are permitted if it's coming from a socket.\n \n Boolean validIP = TRUE\n\n if ( Type( ctxOut ) == Socket.SocketType )\n String CGIHosts = $Kernel.SystemPreferences.GetPref( "Security", "CGIHosts" )\n \n if IsDefined( CGIHosts ) && ( Length( CGIHosts ) \> 0 )\n List hostList = Str.Elements( Str.Collapse( CGIHosts ), "," )\n \n if !( ctxOut.pPeerIPAddress in hostList )\n echo( Str.Format( 'Ignoring web request from unauthorized address (%1).', ctxOut.pPeerIPAddress ) )\n validIP = FALSE\n end\n end\n end\n\n if ( validIP ) \n dynamic ctxIn\n $LLPrgCtx = undefined\n \n err = $WebDsp.RequestHandlerSubsystem.Dispatch( ctxIn, ctxOut, Assoc.ToRecord( inArgs ) )\n if ( IsDefined( err ) )\n echo( 'Dispatcher error: ', err )\n end\n end\n end\n\n if wantTimings || wantSummaryTimings\n endMicro = Date.MicroTick()\n endClock = Date.Clock()\n endTick = Date.Tick()\n end\n\n if wantTimings\n String msg\n\n Integer tickDelta = endTick - startTick\n String tickDeltaStr = _FormatTicksToSecs( tickDelta )\n String clockDeltaStr = _FormatTicksToSecs( endClock - startClock )\n String microDeltaStr = _FormatMicroToSecs( endMicro - startMicro )\n\n msg = Str.Format( "%1 - %2 Func=%3 Timing: %4 %5 %6",\\\n Date.Now(),\\\n Str.String( endTick ),\\\n theFunc,\\\n clockDeltaStr,\\\n microDeltaStr,\\\n tickDeltaStr )\n echo( msg )\n \n if wantSummaryTimings\n webTimings.AddTimingData( 'TimingTicks', tickDeltaStr )\n webTimings.AddTimingData( 'Timing', microDeltaStr )\n webTimings.AddTimingData( 'TimingClock', clockDeltaStr )\n end\n \n if IsDefined( wantLogs ) && wantLogs && IsDefined( $LogFile )\n CAPI.Log( $LogFile, msg )\n end\n end\n \n if wantSummaryTimings\n webTimings.MergeTimingData( SQL.GetTimeData( 'XpostX_' ) )\n webTimings.AddTimingData( 'EndTick', endTick )\n webTimings.AddTimingData( 'StartTick', startTick )\n webTimings.AddTimingData( 'EndMicro', endMicro )\n webTimings.AddTimingData( 'StartMicro', startMicro )\n webTimings.AddTimingData( 'EndClock', endClock )\n webTimings.AddTimingData( 'StartClock', startClock )\n webTimings.AddTimingData( 'ExecTime', endTick - startTick )\n webTimings.AddTimingData( 'ApplCtx', LLServer.ApplContextString() )\n webTimings.AddTimingData( 'QueueTime', LLServer.QueueTime() )\n webTimings.AddTimingData( 'QueueDepthIn', LLServer.QueueDepthIn() )\n webTimings.AddTimingData( 'QueueDepthOut', LLServer.QueueDepthOut() )\n\n webTimings.GenerateSummaryTimings( inArgs, ctxOut, startTick, endTick, err )\n echo( webTimings.fTimingData )\n end\nend\n\nfunction String _FormatTicksToSecs( Integer tickDelta )\n String MilliStr = '000'\n String numMillisStr = Str.ValueToString( tickDelta % 1000 )\n \n \n MilliStr = MilliStr[ : ( 3 - Length( numMillisStr ) ) ] + numMillisStr\n \n return Str.Format( "%1.%2", ( tickDelta / 1000 ), MilliStr )\nend\n\nfunction String _FormatMicroToSecs( Integer microDelta )\n String MilliStr = '000000'\n String numMillisStr = Str.ValueToString( microDelta % 1000000 )\n \n \n MilliStr = MilliStr[ : ( 6 - Length( numMillisStr ) ) ] + numMillisStr\n \n return Str.Format( "%1.%2", ( microDelta / 1000000 ), MilliStr[ :3 ] )\nend></LL:Script>
PC: 950
Line: 153:153
NStkVal: 2
NLocals: 36
NArgs: 2
Stack: SP-1 = U<Socket(-102)=0BCD9B50>
Stack: SP-2 = A<1,N,'createInfo'=A<1,N,'Categories'={A<1,?,'catID'=A<1,?,'DisplayName'='ECategory','ID'=617054,'type'=0,'version'=1>,'data'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={'1.htm'}>,'3'=A<1,?,'ID'=3,'Values'={'2012-11-21 15:22:26.3'}>,'4'=A<1,?,'ID'=4,'Values'={'article\\2012\\11\\21\\news\\2924328\\3036805\\1.htm'}>>}>,'definition'=A<1,?,'Children'={A<1,?,'DisplayLen'=254,'DisplayName'='Name','FixedRows'=true,'ID'=2,'Length'=254,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_2','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'DisplayLen'=32,'DisplayName'='TrawledDate','FixedRows'=true,'ID'=3,'Length'=32,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_3','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'Columns'=32,'DisplayName'='FilePath','FixedRows'=true,'ID'=4,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_4','Required'=true,'Rows'=3,'Search'=true,'Type'=11>},'DisplayName'='ECategory','FixedRows'=true,'ID'=1,'MaxRows'=1,'Name'='ECategory','NextID'=5,'NumRows'=1,'Required'=true,'Type'=-18,'ValueTemplate'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={?}>,'3'=A<1,?,'ID'=3,'Values'={?}>,'4'=A<1,?,'ID'=4,'Values'={?}>>}>>>},'request'=A<1,N,'testname'='These are the document\'s comments.'>>,'filePath'=?,'objectID'=6245440,'volumeID'=0,'_ApiName'='CreateVersionEx','_ConnectionName'='','_Cookie'='','_DomainName'='','_ImpersonateUser'=?,'_ImpersonateUserDomain'='','_Request'='llweb','_SessionObject'=?,'_UserName'='Admin','_UserPassword'='livelink'>
Local: logFileName (0) = ''
Local: logFilePath (1) = ''
Local: logFile (2) = ?
Local: err (3) = ?
Local: result (4) = ?
Local: config (5) = A<1,?,'categoryNumToUpgrade'=5,'EnableAgents'=true,'EnableAgentsTestAll'=false,'EnableAgentsTrace'=false,'EnableNotification'=false,'errorMessageWantDebugInfo'=false,'MaxOpenSessions'=100,'maxRightsString'=0,'ObjectRankEnabled'=true,'wantByteServing'=false,'WantDirectFetch'=false,'wantDistributedSupport'=false,'wantHTMLView'=false,'wantIcons'=false,'WantLAPILogs'=true,'WantLogs'=true,'wantSearch'=true,'wantSearchLogs'=false,'wantSecureCookies'=true,'wantTimings'=false,'wantVerbose'=false,'wantWeb'=true>
Local: wantWeb (6) = true
Local: wantLAPI (7) = ?
Local: wantLogs (8) = true
Local: wantNotification (9) = ?
Local: wantVerbose (10) = false
Local: wantTimings (11) = false
Local: wantSearch (12) = true
Local: wantPlayback (13) = ?
Local: wantPlaybackLogs (14) = ?
Local: wantSummaryTimings (15) = false
Local: sysPrefs (16) = #1001ad3
Local: webTimings (17) = #7001084
Local: connectLogs (18) = true
Local: str1 (19) = ''
Local: startTick (20) = ?
Local: startMicro (21) = ?
Local: startClock (22) = ?
Local: endTick (23) = ?
Local: endMicro (24) = ?
Local: endClock (25) = ?
Local: theFunc (26) = '\'N\''
Local: validIP (27) = false
Local: CGIHosts (28) = ''
Local: hostList (29) = {}
Local: ctxIn (30) = ?
Local: msg (31) = ''
Local: tickDelta (32) = 0
Local: tickDeltaStr (33) = ''
Local: clockDeltaStr (34) = ''
Local: microDeltaStr (35) = ''
Args: inArgs (0) = A<1,N,'createInfo'=A<1,N,'Categories'={A<1,?,'catID'=A<1,?,'DisplayName'='ECategory','ID'=617054,'type'=0,'version'=1>,'data'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={'1.htm'}>,'3'=A<1,?,'ID'=3,'Values'={'2012-11-21 15:22:26.3'}>,'4'=A<1,?,'ID'=4,'Values'={'article\\2012\\11\\21\\news\\2924328\\3036805\\1.htm'}>>}>,'definition'=A<1,?,'Children'={A<1,?,'DisplayLen'=254,'DisplayName'='Name','FixedRows'=true,'ID'=2,'Length'=254,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_2','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'DisplayLen'=32,'DisplayName'='TrawledDate','FixedRows'=true,'ID'=3,'Length'=32,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_3','Required'=true,'Search'=true,'Type'=-1>,A<1,?,'Columns'=32,'DisplayName'='FilePath','FixedRows'=true,'ID'=4,'MaxRows'=1,'NumRows'=1,'RegionName'='Attr_617054_4','Required'=true,'Rows'=3,'Search'=true,'Type'=11>},'DisplayName'='ECategory','FixedRows'=true,'ID'=1,'MaxRows'=1,'Name'='ECategory','NextID'=5,'NumRows'=1,'Required'=true,'Type'=-18,'ValueTemplate'=A<1,?,'ID'=1,'Values'={A<1,?,'2'=A<1,?,'ID'=2,'Values'={?}>,'3'=A<1,?,'ID'=3,'Values'={?}>,'4'=A<1,?,'ID'=4,'Values'={?}>>}>>>},'request'=A<1,N,'testname'='These are the document\'s comments.'>>,'filePath'=?,'objectID'=6245440,'volumeID'=0,'_ApiName'='CreateVersionEx','_ConnectionName'='','_Cookie'='','_DomainName'='','_ImpersonateUser'=?,'_ImpersonateUserDomain'='','_Request'='llweb','_SessionObject'=?,'_UserName'='Admin','_UserPassword'='livelink'>
Args: ctxOut (1) = U<Socket(-102)=0BCD9B50>
End Stack Crawl.
 
You will need to either employ OT help or hire a oscript programmer to debug this.If this is a transient error which means it occurs once in a while then usual programming suspects such as bad design,inadequate resources,thread safety issues etc could have problems. when the lapi call hit this particular place
Frame: 1C2A5878 CreateVersionEx (0)
ObjRef: #15001d96.'Execute' it did not like something.I cannot understand what the error is but considering that you are loading things with categories attributes look at the KB for what one should do when maintaining categories.I use this simple rule
If a category has been upgraded,before I do anything on the livelink system all the objects especially containers(folders,projects) etc I make a 110 % effort to put them with the latest version of the metadata template objects a.k.a category.

BTW instaed of writing lapi stuff if you buy the OI module then you can do a lot of bulk uploads server side as well

Perhaps this example notes you could take a look at 'Categories and Applying it explained' in my blog at look at the code but I have put things I do when I know categries are involved

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top