Submitted by volker on Fri, 01/06/2012 - 15:56

Submitted by abb on Fri, 01/06/2012 - 20:14

Permalink

Null pointer exception is certainly a bug, thanks for reporting it. I was able to reproduce it, will try to find a solution or a workaround asap.

Is it possible your VM is our of RAM? Last week I was able to reproduce the problem on fresh VM with 512MB RAM booted from BT5R1 ISO, but I did not have time to investigate the problem then. Now I am trying to fix the problem, but can't repeat that behavior again. I can run 'uname -a' commands 5 times and after that I start getting 'out of memory' exceptions. If I add some 1G of swap to the system the problem does not appear.

Could you please tell me what are the specs of your VM (RAM size, disk) and sizes of your partitions including swap?

I am running BTr1 not in a VM. I boot from CD-ROM with a usb stick as persistent memory. The machine is a Intel latop with 2 GB RAM.

I fixed the problem by reinstalling mt 1.0 from the scratch. I erased the folder .magictree and started mt 1.0 again. Since then I had no probs like the one above anymore. But some other strange things happen, I will report later.

Hi together,

I am trying to get MT working on a BT5r1 live cd distro. When I execute any command (even a simple one like uname -a), task status switches to FAILED and I receive the following error message:

TaskMonitorFailed,'Catched exception while executing monitor helper

Any ideas how to solve this?

Distro: BT5r1 with persistent drive
MagicTree: Version 1.0, rev 1615
Java: 1.6.0_20
OpenJDK RTE: IcedTea6 1.9.7
OpenJDK VM: 19.0-b09, mixed mode

Greeting,
Volker

EDITED:
Detailled messages from command line:

root@root:/pentest/reporting/magictree# java -jar MagicTree-1.0-build1615.jar
JarClassLoader: Warning: Null manifest from input stream associated with: lib/MagicTree/XMLWriter.pm
10:41:44,966 ERROR fC:208 [] taskMonitorFailed
java.lang.Exception: Catched exception while executing monitor helper
at en.a(SourceFile:255)
at en.call(SourceFile:34)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NullPointerException
at en.a(SourceFile:224)
... 6 more
11:09:12,822 ERROR fC:208 [] taskMonitorFailed
java.lang.Exception: Catched exception while executing monitor helper
at en.a(SourceFile:255)
at en.call(SourceFile:34)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NullPointerException
at en.a(SourceFile:224)
... 6 more

Contacts

+32 (0) 2 215 53 58

Gremwell BVBA
Sint-Katherinastraat 24
1742 Ternat
Belgium
VAT: BE 0821.897.133.