Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9590

Re: Strange crash in a screen Init

From Martin <Martin@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Strange crash in a screen Init
Date 2016-08-09 12:06 +0100
Organization A noiseless patient Spider
Message-ID <nocdfc$jr5$1@dont-email.me> (permalink)
References <noabne$c41$2@dont-email.me> <e0t9rdF4q3hU1@mid.individual.net>

Show all headers | View raw


It would have meant posting up hundreds of lines of code, also moving 
object order changed the crash.

I rebuilt the screen from scratch.

Thanks

Martin

On 09/08/2016 07:00, Wolfgang Riedmann wrote:
> Hi Martin,
>
>> I added a couple of browses to a screen and new it is crashing on
>> Init()
>>
>> Anyone have any ideas please?
>
> as always, you are giving very good indications about your code (and as
> always in your posts you are assuming that your code has no error, but
> it is the upstream code that fails - GUI classes, RDD classes).
>
> When I have learned something in my work, then it is that I'm the one
> that fails most of the time - very rarely it is upstream code that
> fails because it is much more tested than my own code.
>
> But in this case I suspect that either you don't have a call to
> super:Init() in the window class or you try to add the button before
> the call to super:Init(), so you try to add a pushbutton to a
> non-initialized window. If argument 0 is the error, it is the class on
> which you call a method that is null_object.
>
> But since you don't show the offending code line, we can only imaginate
> where your problem lies.
>
> Wolfgang
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Strange crash in a screen Init Martin <Martin@spam.spam> - 2016-08-08 17:24 +0100
  Re: Strange crash in a screen Init D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-08-08 23:10 +0200
    Re: Strange crash in a screen Init Martin <Martin@spam.spam> - 2016-08-08 23:46 +0100
    Re: Strange crash in a screen Init Martin <Martin@spam.spam> - 2016-08-09 09:04 +0100
      Re: Strange crash in a screen Init Robert van der Hulst <rjvanderhulst@gmail.com> - 2016-08-09 02:08 -0700
        Re: Strange crash in a screen Init "Jamal" <noooospam@example.com> - 2016-08-11 00:35 -0400
          Re: Strange crash in a screen Init Martin <Martin@spam.spam> - 2016-08-11 14:48 +0100
  Re: Strange crash in a screen Init "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-08-09 08:00 +0200
    Re: Strange crash in a screen Init Martin <Martin@spam.spam> - 2016-08-09 12:06 +0100

csiph-web