MASON-INTEREST-L Archives

April 2013

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Norman Langner <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Fri, 19 Apr 2013 18:50:30 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (78 lines)
Hello,

me again. I tried all revisions i found of the first.txt.gz file from 
the svn but still the same result. Could someone - where this demo works 
- provide me with his version of the sillypeds demo? That would be very 
nice!

Thanks in advance,
Norman

Am 17.04.2013 11:12, schrieb Norman Langner:
> Thank you for the fast help. Could someone provide me with a working
> first.txt.gz file? I downloaded the one from the google source code side
> but this seems to be corrupt (tried it multiple times).
>
> greetings,
> Norman
>
> Am 16.04.2013 19:44, schrieb Sean Luke:
>> The java.util.InputMismatchException is happening in
>> setupLandscapeSpace, and is thrown by Scanner, probably inside
>> ArcInfoACSGridImporter.  This exception is causing the result of
>> setLandscapeSpace(...) to be null, which triggers the null pointer
>> exception.
>>
>> I have no problem loading sillypeds here.  I think you may have a
>> corrupted version of first.txt.gz.
>>
>> Sean
>>
>> On Apr 16, 2013, at 11:08 AM, Norman Langner wrote:
>>
>>> Hi,
>>>
>>> I'm Norman, from Germany, new to your mailing-list and I have a
>>> problem with geomason. I try to run the sillypeds demo, but it won't
>>> work.
>>> It would be nice if you could help me.
>>>
>>> My configuration: Win7, eclipse-indigo, all needed libs in
>>> build-path, imported the source code from the zip-file provided by
>>> the geomason homepage
>>>
>>> got missing data files (first.txt.gz) from
>>> http://code.google.com/p/mason/source/browse/trunk/contrib/geomason/
>>>
>>> now to my problem: Mason starts without any problems but when I hit
>>> the run button following exception is thrown:
>>>
>>> java.util.InputMismatchException
>>> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>>>     at
>>> sim.app.geo.sillypeds.SillyPeds.scenarioSimpleRoom(SillyPeds.java:76)
>>>     at sim.app.geo.sillypeds.SillyPeds.start(SillyPeds.java:102)
>>>     at sim.display.GUIState.start(GUIState.java:289)
>>>     at
>>> sim.app.geo.sillypeds.SillyPedsWithUI.start(SillyPedsWithUI.java:98)
>>>     at sim.display.Console.startSimulation(Console.java:1432)
>>>     at sim.display.Console.pressPlay(Console.java:2271)
>>>     at sim.display.Console$1.actionPerformed(Console.java:285)
>>> (...)
>>>
>>> Debugging lead to the fact that
>>>
>>> Space floor = setupLandscapeSpace("data/first.txt.gz");
>>>
>>> in SillyPeds.java (line 67) is still null.
>>> The file is in the right directory -> any change (extracting the
>>> file, moving to src-directory) lead to other exceptions (e.g.
>>> FileNotFoundException when moving the file).
>>> The file is obviously found, so I have no clue why there is a type
>>> mismatch.
>>>
>>> Do you have any idea?
>>>
>>> Kind Regards,
>>> Norman

ATOM RSS1 RSS2