Issue:
Have workflow item with strange error:
"TypeError: Cannot find default value for object"
The line number is also rediculous. e.g. #55024.
Solution:
There is likely a Server.method or a System.method entered incorrectly for logging.
Examples:
1. Case issue:
System.Log('This is wrong, only a lowercase log works.');
System.log('This is correct with a lowercase log method.');
2. Wrong Command for method:
Server.debug('This is wrong, the log method goes with System, not Server.');
System.debug('This is using it correctly. That said, you can log with Server logs, too. They just are in the system logs rather than the vRO logs.');
Find command snippet from Andrew N.:
[master] vramaster:~ # find /storage/log/vmware/vco/ -type f \( -name *.out -o -iname *.log \) -exec grep -iH "ErrorPhrasetoFind" {} \; | less
previous page
|