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!

LLIllegalOperationException: get(name) not implemented for this datatype

Status
Not open for further replies.

nathalielim

Programmer
Jan 18, 2012
18
SG
hi,

I am encountering this error and needs some help:
2012-11-20 07:26:01,368 INFO importSeeker-1 backgroundLog - LoggerUtil@32f44c: com.opentext.api.LLIllegalOperationException: get(name) not implemented for this datatype
at com.opentext.api.LLInstance.get(Unknown Source)
at com.opentext.api.LLValue.toValue(Unknown Source)
at com.opentext.api.LLConnect.unMarshall(Unknown Source)
at com.opentext.api.LAPI_DOCUMENTS.CreateVersionEx(Unknown Source)
at com..importFile(ImportFileManagerImpl.java:272)
at com..createDoc(ImportFileManagerImpl.java:923)
at com..initialiseDocument2(ImportFileManagerImpl.java:870)
at com..processFirstLvl(ImportFileManagerImpl.java:595)
at com..startImport(ImportFileManagerImpl.java:150)
at com..importingNews(ImportArticle.java:653)
at com..ImportHandler.execute(ImportHandler.java:35)

When this is caught as an exception, i tried printing out the session.getStatusMessage(), session.getErrMsg() and session.getApiError() but all gave me nothing.

I am guessing whether the session is lost...
According to one of the post from "appnair", he did mention about session being lost, so is it that the session above is lost?
"For each lapi call however small check session error
If session is lost then re-initialize that session
 
This lapi call would have sent you something
at com.opentext.api.LAPI_DOCUMENTS.CreateVersionEx(Unknown Source)
or else on the livelink server if you put debug=2,wantlogs=true,wantlapilogs=true you would see problems
that was not passed to you.
sessions don't become lost it is almost always bad programming. Livelink server has a set of finite resources
so you have to program withing the constraints of the system. A typical lapi call costs livelink about 40 to 50 oscript+database
transcations.Since lapi does not have to generate html to show you you will see that lapi is faster.That does not mean the ground rules
can be thwarted.
lapi needs a valid user session and that user session needs to have permissions on what is being asked for it to do.


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
 
Here's an example of a lapi call at the server side WITH WANTLAPILOGS=true
inArgs: A<1,N,TRUNCATED TO SAVE SPACE='XXXXXXXXXX'>
outArgs: A<1,?,'_apiError'='','_errMsg'='An item with the name \'PSMELLO\'s Docs\' already exists.','_Status'=101104,'_StatusMessage'='Error Allocating Node','_TimeLogin'='20 11 12 133649'>
status: Error Allocating Node (101104)

as you can see lapi does provide an error when it can.If you do not find something in outArgs then a server
side exception has happened.This is what the client parses and shows as session errors

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
 
After adding the WantLAPILogs=TRUE, error can be seen logged into the thread.out file. However, i need some help in interpreting the error message:

=======================================
Executing API: #15001d96.CreateVersionEx
inArgs: A<1,N,'createInfo'=A<1,N,'Categories'={A<1,?,'catID'=A<1,?,'DisplayName'='Category','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'='Category','FixedRows'=true,'ID'=1,'MaxRows'=1,'Name'='Category','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'>
------------------------------------------
_LLENVIRON_ASSOC is Undefined
A wrong argument type was specified
Created trace log: .\logs\trace3-1353486097.out
11/21/2012 16:21:37 [1392153070] Done with Request on socket 1C214448
11/21/2012 16:21:38 [1392591632] Processing Request on socket 0A3E7CF8
=======================================

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'

I looked at the tracelog generated and it also shows "wrong argument type". There is no outArgs, thus no statusMessage() returned.

Is this a server exception and how can i further find out the cause of the problem?


 
The trace log indicates thread3 crashed when trying to do the lapi call.It also indicates what object
#15001d96.If you look at the start of the logs and using find do the first 4 chars like #1500 you should get a line with
an actual reference to a oll file(if you are on windows)that is the module who is having an exception.
Now if you are an oscripter you could put the system on debug and try to find exactly which module and why it crashed,but if it is a opentext vended module I will open a ticket with the trace logs.I will also search for any available module patches .
BTW as you can see there is ono <outargs> so your lapi client will not get the server side error.The thread dies at the server side when it wrote the trace.If it turns out to be a OT module this probably was already encountered and you were probably behind on some patches.

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
 
Can you provide the full TRACE file dump as I need to see the rest of it to identify the issue, looking at what you have posted the issue is at line 25 in the CreateVersionEx.Execute, and one of the parameters of the call on line 25 is not of the type expected, so you will need to check the datatypes.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Hi ggriffit,

I have attached the trace log file as an attachment.

Is there a way to see which is the exact datatype that is unexpected? Reason is, files are continuously being imported into LL... sometimes this error occurs but not always.

Thank u
 
 https://www.dropbox.com/s/4opxvc4r6rja0xu/copy%20of%20trace3-1353486097.out
Hi ggriffit and everyone,
I have posted a copy of my trace to the above question last nov ... i do not know if anyone have seen it or met the same problem before...

i am revisiting this issue again...

this time round, in my trace, i noticed this line "Local: prgCtx (3) = ?"
and so i googled for prgCtx... and in this post,
it mentioned that this is an object used to store the userid and username.
So, if what is "Local: prgCtx (3) = ?", does it mean the LAPI program do not have the userid and username when it's performing creating of version?

ggriffit>> is my problem described in this thread a OT module issue?

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top