[jira] Created: (NUTCH-58) NullPointerException while coping NDFS file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (NUTCH-58) NullPointerException while coping NDFS file

Sergey Smolyakov (Jira)
 NullPointerException while coping NDFS file
--------------------------------------------

         Key: NUTCH-58
         URL: http://issues.apache.org/jira/browse/NUTCH-58
     Project: Nutch
        Type: Bug
 Environment: Present on Linux and Windows.
    Reporter: Piotr Kosiorowski
    Priority: Minor
 Attachments: patch

While using TestClient to copy NDFS file eg.:
    TestClient -cp /testfile abc
NullPointerException is thrown when destination file has no parent directory.

I am adding it to issue tracking so it is not lost in mailing list archives.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NUTCH-58) NullPointerException while coping NDFS file

Sergey Smolyakov (Jira)
     [ http://issues.apache.org/jira/browse/NUTCH-58?page=all ]

Piotr Kosiorowski updated NUTCH-58:
-----------------------------------

    Attachment: patch

Added check for null before using value returned from File.getParentFile().

>  NullPointerException while coping NDFS file
> --------------------------------------------
>
>          Key: NUTCH-58
>          URL: http://issues.apache.org/jira/browse/NUTCH-58
>      Project: Nutch
>         Type: Bug
>  Environment: Present on Linux and Windows.
>     Reporter: Piotr Kosiorowski
>     Priority: Minor
>  Attachments: patch
>
> While using TestClient to copy NDFS file eg.:
>     TestClient -cp /testfile abc
> NullPointerException is thrown when destination file has no parent directory.
> I am adding it to issue tracking so it is not lost in mailing list archives.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (NUTCH-58) NullPointerException while coping NDFS file

Sergey Smolyakov (Jira)
In reply to this post by Sergey Smolyakov (Jira)
     [ http://issues.apache.org/jira/browse/NUTCH-58?page=all ]
     
Andrzej Bialecki  closed NUTCH-58:
----------------------------------

    Resolution: Fixed

Applied. Thanks!

>  NullPointerException while coping NDFS file
> --------------------------------------------
>
>          Key: NUTCH-58
>          URL: http://issues.apache.org/jira/browse/NUTCH-58
>      Project: Nutch
>         Type: Bug
>  Environment: Present on Linux and Windows.
>     Reporter: Piotr Kosiorowski
>     Priority: Minor
>  Attachments: patch
>
> While using TestClient to copy NDFS file eg.:
>     TestClient -cp /testfile abc
> NullPointerException is thrown when destination file has no parent directory.
> I am adding it to issue tracking so it is not lost in mailing list archives.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Closed: (NUTCH-58) NullPointerException while coping NDFS file

Jay Pound
can anyone e-mail me a compiled version of the nutch-nightly.jar with this
fix please?
Thanks
-Jay Pound
[hidden email]