harshitgupta1337 / fogsim

A Toolkit for Modeling and Simulation of Resource Management Techniques in Internet of Things, Edge and Fog Computing Environments
http://arxiv.org/abs/1606.02007
41 stars 37 forks source link

Unresolved compilation problem error when executing VRGameFog.java example #4

Open preetsindhal opened 7 years ago

preetsindhal commented 7 years ago

after setting up the project adding all the necessary jar files I am facing following error

  at org.fog.entities.FogDevice.processActuatorJoined(FogDevice.java:349)  cannot cast from object to double
at org.fog.entities.FogDevice.processOtherEvent(FogDevice.java:277) 
at org.cloudbus.cloudsim.Datacenter.processEvent(Datacenter.java:254)
at org.cloudbus.cloudsim.core.SimEntity.run(SimEntity.java:406)
at org.cloudbus.cloudsim.core.CloudSim.runClockTick(CloudSim.java:518)
at org.cloudbus.cloudsim.core.CloudSim.run(CloudSim.java:882)
at org.cloudbus.cloudsim.core.CloudSim.startSimulation(CloudSim.java:188)
at org.fog.test.CleanFromJson.main(CleanFromJson.java:59)

i have also attached the output screenshot below ifogsim_error please help thank you

Santoshreddy709 commented 7 years ago

Hey Preetsindhal! Did you resolved your error?

r0f1 commented 7 years ago

I got a similar error executing "VRGameFog.java"

image

harshitgupta1337 commented 7 years ago

Pair type cannot be found. It is in one of the jar files provided with the project.

On May 11, 2017 8:49 PM, "Florian Rohrer" notifications@github.com wrote:

I got a similar error executing "VRGameFog.java"

[image: image] https://cloud.githubusercontent.com/assets/7324891/25957152/ecd3344c-366d-11e7-8672-926d027db997.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/harshitgupta1337/fogsim/issues/4#issuecomment-300822727, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjC4FsNrUC_WDdBJCysCDT28L6jlnVwks5r4ybrgaJpZM4Mh1aa .

r0f1 commented 7 years ago

thanks that solved it!

harshitgupta1337 commented 7 years ago

You can also check the improv branch of iFogSim. It contains a newer version with simpler logic. Thanks !

On Thu, May 11, 2017 at 9:53 PM, Florian Rohrer notifications@github.com wrote:

thanks that solved it!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/harshitgupta1337/fogsim/issues/4#issuecomment-300842359, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjC4MWMaXn0ApmPY1LUht9k8Gn1I2KAks5r4zX3gaJpZM4Mh1aa .

-- With regards,

HARSHIT GUPTA PhD Student Embedded Pervasive Laboratory Georgia Institute of Technology Atlanta, GA 30332. +1 (404) 512-9792 harshitg@gatech.edu

kbarad27 commented 4 years ago

Hey @harshitgupta1337 after adding jar files I am still getting errors in some files could you please tell me what is wrong with that? Screenshot from 2020-01-11 15-49-35