fp7-netide / Tools

Contains tools to enable network application developers to systematically test, profile, and tune their Network Apps
Eclipse Public License 1.0
6 stars 3 forks source link

Core debugger do not generate results #3

Closed ralvarep closed 8 years ago

ralvarep commented 8 years ago

Hi,

I am testing core debugger with the latest Engine commit and it do not generate any results in results.txt and results.pcap. It creates empty files.

netide@netide-VirtualBox:~/NetIDE/Tools/debugger/Core$ python debugger.py 
 [*] Waiting for logs. To exit press CTRL+C
^C

netide@netide-VirtualBox:~/NetIDE/Tools/debugger/Core$ ls -alh
total 108K
drwxrwxr-x 2 netide netide 4,0K jul 30  2015 .
drwxrwxrwx 4 netide netide 4,0K feb 24 14:51 ..
-rw-rw-r-- 1 netide netide 4,2K feb 24 14:51 debugger.py
-rw-rw-r-- 1 netide netide  11K mar  9 11:01 demo1.pcap
-rw-rw-r-- 1 netide netide  26K mar  9 12:03 demo2.pcap
-rw-rw-r-- 1 netide netide  968 feb 24 14:51 netide.la
-rw-rw-r-- 1 netide netide  31K feb 24 14:51 netide.so
-rw-rw-r-- 1 netide netide  12K feb 24 14:51 packet-user_encap.c
-rw-rw-r-- 1 netide netide 1,3K feb 24 14:51 README.md
-rw-rw-r-- 1 netide netide    0 abr  8 13:55 results.pcap
-rw-rw-r-- 1 netide netide    0 abr  8 13:55 results.txt

LogPub bundle starts correctly:

netide-core>la | grep logpub
72 | Active   |  80 | 1.1.0.SNAPSHOT  | core.logpub Bundle

Thanks in advance!

sergiotamu commented 8 years ago

Hello @ralvarep ,

I have been testing and there is an error in the LogPub bundle. For that reason you cannot see the messages in the Logger and the debugger does not generate any outcome.

This is the error: Exception in thread "LogPub Receive Loop" java.lang.NullPointerException at eu.netide.core.logpub.LogPub.run(LogPub.java:87) at java.lang.Thread.run(Thread.java:745)

Maybe @KevinPhemius can help us with this issue.

ralvarep commented 8 years ago

Problem fixed in fp7-netide/Engine#91. I close this issue.