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

Errors while trying to simulate using more number of camers for a fog device in a serveillance system IoT application #139

Open
sujannou opened this issue Apr 25, 2020 · 0 comments

Comments

@sujannou
Copy link

While trying to simulate one fog device(one router) using 100 cameras in a Fog-Based Cloud Network in a surveillance system IoT application, I got the following results
"
Placement of operator object_detector on device Router-0 successful.
Placement of operator object_tracker on device Router-0 successful.
Router-0 is shifting object_detector north.
Proxy-Server is shifting object_detector north.
Cloud is shifting object_tracker north.
Cloud is shifting object_detector north.
Placement of operator object_tracker on device Cloud successful.
Placement of operator user_interface on device Cloud successful.
Placement of operator object_detector on device Router-0 successful.
Router-0 is shifting object_detector north.
Cloud is shifting object_tracker north.
Proxy-Server is shifting object_detector north.
java.lang.NullPointerException
at org.fog.placement.ModulePlacementEdgewards.shiftModuleNorth(ModulePlacementEdgewards.java:303)
at org.fog.placement.ModulePlacementEdgewards.placeModulesInPath(ModulePlacementEdgewards.java:207)
at org.fog.placement.ModulePlacementEdgewards.mapModules(ModulePlacementEdgewards.java:73)
at org.fog.placement.ModulePlacementEdgewards.(ModulePlacementEdgewards.java:54)
at org.fog.Simulation.FogSurveillanceSystem.main(FogSurveillanceSystem.java:114)
"
Can anybody help me with some of my following queries based on above simulation results?

  1. What does the following means and signify?
    a. Router-0 is shifting object_detector north.
    b. Cloud is shifting object_tracker north.
    c. Cloud is shifting object_detector north.
  2. What does the following error means and how to fix them?
    "
    java.lang.NullPointerException
    at org.fog.placement.ModulePlacementEdgewards.shiftModuleNorth(ModulePlacementEdgewards.java:303)
    at org.fog.placement.ModulePlacementEdgewards.placeModulesInPath(ModulePlacementEdgewards.java:207)
    at org.fog.placement.ModulePlacementEdgewards.mapModules(ModulePlacementEdgewards.java:73)
    at org.fog.placement.ModulePlacementEdgewards.(ModulePlacementEdgewards.java:54)
    at org.fog.Simulation.FogSurveillanceSystem.main(FogSurveillanceSystem.java:114)

For router =1, no of cameras =5, I got the following normal results
" Placement of operator object_detector on device Router-0 successful.
Placement of operator object_tracker on device Router-0 successful.
Router-0 is shifting object_detector north.
Creating motion_detector on device Camera-0-4
Creating user_interface on device Cloud
Creating object_tracker on device Proxy-Server
Creating object_detector on device Proxy-Server
Creating motion_detector on device Camera-0-0
Creating motion_detector on device Camera-0-1
Creating motion_detector on device Camera-0-2
Creating motion_detector on device Camera-0-3"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant