VW7.8NC start from scratch question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

VW7.8NC start from scratch question

Lutz-Peter Kurdelski
Hi,

I am not new to smalltalk but over the last years I always got stuck
loading parcels from the distribution into a plain visualnc64.im image.

When loading
 HyperlinkHighlighting I got a notification window "Unhandled exception:
Message not understood: #componentAt:
 SpellcheckHighlighting I got a notification window "Unhandled
exception: Message not understood: #componentAt:
 AIDAWeb I got a notification window "Unhandled exception: Message not
understood: #postLoadBlock:

The first two cannot be loaded into the original visual64nc.im image.
AIDAWeb load works in an original visual64nc.im image without any other
parcel loaded.
When I unload Swazoo in my previously created image and try to reload
AIDAWeb (which loads Swazoo as prerequisite) it also fails.

What did I do wrong? Any hints?

Please find the stack copies attached.

Lutz-Peter

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

AIDAWeb_stack.txt (73K) Download Attachment
HyperlinkHighlighting_stack.txt (77K) Download Attachment
SpellcheckHighlighting_stack.txt (80K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Bulk] VW7.8NC start from scratch question

Alan Knight-2
Well, this doesn't look like a plain image because the error you're getting is in Searchlight. So I'd suggest trying it without loading Searchlight, or loading Searchlight afterwards, as it appears to be having an issue with the postLoad.

Lutz-Peter Kurdelski wrote:
Hi,

I am not new to smalltalk but over the last years I always got stuck
loading parcels from the distribution into a plain visualnc64.im image.

When loading
 HyperlinkHighlighting I got a notification window "Unhandled exception:
Message not understood: #componentAt:
 SpellcheckHighlighting I got a notification window "Unhandled
exception: Message not understood: #componentAt:
 AIDAWeb I got a notification window "Unhandled exception: Message not
understood: #postLoadBlock:

The first two cannot be loaded into the original visual64nc.im image.
AIDAWeb load works in an original visual64nc.im image without any other
parcel loaded.
When I unload Swazoo in my previously created image and try to reload
AIDAWeb (which loads Swazoo as prerequisite) it also fails.

What did I do wrong? Any hints?

Please find the stack copies attached.

Lutz-Peter
AIDAWeb_stack.txt
Unhandled exception: Message not understood: #postLoadBlock UndefinedObject(Object)>>doesNotUnderstand: Searchlight.SearchDatabase>>loadPundleModel: Searchlight.SearchDatabase>>loadParcel: Searchlight.SearchDatabase>>update:with:from: Searchlight.SearchDatabase class>>update:with:from:

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [Bulk] VW7.8NC start from scratch question

Thomas Brodt-2
I remember vaguely that I had such a problem with Searchlight when I loaded a package with Shared vars defined on a NameSpace (I use that for mapping constants to meaningful names). IIRC Searchlight had a problem with building its index then.
As our porting to 7.8 got stuck a little, I still didn't get to the point where I could send a reproducible example which I always wanted to do. Maybe this could be the same...

Thomas



Am 06.01.2012 15:32, schrieb Alan Knight:
Well, this doesn't look like a plain image because the error you're getting is in Searchlight. So I'd suggest trying it without loading Searchlight, or loading Searchlight afterwards, as it appears to be having an issue with the postLoad.

Lutz-Peter Kurdelski wrote:
Hi,

I am not new to smalltalk but over the last years I always got stuck
loading parcels from the distribution into a plain visualnc64.im image.

When loading
 HyperlinkHighlighting I got a notification window "Unhandled exception:
Message not understood: #componentAt:
 SpellcheckHighlighting I got a notification window "Unhandled
exception: Message not understood: #componentAt:
 AIDAWeb I got a notification window "Unhandled exception: Message not
understood: #postLoadBlock:

The first two cannot be loaded into the original visual64nc.im image.
AIDAWeb load works in an original visual64nc.im image without any other
parcel loaded.
When I unload Swazoo in my previously created image and try to reload
AIDAWeb (which loads Swazoo as prerequisite) it also fails.

What did I do wrong? Any hints?

Please find the stack copies attached.

Lutz-Peter
AIDAWeb_stack.txt
Unhandled exception: Message not understood: #postLoadBlock UndefinedObject(Object)>>doesNotUnderstand: Searchlight.SearchDatabase>>loadPundleModel: Searchlight.SearchDatabase>>loadParcel: Searchlight.SearchDatabase>>update:with:from: Searchlight.SearchDatabase class>>update:with:from:


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: VW7.8NC start from scratch question

Michael Lucas-Smith-2
In reply to this post by Lutz-Peter Kurdelski
>
> Lutz-Peter
> <AIDAWeb_stack.txt>

In this case, my best guess would be that there's a parcel in AIDA/Web that has a different name to its package name. Historically, there are two properties to indicate package name and parcel name and Searchlight does not use the parcel name -- this may very well be the first time in a LONG time this has happened. You can check by looking at the package properties for the parcel that it crashed on in the stack and seeing if the two names differ.

> <HyperlinkHighlighting_stack.txt>

> <SpellcheckHighlighting_stack.txt>

These two crashes are unrelated to Searchlight. I've got no immediate idea as to what could be going on here except if there are out dated versions involved. I know work has been going on in this area recently.

Cheers,
Michael

> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: VW7.8NC start from scratch question

Lutz-Peter Kurdelski
Thanks a lot for the analysis and the help so far.

Here are my 2 cents around this topic.

There are prerequites defined for each package which structures the
import of the code so that everything what is NEEDED is loaded first.
- suggestion: It should be avoided to load something if it cannot be
loaded in total i.e. leaving undeclared objects.
- Is there a chance for checking for incompatibilities before importing
(required versions of packages, certified for version xy only etc. -
something like compatibilities in Java version)?
- Is there a chance for holding multiple versions of a package in the
image and let the caller decide which version to use by specifying a
required minimum version (typical versioning in application servers like
BEA/Oracle and IBM)?
- From the errors I found and the explanations it looks like
HyperlinkHighlighting and SpellcheckHighlighting are valid for a VW
version before VM 7.8. If this is specified somewhere in the
prerequisites it would not load. If it is tested for VW7.8 it will tell
in the prerequisites that it can be loaded.

Lutz-Peter

Am 06.01.2012 23:54, schrieb Michael Lucas-Smith:

>> Lutz-Peter
>> <AIDAWeb_stack.txt>
> In this case, my best guess would be that there's a parcel in AIDA/Web that has a different name to its package name. Historically, there are two properties to indicate package name and parcel name and Searchlight does not use the parcel name -- this may very well be the first time in a LONG time this has happened. You can check by looking at the package properties for the parcel that it crashed on in the stack and seeing if the two names differ.
>
>> <HyperlinkHighlighting_stack.txt>
>> <SpellcheckHighlighting_stack.txt>
> These two crashes are unrelated to Searchlight. I've got no immediate idea as to what could be going on here except if there are out dated versions involved. I know work has been going on in this area recently.
>
> Cheers,
> Michael
>
>> _______________________________________________
>> vwnc mailing list
>> [hidden email]
>> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc