[B140] Loading error

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

[B140] Loading error

Postby marten » Mon Apr 19, 2010 12:40 am

Loading the configuration map Mastering ENVY/Developer Testing Extensions V 5.5.1 [19]...
quonk
"Reference a (hopefully) nil global"
^
compiler error "undefined"
--> FooQuonk

Error: 357 Cannot complete the load because MedPrereqCheckTestCase>>#quonk(23.08.2000 08:59:35) does not compile.
NOTE: If you reload after executing:
EmImageBuilder cancelIfMethodsDoNotCompile: false
methods which do not compile will be deleted.
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: [B140] Loading error

Postby jtuchel » Sun Apr 25, 2010 11:23 pm

Marten,

isn't this exactly the expected behaviour? The test method is intended to fail if a method references an unknown pool constant.
Envy refueses to load the method for exactly this reason....
jtuchel
[|]
 
Posts: 245
Joined: Fri Oct 05, 2007 1:05 am
Location: Ludwigsburg, Germany

Re: [B140] Loading error

Postby marten » Mon Apr 26, 2010 12:37 am

jtuchel wrote:isn't this exactly the expected behaviour?


Not, if this happens while loading a feature. This time "z.VA: Mastering ENVY/Developer Tools".
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: [B140] Loading error

Postby jtuchel » Mon Apr 26, 2010 1:00 am

HI Marten,

I'm glad I'm not wearing John's shoes in this case ;-)
The only option here would be to remove the method form the feature, because I guess it's not easy to switch off cancelIfMethodsDoNotCompile just for one app... in the middle of loading. And even if it was, it would probably hide problems that should be visible...
jtuchel
[|]
 
Posts: 245
Joined: Fri Oct 05, 2007 1:05 am
Location: Ludwigsburg, Germany


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest