swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swarm-Support] Null pointer exception in call to controlPanel


From: Steve Railsback
Subject: [Swarm-Support] Null pointer exception in call to controlPanel
Date: Wed, 09 Nov 2005 15:58:06 -0800
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

OK, here is my next problem. The setStateQuit statement in this method (which is in my GUISwarm) causes a Java null pointer exception.

          public void checkWhetherToStop () {
                  if (stupidModelSwarm.checkToStop() == true) {
                          controlPanel.setStateQuit();
                  }
                  return;



(Another interesting issue is that if this method is called "checkToStop" instead of "checkWhetherToStop" it raises this warning and is then ignored:
        Exception in check to stop actions : null

And...I have a method called checkToStop in the model swarm that causes no problems.)

Steve

--
Lang Railsback & Assoc.
250 California Ave.
Arcata, California 95521
(707) 822-0453


reply via email to

[Prev in Thread] Current Thread [Next in Thread]