Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using the spatialization operators #9

Open
roubaisk opened this issue Sep 1, 2020 · 1 comment
Open

Error when using the spatialization operators #9

roubaisk opened this issue Sep 1, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@roubaisk
Copy link

roubaisk commented Sep 1, 2020

Hi,

I am getting an error message when trying to execute any of the Genstar plugin templates that include spatialization operators: genstar-poc.gaml, Rouen_template-localisation_2.gaml, and also the templates in the test folder that use geographical entities.

This is a copy of the error message (when trying to run the Rouen_template_localisation_2.gaml):

2 occurrences in 2 agents at cycle 0: Java error: NoClassDefFoundError
in create people from: pop_gen number: 10000 ;
NoClassDefFoundError: org/apache/poi/ss/formula/eval/NotImplementedException
spll.entity.GeoEntityFactory.createGeoEntity(GeoEntityFactory.java:157)
spll.io.SPLVectorFile.(SPLVectorFile.java:115)
spll.io.SPLVectorFile.(SPLVectorFile.java:126)
spll.io.SPLGeofileBuilder.getShapeFile(SPLGeofileBuilder.java:559)
genstar.gamaplugin.operators.GenstarGenerationOperators.spatializePopulation(GenstarGenerationOperators.java:327)
genstar.gamaplugin.operators.GenstarGenerationOperators.generatePop(GenstarGenerationOperators.java:183)
genstar.gamaplugin.statements.CreateFromGenstarDelegate.createFrom(CreateFromGenstarDelegate.java:84)
in agents Simulation 0, Rouentemplate0

I am currently working with GAMA 1.8.1.

Could you please look into this issue?
Best,
Rouba

@chapuisk
Copy link
Contributor

chapuisk commented Sep 1, 2020

Dear @roubaisk ,
In fact I get the same error, and I suspected previous attempt to use Gama species to localize agent as the source of the error. It was the case, so this commit 4f22586 had isolated the bug.
The Plugin used with the Git version of Gama is ok. You'll have to wait a little bit for the updatesite to be updated.
Best,
Kevin

@chapuisk chapuisk self-assigned this Sep 3, 2020
@chapuisk chapuisk added the bug Something isn't working label Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants