Jump to content

Unhandled exception: Division by 0 is not allowed


---
 Share

Recommended Posts

I have a program that measured a series of diameters on an 8X4 fixture. The program runs fine in Calypso, but when I run it in autorun, I get the error: Unhandled exception: Division by 0 is not allowed

The error log:

SYSTEM STATE
CALYPSO
Inspection: Minims Caps
Creation software version: 7.0.02
Date and time: #(6 October 2021 15:25:31)
Actual characteristic: DiameterC
Actual feature: Circle CircleOD(1)
Creation DME: OI543
Hostname: **Removed by me**
Mancnc active: false
Navi mode: automatic
Run mode: manuel
OS Windows 10 Enterprise win32 V6.2 nt i386 ucs2
CMM-OS
Actual configuration: OPTICS
Actual stylus: 0.76x
fwObject: Zeiss.CMMOS.OMControlBehaviourC99FW20
ID chain CS: _.OI_QM,_FIXCARRIER,__TCAMERA_T
IFCpresent: false
ncDisplayStatus: 22-----#--------
PICS A input: +0
SDO version: 6.5.10.9
Sensor: ViSCAN
TCO pending: 0
PiWeb Reporting
PiWeb reporting version: 7.4.6.0
PDF Merger: Not installed

OBJECT
0.0d


METHODSTACK
Unhandled exception: Division by 0 is not allowed
Double class(ArithmeticValue class)>>raise:receiver:selector:arg:errorString:
Double>>quotientFromDouble:
Double>>/
Zeiss.CMMOS.OMTecDisc>>adaptMeasurementParametersForOptic:
Zeiss.CMMOS.OMTecDisc>>measureDiscOnCylinder:height:
Zeiss.CMMOS.OMTecDisc>>measureDisc:height:
optimized [] in Zeiss.CMMOS.OMTecDisc>>measureMain:
OrderedCollection(SequenceableCollection)>>doWithIndex:
Zeiss.CMMOS.OMTecDisc>>measureMain:
Zeiss.CMMOS.OMTecDisc(Zeiss.CMMOS.OMTecSegment)>>measure:
[] in [] in Zeiss.CMMOS.OMTecMeasPath>>measure:tpe:
OMSOrderedCollection(OrderedCollection)>>do:
[] in Zeiss.CMMOS.OMTecMeasPath>>measure:tpe:
BlockClosure>>ensure:
Zeiss.CMMOS.OMTecMeasPath>>measure:tpe:
Zeiss.CMMOS.OMVirtualMachine>>measure:
Zeiss.CMMOS.OMMachineAccessor class>>machineMeasure:
Zeiss.Calypso.OMMGeometry>>machineMeasure:
optimized [] in Zeiss.Calypso.OMMGeometry>>measureWithDialog:
BlockClosure>>ensure:
Zeiss.Calypso.OMMGeometry>>measureWithDialog:
Zeiss.Calypso.OMMGeometry>>singleStepWithDialog:
Zeiss.Calypso.OMMGeometry>>singleStep
optimized [] in [] in Zeiss.Calypso.OMMeasDefinition>>runMeListByNameAndIndexHolder:
BlockClosure>>on:do:
[] in Zeiss.Calypso.OMMeasDefinition>>runMeListByNameAndIndexHolder:
BlockClosure>>ensure:
Zeiss.Calypso.OMMeasDefinition>>runMeListByNameAndIndexHolder:
Zeiss.Calypso.OMMeasDefinition>>executeMEWith:
optimized [] in Zeiss.Calypso.OMMeasDefinition>>executeWith:with:
BlockClosure>>evaluate
Zeiss.Calypso.OMWindowsHolder class>>executeAndProfile:with:
Zeiss.Calypso.OMMeasDefinition>>executeWith:with:
Zeiss.Calypso.OMMeasDefinition>>executeSubPart:
Zeiss.Calypso.OMMeasDefinition>>executeActiveRunNoWatchDog:
Zeiss.Calypso.OMMeasDefinition>>executeActiveRunWith:
Zeiss.Calypso.OMMeasurement>>measureWith:
Zeiss.Calypso.OMUIEditorDirCNC(Zeiss.Calypso.OMUIEditor)>>executeInspection
optimized [] in [] in Zeiss.Calypso.OMUIEditor>>executeDirectDefaultRun:with:
BlockClosure>>valueOnUnwindDo:
optimized [] in Zeiss.Calypso.OMUIEditor>>executeDirectDefaultRun:with:
optimized [] in Zeiss.Basics.OMJobProcessor>>basicProcess:wait:
BlockClosure>>valueNowOrOnUnwindDo:
Zeiss.Basics.OMJobProcessor>>basicProcess:wait:
Zeiss.Basics.OMJobProcessor>>process:
Zeiss.Calypso.OMUIEditorDirCNC(Zeiss.Calypso.OMUIEditor)>>executeDirectDefaultRun:with:
Zeiss.Calypso.OMUIEditorDirCNC class>>executeDirectDefaultRun:with:inspection:
Zeiss.Calypso.OMMachineCNCStart class>>startDirectInspectionSelectionNamed:with:
Zeiss.Calypso.OMMachineCNCStart class>>startDirectInspectionSelectionNamed:noLoad:
Zeiss.Calypso.OMAutoRunCncSingleStartDictionary>>startDirectInspection:noLoad:
optimized [] in Zeiss.Calypso.OMAutoRunCncSingleStartDictionary>>startDirectInspectionIsNotSingleAndNotLastRun:
BlockClosure>>on:do:
Zeiss.Calypso.OMAutoRunCncSingleStartDictionary>>startDirectInspectionIsNotSingleAndNotLastRun:
optimized [] in [] in [] in Zeiss.Calypso.OMMachineCNCStart class>>startMultiInspections:
OrderedCollection>>do:
optimized [] in [] in Zeiss.Calypso.OMMachineCNCStart class>>startMultiInspections:
BlockClosure>>valueOnUnwindDo:
optimized [] in Zeiss.Calypso.OMMachineCNCStart class>>startMultiInspections:
BlockClosure>>valueOnUnwindDo:
optimized [] in [] in [] in Zeiss.Basics.OMJobProcessor>>basicProcess:wait:
OMExceptionSetWithoutNotification(ExceptionSet)>>handle:do:
optimized [] in [] in Zeiss.Basics.OMJobProcessor>>basicProcess:wait:
BlockClosure>>on:do:
optimized [] in Process class>>forBlock:priority:


#endOfMessage#
Link to comment
Share on other sites

I don't think the error message alone will enable anyone here to help you. This is more for the programmers at Zeiss.
You should post some more information about your program (e.g. does it contain any 'not so common' stuff, like PCM code, loops etc.) or screenshots of your Autorun setup.
Link to comment
Share on other sites

  • 2 weeks later...
Actual feature: Circle CircleOD(1)

and

OBJECT
0.0d

Tells me for some reason Calypso is calculating the diameter as Zero or a dependent is looking for the diameter and it has not been calculated yet.
Link to comment
Share on other sites

 Share

×
×
  • Create New...