Faculty of Information Technology
Software Engineering Group

Opened 4 years ago

Last modified 4 years ago

#87 new defect

Error when trying to find a Class (Classes -> Find Class)

Reported by: Patrik Svestka Owned by:
Priority: major Milestone:
Component: default Keywords:
Cc: Also affects CVS HEAD (eXept version): no

Description

Classes -> Find Class
User type: "ras" (the following error appears) perhaps a SmallSense? issue?

[AssertionFailedError]: This method can be called only from background update job {SmallSense::ClassSearchDialog(Object) >> assert:message: [8] } in process SmallSense search dialog updater [351]

SmallSense::ClassSearchDialog(Object) >> assert:description: [] in SmallSense::AbstractListDialog>>updateMatching 'This method can be called only from background update job' {4837376} [14]
SmallSense::ClassSearchDialog(Object) >> assert:message: [] in SmallSense::AbstractListDialog>>updateMatching 'This method can be called only from background update job' {4841472} [8]
SmallSense::ClassSearchDialog(SmallSense::AbstractListDialog) >> updateMatching  {4845568} [4]
[] in SmallSense::AbstractListDialog>>initialize >> value {4849664} [16]
BackgroundJob >> process: [] in SmallSense::AbstractListDialog>>initialize {4853760} [2]
BackgroundJob >> process {4857856} [4]
[] in AbstractBackgroundJob>>startWithPriority: >> value {4861952} [16]
ControlInterrupt class(GenericException class) >> handle:do: [] in AbstractBackgroundJob>>startWithPriority: [] in AbstractBackgroundJob>>startWithPriority: {4866048} [14]
[] in AbstractBackgroundJob>>startWithPriority: >> value  {4870144} [8]
Block >> ensure: [] in AbstractBackgroundJob>>startWithPriority: {4874240} [12]
[] in AbstractBackgroundJob>>startWithPriority: >> value  {4878336} [18]
ExceptionHandlerSet >> handleDo: [] in AbstractBackgroundJob>>startWithPriority: {4882432} [14]
[] in Process>>start >> value {4886528} [35]
SignalSet >> handle:do: [] in Process>>start [] in Process>>start {4890624} [14]
[] in Process>>start >> value  {4894720} [23]
Block >> ensure: [] in Process>>start {4898816} [12]
Process >> start  {4902912} [37]
UndefinedObject >> nil  {4907008} [0]

Change History (3)

comment:1 Changed 4 years ago by Patrik Svestka

Now tested with the build 2127.
Opening Classes -> Find class window and not even searching in the dialog, just closing the window brings a bug to the front.

[AssertionFailedError]: Assertion failed in Tools::NewSystemBrowser class >> stx_goodies_smallsense_askForClassToSearch:single:msgTail:resources:filter:forBrowser:thenDo: [74][74] in process ST/X Launcher [6]

