[vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and message
says I need a positive integer argument, which I have I assume it violated some maximum array size. What is the maximum array size and why is there a maximum? The message should be changed to say what the real problem was... Unhandled exception: This message needs a positive integer argument ByteArray class(Object)>>error: ByteArray class(Behavior)>>handleFailedNew:size: ByteArray class(Behavior)>>new: UndefinedObject>>unboundMethod UndefinedObject(Object)>>performMethod:arguments: UndefinedObject(Object)>>performMethod: TextEditorController(ParagraphEditor)>>evaluateCompiled: optimized [] in ParagraphEditor>>evaluateSelection BlockClosure>>ensure: Cursor>>showWhile: TextEditorController(ParagraphEditor)>>evaluateSelection optimized [] in ParagraphEditor>>doIt BlockClosure>>on:do: TextEditorController(ParagraphEditor)>>doIt TextEditorController>>dispatchMenuSymbol: TextEditorController>>dispatchMenuSelection: TextEditorController(ControllerWithMenu)>>processMenu:at:centered: TextEditorController(ControllerWithMenu)>>processMenuAt:centered: TextEditorController(ControllerWithMenu)>>yellowButtonPressedEvent: TextEditorController(ParagraphEditor)>>yellowButtonPressedEvent: TextEditorController>>yellowButtonPressedEvent: YellowButtonPressedEvent>>dispatchTo: TextEditorController(ControllerWithMenu)>>handleEvent: EventDispatcher>>dispatch:to: EventDispatcher>>dispatchEvent: YellowButtonPressedEvent(Event)>>dispatch YellowButtonPressedEvent(Event)>>dispatchForWindowManager: optimized [] in WindowManager>>safelyDispatchForWindowManager: BlockClosure>>on:do: WindowManager>>safelyDispatchForWindowManager: WindowManager>>processNextEvent optimized [] in [] in WindowManager>>newProcess BlockClosure>>on:do: optimized [] in WindowManager>>newProcess BlockClosure>>on:do: optimized [] in Process class>>forBlock:priority: ---------------------------------------------------------------------- ByteArray class(Object)>>error: Receiver: a ByteArray class Instance Variables: superclass = IntegerArray methodDict = MethodDictionary[44] (CompiledMethod ByteArray>>basicAt: CompiledMethod ByteArray>>printOn: CompiledMethod ByteArray>>= CompiledMethod ByteArray>>basicAt:put: CompiledMethod ByteArray>>storeOn: CompiledMethod ByteArray>>at: CompiledMethod ByteArray>>at:put: CompiledMethod ByteArray>>isLiteral CompiledMethod ByteArray>>sizeInBytes ...etc...) format = 4096 subclasses = Array[2] (BinaryStorageBytes BOSSBytes ) instanceVariables = nil organization = ('accessing' #at: #at:put: #basicAt: #basicAt:put: #byteAt: #byteAt:put: #replaceBytesFrom:to:with:startingAt: #sizeInBytes #unsignedLongAt: #unsignedLongAt:put:) ('comparing' #=) ('converting' #asByteArray #asByteString #asStringEncoding: #literalArrayEncoding #withEncoding:) ('bit processing' #copyBitsStride:width:atX:y:from:stride:width:atX:y:width:height:rule: #copyBitsWidth:atX:y:from:width:atX:y:width:height:rule: #tileBitsStride:width:atX:y:from:stride:width:atX:y:width:height:rule: #tileBitsWidth:atX:y:from:width:atX:y:width:height:rule:) ('printing' #asPackedString #isLiteral #printOn: #storeOn:) ('private' #asStringFromMap:encoding: #copyBitsClippedStride:width:atX:y:from:stride:width:atX:y:width:height: rule: #copyBitsIntegralStride:width:atX:y:from:stride:width:atX:y:width:height :rule: #copyBitsRuleAdjustedStride:width:atX:y:from:stride:width:atX:y:width:he ight:rule: #copyToHeap: #fastEncodeInto: #replaceBytesFrom:to:with:startingAt:map: #replaceElementsFrom:to:withByteArray:startingAt: #slowEncodeFrom:into:startingAt: #startingAt:replaceElementsIn:from:to: #tileBits32By32Stride:width:atX:y:from:stride:width:atX:y:width:height:r ule: #tileBitsClippedStride:width:atX:y:from:stride:width:atX:y:width:height: rule: #tileBitsIntegralStride:width:atX:y:from:stride:width:atX:y:width:height :rule: #tileBitsRuleAdjustedStride:width:atX:y:from:stride:width:atX:y:width:he ight:rule:) ('security' #asHexString #asLargePositiveInteger #md5Value #shaValue) ('accessing-platform independent' #unsignedLongAt:bigEndian: #unsignedLongAt:put:bigEndian:) name = #'ByteArray' classPool = NameSpaceOfClass[5] (#default->#identityMap IdentityDictionary[2] (nil #'identityMap' ) ByteString->#default->#identityMap Dictionary[4] (nil #'identityMap' #'identityMap' nil ) Semaphore[0] () ) environment = NameSpace[198] (StringParameterSubstitution FixedPoint Bag ZeroDivide ArrayedCollection ByteString Association IntegerArray RunArray EvaluableAction SubscriptOutOfBoundsError SignalError BasicHeadlessSystem UserNotification TimestampReader MinimumStandardRandom DwordArray TextStream NameSpace[56] (a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder ...etc...) ...etc...) Arguments: aStringOrMessage = an UserMessage('This message needs a positive integer argument', #errNeedPositiveIntegerArg, #dialogs) Temporaries: lastNonSpace = 46 aString = 'This message needs a positive integer argument' Context PC = 18 ---------------------------------------------------------------------- ByteArray class(Behavior)>>handleFailedNew:size: Receiver: a ByteArray class Instance Variables: superclass = IntegerArray methodDict = MethodDictionary[44] (CompiledMethod ByteArray>>basicAt: CompiledMethod ByteArray>>printOn: CompiledMethod ByteArray>>= CompiledMethod ByteArray>>basicAt:put: CompiledMethod ByteArray>>storeOn: CompiledMethod ByteArray>>at: CompiledMethod ByteArray>>at:put: CompiledMethod ByteArray>>isLiteral CompiledMethod ByteArray>>sizeInBytes ...etc...) format = 4096 subclasses = Array[2] (BinaryStorageBytes BOSSBytes ) instanceVariables = nil organization = ('accessing' #at: #at:put: #basicAt: #basicAt:put: #byteAt: #byteAt:put: #replaceBytesFrom:to:with:startingAt: #sizeInBytes #unsignedLongAt: #unsignedLongAt:put:) ('comparing' #=) ('converting' #asByteArray #asByteString #asStringEncoding: #literalArrayEncoding #withEncoding:) ('bit processing' #copyBitsStride:width:atX:y:from:stride:width:atX:y:width:height:rule: #copyBitsWidth:atX:y:from:width:atX:y:width:height:rule: #tileBitsStride:width:atX:y:from:stride:width:atX:y:width:height:rule: #tileBitsWidth:atX:y:from:width:atX:y:width:height:rule:) ('printing' #asPackedString #isLiteral #printOn: #storeOn:) ('private' #asStringFromMap:encoding: #copyBitsClippedStride:width:atX:y:from:stride:width:atX:y:width:height: rule: #copyBitsIntegralStride:width:atX:y:from:stride:width:atX:y:width:height :rule: #copyBitsRuleAdjustedStride:width:atX:y:from:stride:width:atX:y:width:he ight:rule: #copyToHeap: #fastEncodeInto: #replaceBytesFrom:to:with:startingAt:map: #replaceElementsFrom:to:withByteArray:startingAt: #slowEncodeFrom:into:startingAt: #startingAt:replaceElementsIn:from:to: #tileBits32By32Stride:width:atX:y:from:stride:width:atX:y:width:height:r ule: #tileBitsClippedStride:width:atX:y:from:stride:width:atX:y:width:height: rule: #tileBitsIntegralStride:width:atX:y:from:stride:width:atX:y:width:height :rule: #tileBitsRuleAdjustedStride:width:atX:y:from:stride:width:atX:y:width:he ight:rule:) ('security' #asHexString #asLargePositiveInteger #md5Value #shaValue) ('accessing-platform independent' #unsignedLongAt:bigEndian: #unsignedLongAt:put:bigEndian:) name = #'ByteArray' classPool = NameSpaceOfClass[5] (#default->#identityMap IdentityDictionary[2] (nil #'identityMap' ) ByteString->#default->#identityMap Dictionary[4] (nil #'identityMap' #'identityMap' nil ) Semaphore[0] () ) environment = NameSpace[198] (StringParameterSubstitution FixedPoint Bag ZeroDivide ArrayedCollection ByteString Association IntegerArray RunArray EvaluableAction SubscriptOutOfBoundsError SignalError BasicHeadlessSystem UserNotification TimestampReader MinimumStandardRandom DwordArray TextStream NameSpace[56] (a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder ...etc...) ...etc...) Arguments: error = a SystemError(#'bad argument',nil) newSize = 500000060 Context PC = 63 ---------------------------------------------------------------------- ByteArray class(Behavior)>>new: Receiver: a ByteArray class Instance Variables: superclass = IntegerArray methodDict = MethodDictionary[44] (CompiledMethod ByteArray>>basicAt: CompiledMethod ByteArray>>printOn: CompiledMethod ByteArray>>= CompiledMethod ByteArray>>basicAt:put: CompiledMethod ByteArray>>storeOn: CompiledMethod ByteArray>>at: CompiledMethod ByteArray>>at:put: CompiledMethod ByteArray>>isLiteral CompiledMethod ByteArray>>sizeInBytes ...etc...) format = 4096 subclasses = Array[2] (BinaryStorageBytes BOSSBytes ) instanceVariables = nil organization = ('accessing' #at: #at:put: #basicAt: #basicAt:put: #byteAt: #byteAt:put: #replaceBytesFrom:to:with:startingAt: #sizeInBytes #unsignedLongAt: #unsignedLongAt:put:) ('comparing' #=) ('converting' #asByteArray #asByteString #asStringEncoding: #literalArrayEncoding #withEncoding:) ('bit processing' #copyBitsStride:width:atX:y:from:stride:width:atX:y:width:height:rule: #copyBitsWidth:atX:y:from:width:atX:y:width:height:rule: #tileBitsStride:width:atX:y:from:stride:width:atX:y:width:height:rule: #tileBitsWidth:atX:y:from:width:atX:y:width:height:rule:) ('printing' #asPackedString #isLiteral #printOn: #storeOn:) ('private' #asStringFromMap:encoding: #copyBitsClippedStride:width:atX:y:from:stride:width:atX:y:width:height: rule: #copyBitsIntegralStride:width:atX:y:from:stride:width:atX:y:width:height :rule: #copyBitsRuleAdjustedStride:width:atX:y:from:stride:width:atX:y:width:he ight:rule: #copyToHeap: #fastEncodeInto: #replaceBytesFrom:to:with:startingAt:map: #replaceElementsFrom:to:withByteArray:startingAt: #slowEncodeFrom:into:startingAt: #startingAt:replaceElementsIn:from:to: #tileBits32By32Stride:width:atX:y:from:stride:width:atX:y:width:height:r ule: #tileBitsClippedStride:width:atX:y:from:stride:width:atX:y:width:height: rule: #tileBitsIntegralStride:width:atX:y:from:stride:width:atX:y:width:height :rule: #tileBitsRuleAdjustedStride:width:atX:y:from:stride:width:atX:y:width:he ight:rule:) ('security' #asHexString #asLargePositiveInteger #md5Value #shaValue) ('accessing-platform independent' #unsignedLongAt:bigEndian: #unsignedLongAt:put:bigEndian:) name = #'ByteArray' classPool = NameSpaceOfClass[5] (#default->#identityMap IdentityDictionary[2] (nil #'identityMap' ) ByteString->#default->#identityMap Dictionary[4] (nil #'identityMap' #'identityMap' nil ) Semaphore[0] () ) environment = NameSpace[198] (StringParameterSubstitution FixedPoint Bag ZeroDivide ArrayedCollection ByteString Association IntegerArray RunArray EvaluableAction SubscriptOutOfBoundsError SignalError BasicHeadlessSystem UserNotification TimestampReader MinimumStandardRandom DwordArray TextStream NameSpace[56] (a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder a ByteCharacterEncoder ...etc...) ...etc...) Arguments: anInteger = 500000060 Temporaries: error = a SystemError(#'bad argument',nil) Context PC = 11 ---------------------------------------------------------------------- UndefinedObject>>unboundMethod Receiver: an UndefinedObject Context PC = 4 ---------------------------------------------------------------------- UndefinedObject(Object)>>performMethod:arguments: Receiver: an UndefinedObject Arguments: method = AnnotatedMethod UndefinedObject>>unboundMethod args = Array[0] () Context PC = 5 ---------------------------------------------------------------------- UndefinedObject(Object)>>performMethod: Receiver: an UndefinedObject Arguments: method = AnnotatedMethod UndefinedObject>>unboundMethod Context PC = 5 ---------------------------------------------------------------------- TextEditorController(ParagraphEditor)>>evaluateCompiled: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: aMethod = AnnotatedMethod UndefinedObject>>unboundMethod Temporaries: context = nil Context PC = 13 ---------------------------------------------------------------------- optimized [] in ParagraphEditor>>evaluateSelection Receiver: an UndefinedObject Temporaries: .self = a TextEditorController .code = AnnotatedMethod UndefinedObject>>unboundMethod Context PC = 7 ---------------------------------------------------------------------- BlockClosure>>ensure: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in ParagraphEditor>>evaluateSelection outerContext = nil copiedValues = Array[2] (a TextEditorController AnnotatedMethod UndefinedObject>>unboundMethod ) Arguments: aBlock = BlockClosure [] in Cursor>>showWhile: Temporaries: result = nil Context PC = 4 ---------------------------------------------------------------------- Cursor>>showWhile: Receiver: a Cursor Instance Variables: errorCode = 0 handle = ByteArray[8] (7 0 0 18 0 25 185 208 ) image = Depth1Image(extent: 16@16 depth: 1) mask = Depth1Image(extent: 16@16 depth: 1) hotSpot = 1@1 name = 'xeq' Arguments: aBlock = BlockClosure [] in ParagraphEditor>>evaluateSelection Temporaries: oldcursor = Cursor normal Context PC = 23 ---------------------------------------------------------------------- TextEditorController(ParagraphEditor)>>evaluateSelection Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Temporaries: code = AnnotatedMethod UndefinedObject>>unboundMethod result = nil Context PC = 14 ---------------------------------------------------------------------- optimized [] in ParagraphEditor>>doIt Receiver: an UndefinedObject Temporaries: .self = a TextEditorController Context PC = 6 ---------------------------------------------------------------------- BlockClosure>>on:do: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in ParagraphEditor>>doIt outerContext = nil copiedValues = a TextEditorController Arguments: anExceptionSelector = CompilationError handlerBlock = BlockClosure [] in ParagraphEditor>>doIt Context PC = 18 ---------------------------------------------------------------------- TextEditorController(ParagraphEditor)>>doIt Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Context PC = 20 ---------------------------------------------------------------------- TextEditorController>>dispatchMenuSymbol: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: menuSelection = #'doIt' Context PC = 10 ---------------------------------------------------------------------- TextEditorController>>dispatchMenuSelection: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: menuSelection = #'doIt' Context PC = 20 ---------------------------------------------------------------------- TextEditorController(ControllerWithMenu)>>processMenu:at:centered: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: aMenu = a Menu aPoint = 250@400 centered = true Temporaries: valueResult = a MenuItem 'Do it' #doIt Context PC = 41 ---------------------------------------------------------------------- TextEditorController(ControllerWithMenu)>>processMenuAt:centered: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: aPoint = 250@400 centered = true Context PC = 9 ---------------------------------------------------------------------- TextEditorController(ControllerWithMenu)>>yellowButtonPressedEvent: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: event = a YellowButtonPressedEvent Context PC = 31 ---------------------------------------------------------------------- TextEditorController(ParagraphEditor)>>yellowButtonPressedEvent: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: event = a YellowButtonPressedEvent Context PC = 9 ---------------------------------------------------------------------- TextEditorController>>yellowButtonPressedEvent: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: anEvent = a YellowButtonPressedEvent Context PC = 19 ---------------------------------------------------------------------- YellowButtonPressedEvent>>dispatchTo: Receiver: a YellowButtonPressedEvent Instance Variables: time = -497641854 initiator = an EventDispatcher window = an ADSApplicationScheduledWindow( a GraphicsHandle(117441665)Label: Workspace ) 117441665 state = 2 x = 198 y = 100 gx = 250 gy = 400 buttonNumber = 2 Arguments: anObject = a TextEditorController Context PC = 4 ---------------------------------------------------------------------- TextEditorController(ControllerWithMenu)>>handleEvent: Receiver: a TextEditorController Instance Variables: model = a PluggableAdaptor view = a TextEditorView sensor = a TranslatingSensor menuHolder = a ValueHolder on: a Menu performer = a WorkspacePage beginTypeInIndex = nil anchorIndex = 25 emphasisHere = nil dispatchTable = a DispatchTable charComposer = a CharacterComposer textHasChanged = true feelPolicy = a SunFeelPolicy supportCodeEditingFeels = true localMenuItems = Array[20] (#'cut' #'paste' #'copySelection' #'formatSelection' #'find' #'replace' #'again' #'undo' #'cancel' #'accept' #'alwaysAccept' #'hardcopy' #'toggleWordWrap' #'doIt' #'printIt' #'inspectIt' #'debugIt' #'fileItIn' #'changeTextStyle' #'align' ) extendingDown = true keyboardProcessor = a KeyboardProcessor keyboardHook = nil readOnly = false accepted = false autoAccept = false continuousAccept = false tabMeansNextField = true tabRequiresControl = true dispatcher = an UIDispatcher Arguments: anEvent = a YellowButtonPressedEvent Context PC = 24 ---------------------------------------------------------------------- EventDispatcher>>dispatch:to: Receiver: an EventDispatcher Instance Variables: windowController = an ApplicationStandardSystemController currentMouseConsumer = nil grabbingMouse = false keyboardProcessor = a KeyboardProcessor lastControlObject = a TextEditorController trapList = nil state = nil repairDamageWhenDebugging = true flushQueueAfterError = true distributeEventsWhenDebugging = true dragDropInProgress = false dragDropTracker = nil dispatchUnknownEvents = false Arguments: event = a YellowButtonPressedEvent object = a TextEditorController Temporaries: tmp = nil Context PC = 10 ---------------------------------------------------------------------- EventDispatcher>>dispatchEvent: Receiver: an EventDispatcher Instance Variables: windowController = an ApplicationStandardSystemController currentMouseConsumer = nil grabbingMouse = false keyboardProcessor = a KeyboardProcessor lastControlObject = a TextEditorController trapList = nil state = nil repairDamageWhenDebugging = true flushQueueAfterError = true distributeEventsWhenDebugging = true dragDropInProgress = false dragDropTracker = nil dispatchUnknownEvents = false Arguments: event = a YellowButtonPressedEvent Temporaries: objectWantingControl = a TextEditorController targetKeyboardProcessor = nil Context PC = 113 ---------------------------------------------------------------------- YellowButtonPressedEvent(Event)>>dispatch Receiver: a YellowButtonPressedEvent Instance Variables: time = -497641854 initiator = an EventDispatcher window = an ADSApplicationScheduledWindow( a GraphicsHandle(117441665)Label: Workspace ) 117441665 state = 2 x = 198 y = 100 gx = 250 gy = 400 buttonNumber = 2 Context PC = 17 ---------------------------------------------------------------------- YellowButtonPressedEvent(Event)>>dispatchForWindowManager: Receiver: a YellowButtonPressedEvent Instance Variables: time = -497641854 initiator = an EventDispatcher window = an ADSApplicationScheduledWindow( a GraphicsHandle(117441665)Label: Workspace ) 117441665 state = 2 x = 198 y = 100 gx = 250 gy = 400 buttonNumber = 2 Arguments: aWinMgr = a WindowManager Context PC = 4 ---------------------------------------------------------------------- optimized [] in WindowManager>>safelyDispatchForWindowManager: Receiver: an UndefinedObject Temporaries: .event = a YellowButtonPressedEvent .self = a WindowManager Context PC = 6 ---------------------------------------------------------------------- BlockClosure>>on:do: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in WindowManager>>safelyDispatchForWindowManager: outerContext = nil copiedValues = Array[2] (a YellowButtonPressedEvent a WindowManager ) Arguments: anExceptionSelector = BadControllerError handlerBlock = BlockClosure [] in WindowManager>>safelyDispatchForWindowManager: Context PC = 18 ---------------------------------------------------------------------- WindowManager>>safelyDispatchForWindowManager: Receiver: a WindowManager Instance Variables: windows = OrderedCollection[20] (an ADSApplicationScheduledWindow( a GraphicsHandle(117441665)Label: Workspace ) 117441665 an ADSApplicationScheduledWindow( a GraphicsHandle(117441399)Label: ElementBrowserPanel>>ok ) 117441399 an ADSApplicationScheduledWindow( a GraphicsHandle(117441027)Label: References to: lineContinuationCharacter - TspiceStream>>continueLine ) 117441027 ...etc...) activeController = nil interruptLock = false outstandingMetaOrDamage = false openInProgress = false eventQueue = an EventQueue baseProcess = a Process in Semaphore>>wait dontFilterEvents = false Arguments: event = a YellowButtonPressedEvent Context PC = 13 ---------------------------------------------------------------------- WindowManager>>processNextEvent Receiver: a WindowManager Instance Variables: windows = OrderedCollection[20] (an ADSApplicationScheduledWindow( a GraphicsHandle(117441665)Label: Workspace ) 117441665 an ADSApplicationScheduledWindow( a GraphicsHandle(117441399)Label: ElementBrowserPanel>>ok ) 117441399 an ADSApplicationScheduledWindow( a GraphicsHandle(117441027)Label: References to: lineContinuationCharacter - TspiceStream>>continueLine ) 117441027 ...etc...) activeController = nil interruptLock = false outstandingMetaOrDamage = false openInProgress = false eventQueue = an EventQueue baseProcess = a Process in Semaphore>>wait dontFilterEvents = false Temporaries: event = a YellowButtonPressedEvent Context PC = 9 ---------------------------------------------------------------------- optimized [] in [] in WindowManager>>newProcess Receiver: an UndefinedObject Temporaries: .self = a WindowManager Context PC = 13 ---------------------------------------------------------------------- BlockClosure>>on:do: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in [] in WindowManager>>newProcess outerContext = nil copiedValues = a WindowManager Arguments: anExceptionSelector = TerminateException handlerBlock = BlockClosure [] in [] in WindowManager>>newProcess Context PC = 18 ---------------------------------------------------------------------- optimized [] in WindowManager>>newProcess Receiver: an UndefinedObject Temporaries: .self = a WindowManager Context PC = 15 ---------------------------------------------------------------------- BlockClosure>>on:do: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in WindowManager>>newProcess outerContext = nil copiedValues = a WindowManager Arguments: anExceptionSelector = TerminateException handlerBlock = BlockClosure [] in [] in Process class>>forBlock:priority: Context PC = 18 ---------------------------------------------------------------------- optimized [] in Process class>>forBlock:priority: Receiver: an UndefinedObject Temporaries: .aBlock = BlockClosure [] in WindowManager>>newProcess Context PC = 9 |
Mark
Check out the first page of the Implementation limits doc in the technotes folder. Says the limit for byte objects is 2**28. Terry =========================================================== Terry Raymond Smalltalk Professional Debug Package Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] > Sent: Saturday, August 05, 2006 5:44 PM > To: [hidden email] > Subject: [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and > message says I need a positive integer argument, which I have > > [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and message > says I need a positive integer argument, which I have > > I assume it violated some maximum array size. > What is the maximum array size and why is there a maximum? > The message should be changed to say what the real problem was... > |
Thanks, Terry.
I wonder if this limit exists for the 64-bit image... I would hope not. Please, someone create an AR to fix the message. It would be good if the image supplied a selector for these limits; something like ObjectMemory maximumSizeForIndexableObjects "some explanation of why the maximum and pointer to the Implementation limits doc" <primtive: xxx> grab it from the OE ^2**28 And then the error handler could test the size arg against the limit and give a better error message. Something like error == #'bad argument' ifTrue: [ newSize > ObjectMemory maximumSizeForIndexableObjects ifTrue: [give nice message about limit] ifFalse: [give message about needing postive integer] -----Original Message----- From: Terry Raymond [mailto:[hidden email]] Sent: Saturday, August 05, 2006 3:49 PM To: Ballard, Mark B; [hidden email] Subject: RE: [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and message says I need a positive integer argument, which I have Mark Check out the first page of the Implementation limits doc in the technotes folder. Says the limit for byte objects is 2**28. Terry =========================================================== Terry Raymond Smalltalk Professional Debug Package Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] > Sent: Saturday, August 05, 2006 5:44 PM > To: [hidden email] > Subject: [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and > message says I need a positive integer argument, which I have > > [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and message > says I need a positive integer argument, which I have > > I assume it violated some maximum array size. > What is the maximum array size and why is there a maximum? > The message should be changed to say what the real problem was... > |
Mark
In 7.4.1 the error message is; "Size exceeds implementation limit of 2^28 elements" But the value is encoded in the method that generates the error message. Terry =========================================================== Terry Raymond Smalltalk Professional Debug Package Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] > Sent: Saturday, August 05, 2006 7:26 PM > To: [hidden email]; [hidden email] > Subject: RE: [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and > message says I need a positive integer argument, which I have > > Thanks, Terry. > > I wonder if this limit exists for the 64-bit image... I would hope not. > > Please, someone create an AR to fix the message. > > It would be good if the image supplied a selector for these limits; > something like > > ObjectMemory maximumSizeForIndexableObjects > "some explanation of why the maximum and pointer to the > Implementation limits doc" > > <primtive: xxx> grab it from the OE > ^2**28 > > And then the error handler could test the size arg against the limit and > give a better error message. Something like > > error == #'bad argument' > ifTrue: [ > newSize > ObjectMemory maximumSizeForIndexableObjects > ifTrue: [give nice message about limit] > ifFalse: [give message about needing postive integer] > > > > -----Original Message----- > From: Terry Raymond [mailto:[hidden email]] > Sent: Saturday, August 05, 2006 3:49 PM > To: Ballard, Mark B; [hidden email] > Subject: RE: [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and > message says I need a positive integer argument, which I have > > > Mark > > Check out the first page of the Implementation limits > doc in the technotes folder. > > Says the limit for byte objects is 2**28. > > Terry > > =========================================================== > Terry Raymond Smalltalk Professional Debug Package > Crafted Smalltalk > 80 Lazywood Ln. > Tiverton, RI 02878 > (401) 624-4517 [hidden email] > <http://www.craftedsmalltalk.com> > =========================================================== > > -----Original Message----- > > From: [hidden email] > [mailto:[hidden email]] > > Sent: Saturday, August 05, 2006 5:44 PM > > To: [hidden email] > > Subject: [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and > > message says I need a positive integer argument, which I have > > > > [vw7.3.1][BUG][Base] -- ByteArray new: 500000060 failed and message > > says I need a positive integer argument, which I have > > > > I assume it violated some maximum array size. > > What is the maximum array size and why is there a maximum? > > The message should be changed to say what the real problem was... > > |
Free forum by Nabble | Edit this page |