Re: [cricket-users] Bug in 0.68

From: Jeff Allen (jra@corp.webtv.net)
Date: Mon Jul 12 1999 - 13:41:01 PDT


Berg, Ivan wrote:
> I get the error message: Can't call method "configHash" on an undefined
> value at /home/cricket/cricket/lib/Common/Map.pm line 116

Yeah, I forgot to change a reference to gCT. Use the included patch.

-- 
Jeff R. Allen              |  jra@corp.webtv.net
WebTV Service Engineering  |  http://www.munitions.com/~jra

==== //depot/operations/nsgtools/cricket/lib/Common/Map.pm#2 - /home/jra/operations/nsgtools/cricket/lib/Common/Map.pm ==== *** /tmp/tmp.19611.0 Mon Jul 12 13:40:06 1999 --- /home/jra/operations/nsgtools/cricket/lib/Common/Map.pm Mon Jul 12 13:39:42 1999 *************** *** 113,119 **** my($mapkey) = $target->{'--mapkey--'}; return unless defined($mapkey); ! my($mapRef) = $gCT->configHash($name, 'map', $mapkey, $target); my($match) = $mapRef->{'match'}; if (! defined($match)) { Warn("No match tag found in map entry $mapkey"); --- 113,120 ---- my($mapkey) = $target->{'--mapkey--'}; return unless defined($mapkey); ! my($mapRef) = $Common::global::gCT->configHash($name, ! 'map', $mapkey, $target); my($match) = $mapRef->{'match'}; if (! defined($match)) { Warn("No match tag found in map entry $mapkey"); *************** *** 128,134 **** # cache does not exist, so try to load it my($baseOID) = $mapRef->{'base-oid'}; ! my($oidMap) = $main::gCT->configHash($name, 'oid'); my($oid) = mapOid($oidMap, $baseOID); if (! defined($oid)) { --- 129,135 ---- # cache does not exist, so try to load it my($baseOID) = $mapRef->{'base-oid'}; ! my($oidMap) = $Common::global::gCT->configHash($name, 'oid'); my($oid) = mapOid($oidMap, $baseOID); if (! defined($oid)) {



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:55 PST