Tools::NewSystemBrowser class(Object) >> assert: false {4685824} [14]
Tools::NewSystemBrowser class >> stx_goodies_smallsense_askForClassToSearch:single:msgTail:resources:filter:forBrowser:thenDo: nil true '' ResourcePack for: Tools::NewSystemBrowser nil nil [] in SystemBrowser class>>askForClassNameWithFilter: {4689920} [74]
Tools::NewSystemBrowser class >> askForClassToSearch:single:msgTail:resources:filter:forBrowser:thenDo: nil true '' ResourcePack for: Tools::NewSystemBrowser nil nil [] in SystemBrowser class>>askForClassNameWithFilter: {4694016} [3]
Tools::NewSystemBrowser class(SystemBrowser class) >> askForClassNameWithFilter: nil {4698112} [3]
Tools::NewSystemBrowser class(SystemBrowser class) >> askForClassWithFilter: nil {4702208} [4]
Tools::NewSystemBrowser class(SystemBrowser class) >> askForClass {4706304} [2]
NewLauncher >> findClassAndBrowse  {4710400} [4]
[] in NewLauncher>>menuClassHistoryFor: >> value {4714496} [31]
Block >> valueWithArguments: nil {4718592} [38]
MenuPanel >> accept:index:toggle:receiver: MenuPanel::Item('Find Class...') 2 nil a NewLauncher {4722688} [38]
[] in MenuPanel>>processMenuSelectItemEvent: >> value {4726784} [15]
MenuPanel >> processMenuSelectItemEvent: MenuEvent::MenuSelectItemEvent(#processMenuSelec...temEvent: view: MenuPanel args: #("recursive")))) {4730880} [22]
MenuPanel(Object) >> perform:withArguments: #processMenuSelectItemEvent: #(MenuEvent::MenuSelectItemEvent(#processMenuSelectItemEvent: view: MenuPanel args: #("recursive"))) {4734976} [87]
MenuPanel(DisplaySurface) >> dispatchEvent:type:arguments:withFocusOn:delegate: MenuEvent::MenuSelectItemEvent(#processMenuSelec...temEvent: view: MenuPanel args: #("recursive")))) #processMenuSelectItemEvent: #(MenuEvent::MenuSelectItemEvent(#processMenuSelectItemEvent: view: MenuPanel args: #("recursive"))) a Workspace false {4739072} [236]
MenuPanel(DisplaySurface) >> dispatchEvent:withFocusOn:delegate: MenuEvent::MenuSelectItemEvent(#processMenuSelec...temEvent: view: MenuPanel args: #("recursive")))) a Workspace false {4743168} [5]
MenuPanel >> dispatchEvent:withFocusOn:delegate: MenuEvent::MenuSelectItemEvent(#processMenuSelec...temEvent: view: MenuPanel args: #("recursive")))) a Workspace true {4747264} [24]
[] in WindowGroup>>processEventsWithModalGroup: >> value  {4751360} [231]
WindowGroup::LastEventQuery class(GenericException class) >> handle:do: [] in WindowGroup>>processEventsWithModalGroup: [] in WindowGroup>>processEventsWithModalGroup: {4755456} [14]
[] in WindowGroup>>processEventsWithModalGroup: >> value  {4759552} [17]
Block >> ensure: [] in WindowGroup>>processEventsWithModalGroup: {4763648} [12]
WindowGroup >> processEventsWithModalGroup: nil {4767744} [243]
[] in WindowGroup>>eventLoopWhile:onLeave: >> value  {4771840} [162]
SignalSet >> handle:do: [] in WindowGroup>>eventLoopWhile:onLeave: [] in WindowGroup>>eventLoopWhile:onLeave: {4775936} [14]
[] in WindowGroup>>eventLoopWhile:onLeave: >> value  {4780032} [85]
Block >> ensure: [] in WindowGroup>>startupWith: (optimized) {4784128} [12]
WindowGroup >> eventLoopWhile:onLeave: [] in WindowGroup>>startupWith: (optimized) [] in WindowGroup>>startupWith: (optimized) {4788224} [194]
[] in WindowGroup>>startupWith: >> value {4792320} [28]
Block >> ensure: [] in WindowGroup>>startupWith: {4796416} [12]
[] in WindowGroup>>startupWith: >> value  {4800512} [29]
WindowGroup::WindowGroupQuery class(Notification class) >> answer:do: WindowGroup(ST/X Launcher) [] in WindowGroup>>startupWith: {4804608} [10]
[] in WindowGroup>>startupWith: >> value {4808704} [23]
ExceptionHandlerSet >> handleDo: [] in WindowGroup>>startupWith: {4812800} [14]
[] in Process>>start >> value {4816896} [35]
SignalSet >> handle:do: [] in Process>>start [] in Process>>start {4820992} [14]
[] in Process>>start >> value  {4825088} [23]
Block >> ensure: [] in Process>>start {4829184} [12]
Process >> start  {4833280} [37]
UndefinedObject >> nil  {4837376} [0]

comment:2 in reply to:  1 Changed 4 years ago by Jan Vrany

Replying to patrik.svestka@…:

Now tested with the build 2127.
Opening Classes -> Find class window and not even searching in the dialog, just closing the window brings a bug to the front.

This particular problem should be fixed in fc447c1/stx.goodies.smallsense. Should be in next build.

Looking at the stacktrace, the original problem is different. However, I cannot (yet) reproduce it.

comment:3 Changed 4 years ago by Patrik Svestka

Yes, the second issue has been resolved by this workaround.

The first issue still remains and produces the same issue:

[AssertionFailedError]: This method can be called only from background update job {SmallSense::ClassSearchDialog(Object) >> assert:message: [8] } in process SmallSense search dialog updater [288]

SmallSense::ClassSearchDialog(Object) >> assert:description: [] in SmallSense::AbstractListDialog>>updateMatching 'This method can be called only from background update job' {5873664} [14]
SmallSense::ClassSearchDialog(Object) >> assert:message: [] in SmallSense::AbstractListDialog>>updateMatching 'This method can be called only from background update job' {5877760} [8]
SmallSense::ClassSearchDialog(SmallSense::AbstractListDialog) >> updateMatching  {5881856} [4]
[] in SmallSense::AbstractListDialog>>initialize >> value {5885952} [16]
BackgroundJob >> process: [] in SmallSense::AbstractListDialog>>initialize {5890048} [2]
BackgroundJob >> process {5894144} [4]
[] in AbstractBackgroundJob>>startWithPriority: >> value {5898240} [16]
ControlInterrupt class(GenericException class) >> handle:do: [] in AbstractBackgroundJob>>startWithPriority: [] in AbstractBackgroundJob>>startWithPriority: {5902336} [14]
[] in AbstractBackgroundJob>>startWithPriority: >> value  {5906432} [8]
Block >> ensure: [] in AbstractBackgroundJob>>startWithPriority: {5910528} [12]
[] in AbstractBackgroundJob>>startWithPriority: >> value  {5914624} [18]
ExceptionHandlerSet >> handleDo: [] in AbstractBackgroundJob>>startWithPriority: {5918720} [14]
[] in Process>>start >> value {5922816} [35]
SignalSet >> handle:do: [] in Process>>start [] in Process>>start {5926912} [14]
[] in Process>>start >> value  {5931008} [23]
Block >> ensure: [] in Process>>start {5935104} [12]
Process >> start  {5939200} [37]
UndefinedObject >> nil  {5943296} [0]
Note: See TracTickets for help on using tickets.