Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Question about perfsonar maddash-webUI configuration

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Question about perfsonar maddash-webUI configuration


Chronological Thread 
  • From: Jianan Wang <>
  • To: "" <>
  • Subject: [perfsonar-user] Question about perfsonar maddash-webUI configuration
  • Date: Tue, 1 Apr 2014 14:04:57 -0400

Hi everyone,

I have a question about maddash-webUI configuration. After I finished the scripts of maddash.yaml and config.json and ran the service, maddash stopped working and have the following output from the log file:

/var/log/maddash/maddash-server.netlogger.log:
level=INFO ts=2014-04-01T05:59:20.139708Z event=maddash.init.start guid=0cbb946e-4bb1-47b9-9fa1-71482afaaa73
level=ERROR ts=2014-04-01T05:59:22.725039Z event=maddash.init.end guid=0cbb946e-4bb1-47b9-9fa1-71482afaaa73 status=-1


/var/log/maddash/maddash-server.out:
Initialization error: null
java.lang.NullPointerException
at net.es.maddash.ConfigLoader.load(ConfigLoader.java:296)
at net.es.maddash.MaDDashGlobals.<init>(MaDDashGlobals.java:230)
at net.es.maddash.MaDDashGlobals.getInstance(MaDDashGlobals.java:462)
at net.es.maddash.Invoker.main(Invoker.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
ssorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at com.simontuffs.onejar.Boot.run(Boot.java:306)
at com.simontuffs.onejar.Boot.main(Boot.java:159)


It seems the problem is in the MaDDashGlobals initialization and getInstance() in the Invoker.java, but I'm not sure how to solve it.

....
try {
netlogger.info(netLog.start("maddash.init"));
MaDDashGlobals.init(configFile);
globals = MaDDashGlobals.getInstance();
netlogger.info(netLog.end("maddash.init"));

...

Any suggestion is appreciated!

Thanks.

--
Jianan Wang
Department of Electrical and Computer Engineering, Duke University
Department of Optical Engineering, ZJU Information Engineering
Qizhen Leadership School, ZJU
Tel:(1) 919-937-4582
Email:





Archive powered by MHonArc 2.6.16.

Top of Page