Have anyone use the cloudsim 3.0.2

784 views
Skip to first unread message

ZqFan

unread,
Nov 22, 2012, 9:33:24 AM11/22/12
to clou...@googlegroups.com
hi,
   have anyone use the cloudsim 3.0.2. When I run the examples in the package org.cloudbus.cloudsim.examples.power.planetlab;  an Exception occur, can anyone help me with it.
Thanks for you suggest!
 
Initialising...
java.lang.NullPointerException
The simulation has been terminated due to an unexpected error
 at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabHelper.createCloudletListPlanetLab(PlanetLabHelper.java:49)
 at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabRunner.init(PlanetLabRunner.java:71)
 at org.cloudbus.cloudsim.examples.power.RunnerAbstract.<init>(RunnerAbstract.java:95)
 at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabRunner.<init>(PlanetLabRunner.java:55)
 at org.cloudbus.cloudsim.examples.power.planetlab.Dvfs.main(Dvfs.java:43)

Anton Beloglazov

unread,
Nov 28, 2012, 1:27:26 AM11/28/12
to clou...@googlegroups.com
Hi,

I've just tried a couple of examples from that package and don't get any exception. You may have a problem with your project setup or classpath.

Best regards,
Anton

TriantafillosK

unread,
Feb 3, 2013, 9:03:31 AM2/3/13
to clou...@googlegroups.com
i have the same exactly problem when using windows xp but not when using windows7 (cloudsim 3.0.2 in each occaassion)
Initialising...
java.lang.NullPointerException
at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabHelper.createCloudletListPlanetLab(PlanetLabHelper.java:49)
at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabRunner.init(PlanetLabRunner.java:71)
at org.cloudbus.cloudsim.examples.power.RunnerAbstract.<init>(RunnerAbstract.java:95)
at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabRunner.<init>(PlanetLabRunner.java:55)
at org.cloudbus.cloudsim.examples.power.planetlab.Dvfs.main(Dvfs.java:43)
The simulation has been terminated due to an unexpected error

did you find something 
Thank you Triantafillos

Anton Beloglazov

unread,
Feb 3, 2013, 4:08:50 PM2/3/13
to clou...@googlegroups.com
Hi, try to install Flanagan's library as described in the readme file.

Best regards,
Anton

--
 
---
You received this message because you are subscribed to the Google Groups "cloudsim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

TriantafillosK

unread,
Feb 4, 2013, 2:04:01 AM2/4/13
to clou...@googlegroups.com

Hi,

Thank you for your quick answer

But I have already installed Flanagan’s in directory:          C:\Program Files\Java\jdk1.7.0_10\jre\lib\ext

I tried also to run the examples (from package org.cloudbus.cloudsim.examples.power.planetlab;) in another machine running virtual windows xp sp3 and the problem is the same.

But as I mentioned, no problem in win7 64bit …!

 

Best regards,

Triantafillos

Neda Maleki

unread,
Feb 4, 2013, 2:06:05 AM2/4/13
to clou...@googlegroups.com
Hi frnd
in windows xp u should add manually JRE to ur system. plz try it.
Cheers 
Neda

anitha vava

unread,
May 22, 2013, 3:16:53 AM5/22/13
to clou...@googlegroups.com

i have the same problem when using windows 7  (cloudsim 3.0.3) and jdk 1,6
Initialising...
java.lang.NullPointerException
at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabHelper.createCloudletListPlanetLab(PlanetLabHelper.java:49)
at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabRunner.init(PlanetLabRunner.java:71)
at org.cloudbus.cloudsim.examples.power.RunnerAbstract.<init>(RunnerAbstract.java:95)
at org.cloudbus.cloudsim.examples.power.planetlab.PlanetLabRunner.<init>(PlanetLabRunner.java:55)
at org.cloudbus.cloudsim.examples.power.planetlab.Dvfs.main(Dvfs.java:43)
The simulation has been terminated due to an unexpected error

i copied flangan in cloudsim3.0.3/jars/

pls help me

ajith nongmaithem

unread,
May 22, 2013, 5:43:21 AM5/22/13
to clou...@googlegroups.com
hi anitha, 
open mywebsite, how to fix the issue is uploaded

--
Thanks & Regards

Ajith Nongmaithem
--------------------------------------
Ph.D Research Scholar in Computer Science
Mob: +91-9092007025, 7200165897

ajith nongmaithem

unread,
May 22, 2013, 5:44:08 AM5/22/13
to clou...@googlegroups.com
and ah try to use latest java
Reply all
Reply to author
Forward
0 new messages