From: thomas m. <tho...@gm...> - 2006-08-23 16:16:20
|
hi all, posting again ... When I am running the actionstep cases (ASTest...) I am using as2lib and SOS to do my tracing. I get a lot of : 18:09:33.473 org.actionstep.NSView.mcBoundsHolder():337 - NSException( NSException: Cannot access bounds holder movieclip until NSView is inserted into view hierarchy., NSDictionary( NSView=>NSView(frame=NSRect(origin=NSPoint(x=0, y=0), size=NSSize(width=2000, height=2000)), bounds=NSRect(origin=NSPoint(x=0, y=0), size=NSSize(width=2000, height=2000)) clip=undefined) ) ) when the app starts and I have to say I don't get it ... it doesnt happen when loading the library with the Loader and compiling agaisnt the instrinsics classes help appreciated (I kniow this has come up before but could not find the post to the list :( ) thomas |
From: Ray C. <rc...@gm...> - 2006-08-23 16:37:46
|
Hi, this means that you're trying to display a "orphaned" view. See http://osflash.org/actionstep/documentation/views#hierarchy for more information. In ActionStep (or maybe Cocoa too), there are 2 types of views: a root view (ASRootWindowView) and a normal view (NSView). A root view can be displayed by itself, but a normal view can't. It needs to be inserted under a root view or another normal view (setSubview). So to fix the error, create a window. var wnd:NSWindow = ... wnd.contentView().setSubview(yourview); On 8/24/06, thomas mery <tho...@gm...> wrote: > hi all, > > posting again ... > > When I am running the actionstep cases (ASTest...) I am using as2lib and SOS > to do my tracing. > > I get a lot of : > > 18:09:33.473 org.actionstep.NSView.mcBoundsHolder():337 - > NSException( > NSException: > Cannot access bounds holder movieclip until NSView is inserted into view > hierarchy., > NSDictionary( > NSView=>NSView(frame=NSRect(origin=NSPoint(x=0, y=0), > size=NSSize(width=2000, height=2000)), > bounds=NSRect(origin=NSPoint(x=0, y=0), > size=NSSize(width=2000, height=2000)) clip=undefined) > ) > ) > > when the app starts and I have to say I don't get it ... > > it doesnt happen when loading the library with the Loader and compiling > agaisnt the instrinsics classes > > help appreciated (I kniow this has come up before but could not find the > post to the list :( ) > > thomas > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > -- Cheers, Ray Chuan |
From: thomas m. <tho...@gm...> - 2006-08-23 16:48:48
|
hi well my code and the code in any test method of Test classes do just that so thats why I didn't understand the errors ... and they don't happen when I am compiling agaisnt the intrisics and loading the library at runtime so I thouhgt i was not a problem of view hierarchy which hopefully I assimilated now :) On 8/23/06, Ray Chuan <rc...@gm...> wrote: > > Hi, > this means that you're trying to display a "orphaned" view. See > > http://osflash.org/actionstep/documentation/views#hierarchy > > for more information. > > In ActionStep (or maybe Cocoa too), there are 2 types of views: a root > view (ASRootWindowView) and a normal view (NSView). > > A root view can be displayed by itself, but a normal view can't. It > needs to be inserted under a root view or another normal view > (setSubview). > > So to fix the error, create a window. > > var wnd:NSWindow = ... > wnd.contentView().setSubview(yourview); > > On 8/24/06, thomas mery <tho...@gm...> wrote: > > hi all, > > > > posting again ... > > > > When I am running the actionstep cases (ASTest...) I am using as2lib and > SOS > > to do my tracing. > > > > I get a lot of : > > > > 18:09:33.473 org.actionstep.NSView.mcBoundsHolder():337 - > > NSException( > > NSException: > > Cannot access bounds holder movieclip until NSView is inserted into > view > > hierarchy., > > NSDictionary( > > NSView=>NSView(frame=NSRect(origin=NSPoint(x=0, y=0), > > size=NSSize(width=2000, height=2000)), > > bounds=NSRect(origin=NSPoint(x=0, y=0), > > size=NSSize(width=2000, height=2000)) clip=undefined) > > ) > > ) > > > > when the app starts and I have to say I don't get it ... > > > > it doesnt happen when loading the library with the Loader and compiling > > agaisnt the instrinsics classes > > > > help appreciated (I kniow this has come up before but could not find the > > post to the list :( ) > > > > thomas > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > actionstep-core mailing list > > act...@li... > > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > > > > > > > -- > Cheers, > Ray Chuan > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > -- ---------------------------------------------------------- Thomas Mery en concert : Septembre 20/09 OPA - Paris Octobre 14/10 Limoges 15/10 --- 16/10 --- 17/10 Toulouse 18/10 --- 19/10 Bordeaux 20/10 --- 21/10 Reims Novembre 10/11 Macon http://www.myspace.com/thomasmery http://www.thomas-mery.net ---------------------------------------------------------- |
From: Scott H. <sc...@af...> - 2006-08-23 17:16:13
|
You're saying this happens on the test classes? Which ones? I've been hitting this problem myself lately, and it would be great if it could be isolated in a test (because my stuff has so much code I don't know where to begin). Scott On 23/08/06, thomas mery <tho...@gm...> wrote: > hi all, > > posting again ... > > When I am running the actionstep cases (ASTest...) I am using as2lib and SOS > to do my tracing. > > I get a lot of : > > 18:09:33.473 org.actionstep.NSView.mcBoundsHolder():337 - > NSException( > NSException: > Cannot access bounds holder movieclip until NSView is inserted into view > hierarchy., > NSDictionary( > NSView=>NSView(frame=NSRect(origin=NSPoint(x=0, y=0), > size=NSSize(width=2000, height=2000)), > bounds=NSRect(origin=NSPoint(x=0, y=0), > size=NSSize(width=2000, height=2000)) clip=undefined) > ) > ) > > when the app starts and I have to say I don't get it ... > > it doesnt happen when loading the library with the Loader and compiling > agaisnt the instrinsics classes > > help appreciated (I kniow this has come up before but could not find the > post to the list :( ) > > thomas > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > |
From: thomas m. <tho...@gm...> - 2006-08-23 17:22:14
|
hi there yes actually I think it happens when : accessing the app through a Main Class that calls an init method for instance it does not happen when : - launching the app directly from the class which has the main() function called by mtasc (to be verified I don't have time right now) - when loading the library at runtime and compiling agaisnt the intrisics classes (this I'm positive about) it might havs to do with using the SosLogger through as2lib, I havent tested with other loggers though I'm no guru as u lmight have noticed so I'm trying my best giving u hints about whats happening On 8/23/06, Scott Hyndman <sc...@af...> wrote: > > You're saying this happens on the test classes? > > Which ones? I've been hitting this problem myself lately, and it would > be great if it could be isolated in a test (because my stuff has so > much code I don't know where to begin). > > Scott > > On 23/08/06, thomas mery <tho...@gm...> wrote: > > hi all, > > > > posting again ... > > > > When I am running the actionstep cases (ASTest...) I am using as2lib and > SOS > > to do my tracing. > > > > I get a lot of : > > > > 18:09:33.473 org.actionstep.NSView.mcBoundsHolder():337 - > > NSException( > > NSException: > > Cannot access bounds holder movieclip until NSView is inserted into > view > > hierarchy., > > NSDictionary( > > NSView=>NSView(frame=NSRect(origin=NSPoint(x=0, y=0), > > size=NSSize(width=2000, height=2000)), > > bounds=NSRect(origin=NSPoint(x=0, y=0), > > size=NSSize(width=2000, height=2000)) clip=undefined) > > ) > > ) > > > > when the app starts and I have to say I don't get it ... > > > > it doesnt happen when loading the library with the Loader and compiling > > agaisnt the instrinsics classes > > > > help appreciated (I kniow this has come up before but could not find the > > post to the list :( ) > > > > thomas > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > actionstep-core mailing list > > act...@li... > > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > -- ---------------------------------------------------------- Thomas Mery en concert : Septembre 20/09 OPA - Paris Octobre 14/10 Limoges 15/10 --- 16/10 --- 17/10 Toulouse 18/10 --- 19/10 Bordeaux 20/10 --- 21/10 Reims Novembre 10/11 Macon http://www.myspace.com/thomasmery http://www.thomas-mery.net ---------------------------------------------------------- |