jira-importer commented on issue #849:
URL: https://github.com/apache/maven-scm/issues/849#issuecomment-2964629245

   **[Robert 
Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)**
 commented
   
   Fixed in [rev. 1242108](http://svn.apache.org/viewvc?rev=1242108&view=rev)
   
   The cause of this error is already in the beginning of the call, but only at 
the end it is causing trouble.
   The reason: while reproducing this issue the workDirectory is a single 
filename. When the commandline is built it first calls 
`workingDirectory.getParent()` and then it uses its `getAbsolutePath()`. In 
this order the parent can't be calculated, so when calling the 
`getAbsolutePath()` you'll get your NPE. If the workingDirectory was `rx/ry` 
you would have had no problem.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to