What steps will reproduce the problem?
1. Create a volume with: mksdfs --volume-name=sdfs_vol2 --volume-capacity=1GB
2. mount the volume with: mountsdfs -v sdfs_vol2 -m K
3. Copy a blank file i.e. a 0 byte file over to the volume
4. Perform sdfscli --file-info --file-path="blank.txt"
What is the expected output? What do you see instead?
I would expect to see file details, however sdfscli simply hangs
the output from the mountsdfs command prompt is as follows:
26361 [Dispatcher-0] ERROR sdfs - unable to fulfill request on file blank.txt
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.containsKey(Unknown Source)
at org.opendedup.sdfs.filestore.DedupFileStore.fileOpen(DedupFileStore.java:150)
at org.opendedup.sdfs.io.MetaDataDedupFile.toXML(MetaDataDedupFile.java:872)
at org.opendedup.sdfs.mgmt.GetAttributes.getResult(GetAttributes.java:47)
at org.opendedup.sdfs.mgmt.MgmtWebServer.handle(MgmtWebServer.java:26)
at org.simpleframework.http.core.Dispatcher.dispatch(Dispatcher.java:107)
at org.simpleframework.http.core.Dispatcher.run(Dispatcher.java:90)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.io.IOException: request to fetch attributes failed because
java.lang.NullPointerException
at org.opendedup.sdfs.mgmt.GetAttributes.getResult(GetAttributes.java:54)
at org.opendedup.sdfs.mgmt.MgmtWebServer.handle(MgmtWebServer.java:26)
at org.simpleframework.http.core.Dispatcher.dispatch(Dispatcher.java:107)
at org.simpleframework.http.core.Dispatcher.run(Dispatcher.java:90)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
What version of the product are you using? On what operating system?
Using opendedupe 0.9.7 on Windows 7
Please provide any additional information below.
Original issue reported on code.google.com by z0r...@googlemail.com on 28 Oct 2010 at 11:39
Original issue reported on code.google.com by
z0r...@googlemail.com
on 28 Oct 2010 at 11:39