fogsim icon indicating copy to clipboard operation
fogsim copied to clipboard

Unresolved compilation problem error when executing VRGameFog.java example

Open preetsindhal opened this issue 8 years ago • 6 comments

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

preetsindhal avatar Mar 19 '17 19:03 preetsindhal

Hey Preetsindhal! Did you resolved your error?

Santoshreddy709 avatar Apr 20 '17 20:04 Santoshreddy709

I got a similar error executing "VRGameFog.java"

image

r0f1 avatar May 11 '17 15:05 r0f1

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" [email protected] 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 .

harshitgupta1337 avatar May 11 '17 16:05 harshitgupta1337

thanks that solved it!

r0f1 avatar May 11 '17 16:05 r0f1

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 [email protected] 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 [email protected]

harshitgupta1337 avatar May 11 '17 16:05 harshitgupta1337

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

kbarad27 avatar Jan 11 '20 19:01 kbarad27