swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Query regarding plotting a graph in Swarm.


From: Kavita Gangal
Subject: Re: [Swarm-Support] Query regarding plotting a graph in Swarm.
Date: Thu, 23 Aug 2007 16:23:49 +0530

Hello,
I found the Stupid_Cell.Data
I included that file in the project. after running the file it shows the control panel but when you pres start then it displays messages as follows:

Error:  input file not found
Exception in thread "main" java.lang.RuntimeException: Error:  input file in wrong format
    at stupidModel15.DoubleFileGridReader.wrongFormat(DoubleFileGridReader.java:70)
    at stupidModel15.DoubleFileGridReader .<init>(DoubleFileGridReader.java:24)
    at stupidModel15.StupidModelSwarm.buildObjects(StupidModelSwarm.java:107)
    at stupidModel15.StupidObserverSwarm.buildObjects(StupidObserverSwarm.java:72)
    at stupidModel15.StartStupidModel.main (StartStupidModel.java:29)
*** event raised for warning: WarningMessage
*** function: swarm_directory_java_ensure_selector(), file: /src/swarm/src/defobj/java.m, line: 1995
Method `add:' type (address@hidden:address@hidden) differs from Swarm method's type ( address@hidden:address@hidden)
*** execution continuing...
*** event raised for warning: WarningMessage
*** function: swarm_directory_java_ensure_selector(), file: /src/swarm/src/defobj/java.m, line: 1995
Method `remove:' type (address@hidden:address@hidden) differs from Swarm method's type (@address@hidden:address@hidden)
*** execution continuing...

And nothing else happens afterwards.


On 8/23/07, Kavita Gangal < address@hidden> wrote:

Hello Steve,
Thanks a lot for helping out ,

There are few more problems..

>There should be a file "Stupid_Cell.Data" packaged with the
>StupidModel15 code. I think it just needs to be in your working directory.

This file (Stupid_Cell.Data) is not available in the stupidModel Zip package.
Only 6 java files were there..

Also while running my program I'm getting an error saying the following:

# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100d417c, pid=3172, tid=1488
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# C  [javaswarm.dll+0xd417c]
#
# An error report file with more information is saved as hs_err_pid3172.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

I have the method "_update_()" in my ObserverSwarm just as described in the package stupidModel15.StupidObserverSwarm.
When i started to debug, the program halted at the statement : populationGraph.step();
and produced the above error.

Can u pls explain it?


--

Thanks and Regards,
Kavita Gangal
--
TIFR



--

Thanks and Regards,
Kavita Gangal
--
TIFR
reply via email to

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