ihanwang / loosejar

Automatically exported from code.google.com/p/loosejar
0 stars 0 forks source link

NullPoiner when trying to display results #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When my program completes I get the following error message when losejar is
trying to report jar usage:

[loosejar]: Found 3176 classes loaded in the JVM.
[loosejar]: Found 1 URLClassLoader(s).
Exception in thread "Thread-0" java.lang.NullPointerException
    at java.io.File.<init>(File.java:360)
    at
com.googlecode.loosejar.ClassLoaderAnalyzer.findAllJars(ClassLoaderAnalyzer.java
:103)
    at
com.googlecode.loosejar.ClassLoaderAnalyzer.<init>(ClassLoaderAnalyzer.java:65)
    at com.googlecode.loosejar.JVMAnalyzer.displayResults(JVMAnalyzer.java:58)
    at com.googlecode.loosejar.JVMAnalyzer.run(JVMAnalyzer.java:47)
    at java.lang.Thread.run(Thread.java:619)

I'm using the latest version of loosejar.

Original issue reported on code.google.com by linus1...@gmail.com on 17 Mar 2008 at 1:48

GoogleCodeExporter commented 9 years ago
Interesting... it looks like you submitted the issue on Mar. 17, and I only got 
it
today: Mar. 24. Weird. 

I'll fix it today.

Kyrill

Original comment by kyrill...@gmail.com on 24 Mar 2008 at 4:19

GoogleCodeExporter commented 9 years ago
I think the issue is fixed in the newly release beta 2.

Original comment by kyrill...@gmail.com on 28 Mar 2008 at 11:23