Search code examples
smalltalkpharoseaside

Seaside: receiver of 'contents' is nil


I'm trying to just get started with Seaside in Pharo 3.0, but I've ran into an issue. I've been able to setup one of my classes successfully, but decided it was better to make a different class the root, so I relaunched Pharo to start fresh. However, on my other class I'm getting this when I navigate to the URL:

enter image description here

Does anyone know right off what would cause this? I inherit directly from WAComponent, I've setup the application in the Seaside config, and have implemented canBeRoot and renderContentOn


Solution

  • Turns out I didn't have super initialize in my initialize method. All is good now; feel free to disable/delete/howeveritworks this thread! :)